| 19462 |
naman |
1 |
<?php $storelist = array(''=> '' , 1=> 'Amazon',2=>'Flipkart' ,3 => 'Snapdeal', 4=>'Sahoic',5=>'Shopclues',6=>'Paytm',7=>'Homeshop18');?>
|
|
|
2 |
<div class="container">
|
|
|
3 |
<div class = "row">
|
|
|
4 |
<div class="col-lg-12 table-responsive">
|
|
|
5 |
<h2><?php echo __('Refund Pending For Approval'); ?></h2>
|
|
|
6 |
|
|
|
7 |
<table cellpadding="0" cellspacing="0" border="1" class="table table-striped" >
|
|
|
8 |
<tr>
|
|
|
9 |
<th style="text-align:center">User Id</th>
|
|
|
10 |
<th style="text-align:center">Email</th>
|
|
|
11 |
<th style="text-align:center">Mobile No.</th>
|
|
|
12 |
<th style="text-align:center">Amount</th>
|
|
|
13 |
<th style="text-align:center">Type</th>
|
|
|
14 |
<th style="text-align:center">Reference No.</th>
|
|
|
15 |
<th style="text-align:center">Reference Description</th>
|
|
|
16 |
|
|
|
17 |
<th style="text-align:center">Store</th>
|
|
|
18 |
<th style="text-align:center">Created</th>
|
|
|
19 |
<th></th>
|
|
|
20 |
</tr>
|
|
|
21 |
|
|
|
22 |
<?php foreach($pending as $pkey => $pvalue):?>
|
|
|
23 |
<?php debug($pvalue['_id']['$oid']);?>
|
|
|
24 |
<tr>
|
|
|
25 |
<td style="text-align:center"><?php echo $pvalue['user_id'];?></td>
|
|
|
26 |
<td style="text-align:center"><?php echo $pvalue['email_id'];?></td>
|
|
|
27 |
<td style="text-align:center"><?php echo $pvalue['mobile'];?></td>
|
|
|
28 |
<td style="text-align:center"><?php echo $pvalue['amount'];?></td>
|
|
|
29 |
<td style="text-align:center"><?php echo $pvalue['type'];?></td>
|
|
|
30 |
<td style="text-align:center"><?php echo $pvalue['reference_no'];?></td>
|
|
|
31 |
<td style="text-align:center"><?php echo $pvalue['reference_desc'];?></td>
|
|
|
32 |
|
|
|
33 |
<td style="text-align:center"><?php echo $storelist[$pvalue['store']];?></td>
|
|
|
34 |
<td style="text-align:center"><?php echo date('d/m/y' ,$pvalue['created_timestamp']/1000);?></td>
|
|
|
35 |
<td style="text-align:center">
|
| 19467 |
naman |
36 |
<a href="/admin/reports/pendingapproval/Approved/<?php echo $pvalue['_id']['$oid']."/".$pvalue['user_id']."/".$pvalue['amount']."/".$pvalue['type'];?>"><button type="button" class="btn btn-success btn-xs">Approved</button></a>
|
|
|
37 |
<a href="/admin/reports/pendingapproval/Cancelled/<?php echo $pvalue['_id']['$oid']."/".$pvalue['user_id']."/".$pvalue['amount']."/".$pvalue['type'];?>"><button type="button" class="btn btn-danger btn-xs">Cancel</button></a>
|
| 19462 |
naman |
38 |
</td>
|
|
|
39 |
</tr>
|
|
|
40 |
|
|
|
41 |
<?php endforeach;?>
|
|
|
42 |
|
|
|
43 |
</table>
|
|
|
44 |
</div>
|
|
|
45 |
</div>
|
|
|
46 |
<ul class="pager">
|
|
|
47 |
<?php if($page>1):?>
|
|
|
48 |
<li><a href="?page=<?php echo $page-1;?>">Previous</a></li>
|
|
|
49 |
<?php endif;?>
|
|
|
50 |
|
|
|
51 |
<li><a href="?page=<?php echo $page+1;?>">Next</a></li>
|
|
|
52 |
|
|
|
53 |
</ul>
|
|
|
54 |
</div>
|