| Line 52... |
Line 52... |
| 52 |
<div class="col-xs-12 ordercontrols">
|
52 |
<div class="col-xs-12 ordercontrols">
|
| 53 |
<?php if(!empty($suborder['detailedStatus'])):?>
|
53 |
<?php if(!empty($suborder['detailedStatus'])):?>
|
| 54 |
<span class="label label-info <?php if(strlen($suborder['detailedStatus'])>50):?>hasmoretext<?php endif;?>" data-fulltext="<?php echo $suborder['detailedStatus'];?>"><?php echo $this->Text->truncate($suborder['detailedStatus'],50);?></span>
|
54 |
<span class="label label-info <?php if(strlen($suborder['detailedStatus'])>50):?>hasmoretext<?php endif;?>" data-fulltext="<?php echo $suborder['detailedStatus'];?>"><?php echo $this->Text->truncate($suborder['detailedStatus'],50);?></span>
|
| 55 |
<?php endif;?>
|
55 |
<?php endif;?>
|
| 56 |
</div>
|
56 |
</div>
|
| 57 |
<div class="col-xs-12 ordercontrols">
|
57 |
<div class="col-xs-12 ordercontrols">
|
| 58 |
<?php //if($suborder['detailedStatus']!='Cancelled' && $suborder['detailedStatus']!='Delivered' && !empty($suborder['trackingUrl'])):?>
|
58 |
<?php if($suborder['storeId']==1 && $suborder['status']=='Order Placed' && isset($suborder['trackAfter']) && $suborder['trackAfter'] < time()):?>
|
| - |
|
59 |
<?php if($suborder['cashBackStatus']!='Not Applicable'):?>
|
| - |
|
60 |
<a href="<?php echo $suborder['orderSuccessUrl'];?>"><button class="btn btn-xs btn-warning" type="button">To claim cashback, pls click here to update your order status</button></a>
|
| - |
|
61 |
<?php else:?>
|
| 59 |
<!-- <a href="<?php echo $suborder['trackingUrl'];?>"><button class="btn btn-xs trackingurl" type="button">Track My Order</button></a> -->
|
62 |
<a href="<?php echo $suborder['orderSuccessUrl'];?>"><button class="btn btn-xs trackingurl" type="button">Please click here to update your order status</button></a>
|
| - |
|
63 |
<?php endif;?>
|
| 60 |
<?php if($suborder['status']!='Cancelled' && $suborder['status']!='Delivered' && !empty($suborder['trackingUrl'])):?>
|
64 |
<?php elseif($suborder['status']!='Cancelled' && $suborder['status']!='Delivered' && !empty($suborder['trackingUrl'])):?>
|
| 61 |
<a href="<?php echo $suborder['trackingUrl'];?>"><button class="btn btn-xs trackingurl" type="button">Track My Order</button></a>
|
65 |
<a href="<?php echo $suborder['trackingUrl'];?>"><button class="btn btn-xs trackingurl" type="button">Track My Order</button></a>
|
| 62 |
<?php elseif($suborder['storeId']==4 &&!empty($suborder['orderDetailUrl'])):?>
|
66 |
<?php elseif($suborder['storeId']==4 &&!empty($suborder['orderDetailUrl'])):?>
|
| 63 |
<a href="<?php echo $suborder['orderDetailUrl'];?>"><button class="btn btn-xs trackingurl" type="button">Order Details</button></a>
|
67 |
<a href="<?php echo $suborder['orderDetailUrl'];?>"><button class="btn btn-xs trackingurl" type="button">Order Details</button></a>
|
| 64 |
<?php //elseif($suborder['detailedStatus']!='Cancelled' && !empty($suborder['orderSuccessUrl'])):?>
|
- |
|
| 65 |
<!-- <a href="<?php echo $suborder['orderSuccessUrl'];?>"><button class="btn btn-xs trackingurl" type="button">Order Details</button></a> -->
|
- |
|
| 66 |
<?php elseif($suborder['status']!='Cancelled' && !empty($suborder['orderSuccessUrl'])):?>
|
68 |
<?php elseif($suborder['status']!='Cancelled' && !empty($suborder['orderSuccessUrl'])):?>
|
| 67 |
<a href="<?php echo $suborder['orderSuccessUrl'];?>"><button class="btn btn-xs trackingurl" type="button">Order Details</button></a>
|
69 |
<a href="<?php echo $suborder['orderSuccessUrl'];?>"><button class="btn btn-xs trackingurl" type="button">Order Details</button></a>
|
| 68 |
<?php endif;?>
|
70 |
<?php endif;?>
|
| 69 |
</div>
|
71 |
</div>
|
| 70 |
</div>
|
72 |
</div>
|