| Server IP : 103.161.17.216 / Your IP : 216.73.216.1 Web Server : nginx/1.18.0 System : Linux tipsysaigoncharming 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 7.4.3-4ubuntu2.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/dr.dinhphuongdong.com/storage/framework/views/ |
Upload File : |
<?php $__env->startSection('admin_content'); ?>
<div class="table-agile-info">
<div class="panel panel-default">
<div class="panel-heading">
Liệt kê đơn hàng
</div>
<div class="row w3-res-tb">
</div>
</div>
<div class="table-responsive">
<?php
$message = Session::get('message');if ($message) {
echo '<span class="text-alert">',$message,'</span>';
Session::put('message',null);
// code...
}
?>
<table class="table table-striped b-t b-light">
<thead>
<tr>
<th>STT </th>
<th>Mã Đơn Hàng </th>
<th>Thời gian đặt</th>
<th>Trạng Thái Đơn Hàng</th>
<th style="width:30px;"></th>
</tr>
</thead>
<tbody>
<?php $i=0;?>
<?php $__currentLoopData = $order; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $ord): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e($i+=1); ?></td>
<td><?php echo e($ord -> order_code); ?></td>
<td><?php echo e($ord -> created_at); ?></td>
<td><?php if($ord -> order_status==1): ?>
<p style="color: red;">Đơn Hàng Mới
<?php elseif($ord -> order_status==2): ?>
<p style="color: green;">Đã Xử Lý</p>
<?php elseif($ord -> order_status==3): ?>
<p style="color: purple;"> Hủy đơn hàng </p>
<?php endif; ?>
</td>
<td>
<a href="<?php echo e(URL::to('/view-order/'.$ord->order_code)); ?>" class="active styling edit" ui-toggle-class=""><i class="fa fa-eye"></i></a>
<a onclick="return confirm('bạn có chắc muốn xóa không?')" href="<?php echo e(URL::to('/delete-order/'.$ord->order_id)); ?>" class="active" ui-toggle-class=""> <i class="fa fa-times text-danger text"></i></a>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
</div>
</div>
</section>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/dr.dinhphuongdong.com/resources/views/admin/order/manage_order.blade.php ENDPATH**/ ?>