Rev 13993 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<div class="container"><div class="row"><?php if(!empty($orders)):?><?php foreach ($orders as $key => $order):?><?php if(!empty($order['subOrders'])):?><?php $counter = 0;?><?php foreach ($order['subOrders'] as $key => $suborder):?><?php if($suborder['cashBackStatus']=='Not Applicable'){continue;}else{$counter++;};?><div class="row card"><div class="col-xs-4 pull-left"><span class="cashbackrupee"></span><span class="cashback"><?php echo $suborder['cashBackAmount'];?></span></div><div class="col-xs-8"><p>Order No : <b><?php echo $suborder['merchantSubOrderId'];?></b></p><div class="row"><div class="col-xs-6 ordercontrols pull-right"><a href="/tickets/add/<?php echo $suborder['merchantSubOrderId'];?>"><button class="pull-right btn btn-sm orderstatus" type="button">Raise Ticket</button></a></div></div></div></div><?php endforeach;?><?php endif;?><?php endforeach;?><?php else:?><h3>You haven't placed any orders till now</h3><?php endif;?><?php if($counter==0):?><h3>No pending cashbacks</h3><?php endif;?></div></div>