Subversion Repositories SmartDukaan

Rev

Rev 15217 | Rev 17187 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15217 Rev 15227
Line 59... Line 59...
59
			<div class="col-xs-12 ordercontrols">
59
			<div class="col-xs-12 ordercontrols">
60
				<?php if(!empty($suborder['detailedStatus'])):?>
60
				<?php if(!empty($suborder['detailedStatus'])):?>
61
				<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>
61
				<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>
62
				<?php endif;?>
62
				<?php endif;?>
63
			</div>
63
			</div>
-
 
64
			<div class="col-xs-12 ordercontrols">			
-
 
65
			<?php if($suborder['storeId']==1 && $suborder['status']=='Order Placed' && isset($suborder['trackAfter']) && $suborder['trackAfter'] < time()):?>
-
 
66
				<?php if($suborder['cashBackStatus']!='Not Applicable'):?>
-
 
67
					<a href="#"><button class="btn btn-xs btn-warning" style="text-align:left;" type="button">To claim cashback click here <br/>to update your order status</button></a>
-
 
68
				<?php else:?>
-
 
69
					<a href="#"><button class="btn btn-xs btn-warning text-left" style="text-align:left;" type="button">Please click here <br>to update your order status</button></a>
-
 
70
				<?php endif;?>
-
 
71
			<?php elseif($suborder['status']!='Cancelled' && $suborder['status']!='Delivered' && !empty($suborder['trackingUrl']) && $suborder['storeId']!=3):?>
-
 
72
				<a href="#"><button class="btn btn-xs trackingurl" type="button">Track My Order</button></a>
-
 
73
			<?php elseif($suborder['storeId']==4 &&!empty($suborder['orderDetailUrl'])):?>
-
 
74
				<a href="#"><button class="btn btn-xs trackingurl" type="button">Order Details</button></a>			
-
 
75
			<?php elseif($suborder['status']!='Cancelled' && !empty($suborder['orderSuccessUrl'])):?>
-
 
76
				<a href="#"><button class="btn btn-xs trackingurl" type="button">Order Details</button></a>
-
 
77
			<?php endif;?>
-
 
78
			</div>
64
		</div>
79
		</div>
65
	</div>
80
	</div>
66
</div>
81
</div>
67
82