Subversion Repositories SmartDukaan

Rev

Rev 21018 | Rev 21020 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
21010 amit.gupta 1
<script type="text/javascript">
2
$(function(){
3
	$('a.mk_activate').on('click', function(){
21011 amit.gupta 4
		this.style.pointerEvents = 'none';
21018 amit.gupta 5
		window.location="/admin/retailers/activate/" + $(this).data("retailerid") + "/" + clickedUserId;
21011 amit.gupta 6
		this.style.pointerEvents = 'auto';
7
		return false;
21010 amit.gupta 8
	}
9
});
10
</script>
19747 naman 11
<div class="container">
12
	<div class = "row">
13
		<div class="col-lg-12 table-responsive">
14
			<h2><?php echo __('Pending Retailers'); ?></h2>
15
 
16
				<table cellpadding="0" cellspacing="0" border="1" class="table table-striped" >
17
					<tr>
18
 
19
						<th style="text-align:center">Mobile No.</th>
20
						<th style="text-align:center">Tin</th>
21
						<th style="text-align:center">Address</th>
22
						<th style="text-align:center">City</th>
23
						<th style="text-align:center">State</th>
19769 naman 24
						<th style="text-align:center">Comment</th>
21010 amit.gupta 25
						<th style="text-align:center">User ID</th>
19747 naman 26
						<th></th>
27
					</tr>
28
 
29
					<?php foreach($pending as $pkey => $pvalue):?>
30
					<tr>
31
						<td style="text-align:center"><?php echo $pvalue['Retailer']['contact1'];?></td>
32
						<td style="text-align:center"><?php echo $pvalue['Retailer']['tinnumber'];?></td>
33
						<td style="text-align:center"><?php echo $pvalue['Retailer']['address'];?></td>
34
						<td style="text-align:center"><?php echo $pvalue['Retailer']['city'];?></td>
35
						<td style="text-align:center"><?php echo $pvalue['Retailer']['state'];?></td>
19769 naman 36
						<td style="text-align:center"><?php echo $pvalue['Retailer']['comments'];?></td>
21010 amit.gupta 37
						<td><input type="number"></td>
19747 naman 38
 
39
						<td style="text-align:center">
21010 amit.gupta 40
							<a href="/admin/retailers/retailerverify/<?php echo $pvalue['Retailer']['id']."/".$pvalue['Retailer']['tinnumber'];?>"><button type="button" class="btn btn-success btn-xs">Get Store Info</button></a>
21019 amit.gupta 41
							<a class="mk_activate" data-retailerid="<?php echo $pvalue['Retailer']['id'];?>" href="javascript:void(0)"><button type="button" class="btn btn-success btn-xs">Activate</button></a>
19747 naman 42
						</td>
43
					</tr>
44
 
45
					<?php endforeach;?>
46
 
47
				</table>
48
		</div>
49
	</div>
50
 
51
</div>