| 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/huyhoangvn.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>Tên khách hàng</th>
<th>Số Điện Thoại </th>
<th>thông tin đặt lịch </th>
<th>Thời gian đặt lịch</th>
<th>Tình trạng</th>
<th>Trạng thái</th></th>
<th style="width:30px;"></th>
</tr>
</thead>
<tbody>
<?php $i=0;?>
<?php $__currentLoopData = $datlich; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $or): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e($i+=1); ?></td>
<td><?php echo e($or -> datlich_name); ?></td>
<td><?php echo e($or -> datlich_phone); ?></td>
<td><?php echo e($or -> datlich_notes); ?></td>
<td><?php echo e($or -> created_at); ?></td>
<td><?php if($or -> datlich_status==0): ?>
<p style="color: red;">Đơn Hàng Mới
<?php elseif($or -> datlich_status==1): ?>
<p style="color: green;">Đã Xử Lý</p>
<?php elseif($or -> datlich_status==2): ?>
<p style="color: purple;"> Hủy đơn hàng </p>
<?php endif; ?>
</td>
<td colspan="6">
<?php if($or->datlich_status==0): ?>
<form>
<select class="form-control datlich_check">
<option value=""> ----Chọn tình trạng đơn hàng---- </option>
<option id="<?php echo e($or->datlich_id); ?>" selected value="0">Chưa xử lý </option>
<option id="<?php echo e($or->datlich_id); ?>"value="1">Đã xử lý </option>
<option id="<?php echo e($or->datlich_id); ?>"value="2">Hũy Đơn Hàng</option>
</select>
</form>
<?php elseif($or->datlich_status==1): ?>
<form>
<select class="form-control datlich_check">
<option value=""> ----Chọn tình trạng đơn hàng---- </option>
<option id="<?php echo e($or->datlich_id); ?>" value="0">Chưa xử lý </option>
<option id="<?php echo e($or->datlich_id); ?>" selected value="1">Đã xử lý </option>
<option id="<?php echo e($or->datlich_id); ?>" value="2">Hũy Đơn Hàng</option>
</select>
</form>
<?php else: ?>
<form>
<select class="form-control datlich_check">
<option value=""> ----Chọn tình trạng đơn hàng---- </option>
<option id="<?php echo e($or->datlich_id); ?>" value="0">Chưa xử lý </option>
<option id="<?php echo e($or->datlich_id); ?>" value="1">Đã xử lý </option>
<option id="<?php echo e($or->datlich_id); ?>"selected value="2">Hũy Đơn Hàng</option>
</select>
</form>
<?php endif; ?>
</td>
<td>
<a onclick="return confirm('bạn có chắc muốn xóa không?')" href="<?php echo e(URL::to('/delete-datlich/'.$or->datlich_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/huyhoangvn.com/resources/views/admin/datlich/view_datlich.blade.php ENDPATH**/ ?>