Rev 13703 | Rev 13714 | 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 //debug($orders);?><?php foreach ($orders as $key => $order):?><?php if(!empty($order['subOrders'])):?><?php foreach ($order['subOrders'] as $key => $suborder):?><div class="row suborder"><div class="col-xs-4 pull-left orderimage"><?php if(!empty($suborder['imageUrl'])):?><img src="<?php echo $base_url;?>app/webroot/timthumb.php?src=<?php echo $suborder['imageUrl'];?>&h=80" alt="<?php echo $suborder['productTitle'];?>"/><?php else:?><img src="<?php echo $base_url;?>app/webroot/timthumb.php?src=<?php echo $base_url;?>img/noimage.png&h=80" alt="<?php echo $suborder['productTitle'];?>"/><?php endif;?></div><div class="col-xs-8 orderdetails"><h4><?php echo $suborder['productTitle'];?></h4><?php if(!empty($suborder['estimatedDeliveryDate'])):?><p>Will be delivered by <span class="deliverydate"><?php echo $suborder['estimatedDeliveryDate'];?></span></p><?php endif;?><div class="row"><div class="col-xs-6"><?php if(!empty($suborder['status'])):?><button class="btn btn-sm orderstatus" type="button"><?php echo $suborder['status'];?></button><?php endif;?></div><div class="col-xs-6"><?php if(!empty($suborder['tracingkUrl'])):?><button class="btn btn-sm trackingurl" type="button"><a href="<?php echo $suborder['tracingkUrl'];?>">Track My Order</a></button><?php endif;?></div></div></div></div><?php endforeach;?><?php endif;?><?php endforeach;?><?php endif;?></div></div>