| Server IP : 162.214.74.102 / Your IP : 216.73.216.139 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/www/lrsys_projetos/sopizzas/application/views/superadmin/ |
Upload File : |
<table class="table no-margin table-hover">
<thead>
<tr class="label-info labelinfo1">
<!-- <td class="text-center"><input type="checkbox" class="minimal"></td> -->
<th class="text-center">Sl No</th>
<th class="text-center">Order ID
<span class="shorting-action">
<i class="fa fa-sort-asc" aria-hidden="true"></i>
<i class="fa fa-sort-desc" aria-hidden="true"></i>
</span>
</th>
<th class="text-center">Restaurant
<span class="shorting-action">
<i class="fa fa-sort-asc" aria-hidden="true"></i>
<i class="fa fa-sort-desc" aria-hidden="true"></i>
</span>
</th>
<th class="text-center">Order Time
<span class="shorting-action">
<i class="fa fa-sort-asc" aria-hidden="true"></i>
<i class="fa fa-sort-desc" aria-hidden="true"></i>
</span>
</th>
<th class="text-center">Date to deliver</th>
<th class="text-center">Order Type</th>
<th class="text-center">Amount
<span class="shorting-action">
<i class="fa fa-sort-asc" aria-hidden="true"></i>
<i class="fa fa-sort-desc" aria-hidden="true"></i>
</span>
</th>
<th class="text-center">Payment Type</th>
<th class="text-center">Commission</th>
<th class="text-center">Customer Email</th>
<th class="text-center">Status</th>
<th class="text-center" colspan="2">Action</th>
<th class="text-center">PDF</th
</thead>
<tbody>
<?php if(is_array($OrderList) && sizeof($OrderList)>0){
//$i = $this->uri->segment(3);
foreach ($OrderList as $key => $value) {
//$i++;
?>
<tr id="<?=$value['orderid'];?>_row">
<!-- <td class="paddtop13 text-center"><input type="checkbox" class="minimal"></td> -->
<?php
if (isset($perPageCount) && $perPageCount != '') {
?>
<td class="text-center paddingtop13"><?=$perPageCount+1?></td>
<?php
$perPageCount++;
}
else {
?>
<td class="text-center paddingtop13"><?=$key+1?></td>
<?php
}
?>
<td class="paddtop13 text-center"><a href="javascript:void(0);"><?=$value['ordergenerateid']?></a></td>
<td class="paddtop13 text-center"><?=$value['restaurant_name']?></td>
<td class="paddtop13 text-center"><?=date("d.m.Y", strtotime($value['orderdate']));?>/<?=date("g:i A", strtotime($value['orderdate']));?></td>
<td class="paddtop13 text-center"><?=date("M j, Y", strtotime($value['deliverydate']));?> </td>
<td class="paddtop13 text-center">
<center>
<span class="label label-success btn-circle btn-xs"><?=$value['deliverytype']?></span>
</center>
</td>
<td class="paddtop13 text-center"><i class="fa fa-usd"></i><?=$value['ordertotalprice']?></td>
<td class="paddtop13 text-center"><?=$value['payment_type']?></td>
<td class="paddtop13 text-center"><?=$value['commission']?></td>
<td class="paddtop13 text-center"><?=$value['customeremail']?></td>
<td class="paddtop13 text-center">
<select onchange="update_order_status('<?=$value['orderid']?>',this.value)" class="select2">
<option <?php if($value['status']=='Pending'){ echo "selected";} ?> value="Pending">Pending</option>
<option <?php if($value['status']=='In Preparation'){ echo "selected";} ?> value="In Preparation">In Preparation</option>
<option <?php if($value['status']=='Out for delivery'){ echo "selected";} ?> value="Out For Delivery">Out For Delivery</option>
<option <?php if($value['status']=='Delivered'){ echo "selected";} ?> value="Delivered">Delivered</option>
<option <?php if($value['status']=='Cancelled'){ echo "selected";} ?> value="Cancelled">Cancelled</option>
<option <?php if($value['status']=='Rejected'){ echo "selected";} ?> value="Rejected">Rejected</option>
<option <?php if($value['status']=='Missed'){ echo "selected";} ?> value="Missed">Missed</option>
</select>
</td>
<td class="text-center">
<span class="newsolidbtn1 btn btn-outline red btn-sm opo btn-circle"><i onclick="DeleteNow('rt_order','<?=$value['orderid']?>');" class="fa fa-trash-o" aria-hidden="true"></i></span>
</td>
<td class="text-center">
<a href="javascript:void(0);" onclick="view_order_details('<?=$value['orderid']?>',event);" class="btn btn-sm btn-default btn-circle order_view"><i class="fa fa-search"></i> View </a>
</td>
<td class="text-center paddtop13">
<i style="font-size: 20px; cursor: pointer;" onclick="do_pdf('<?=$value['orderid']?>');" class="fa fa-file-pdf-o" aria-hidden="true"></i>
</td>
</tr>
<?php } }?>
</tbody>
</table>
<div class="col-md-2 col-sm-2 col-xs-12 margintop10" style="margin-top:10px;">
</div>
<div>
<?php echo $this->ajax_pagination->create_links(); ?>
</div>
</div><!-- /.table-responsive -->
</div>
</div>
</div>
</div>
</div>
<!-- ./tab section -->
<div class="clearfix"></div>
</section><!-- /.content -->
<div class="clearfix"></div>
</div>