shell bypass 403
<table class="table table-striped table-bordered py-3 zero-configuration w-100">
<thead>
<tr class="fw-500">
<th>#</th>
<th><?php echo e(trans('labels.order_number')); ?></th>
<th><?php echo e(trans('labels.total')); ?> <?php echo e(trans('labels.amount')); ?></th>
<th><?php echo e(trans('labels.payment_type')); ?></th>
<th><?php echo e(trans('labels.order_type')); ?></th>
<th><?php echo e(trans('labels.status')); ?></th>
<th><?php echo e(trans('labels.created_date')); ?></th>
<th><?php echo e(trans('labels.updated_date')); ?></th>
<th><?php echo e(trans('labels.action')); ?></th>
</tr>
</thead>
<tbody>
<?php $i = 1; ?>
<?php $__currentLoopData = $getorders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $orderdata): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr id="dataid<?php echo e($orderdata->id); ?>" class="fs-7">
<td><?php echo $i++; ?></td>
<td>
<div class="d-flex justify-content-between">
<a href="<?php echo e(URL::to('admin/orders/invoice/' . $orderdata->order_number)); ?>" class="td_a">
<?php echo e($orderdata->order_number); ?> </a>
<?php if($orderdata->vendor_note != ''): ?>
<a href="javascript:void(0)" class="btn btn-primary btn-sm"
tooltip="<?php echo e($orderdata->vendor_note); ?>">
<i class="fa-solid fa-clipboard"></i>
</a>
<?php endif; ?>
</div>
</td>
<td>
<?php echo e($orderdata->grand_total == 'NaN' || $orderdata->grand_total == '' ? '-' : helper::currency_format($orderdata->grand_total)); ?>
</td>
<td>
<?php if($orderdata->transaction_type == 0): ?>
<?php echo e(trans('labels.online')); ?>
<?php else: ?>
<?php echo e(@helper::getpayment($orderdata->transaction_type)); ?>
<?php endif; ?>
<br>
<?php if($orderdata->payment_status == 1): ?>
<small class="text-danger"><i class="far fa-clock"></i>
<?php echo e(trans('labels.unpaid')); ?></small>
<?php else: ?>
<small class="text-success"><i class="far fa-clock"></i>
<?php echo e(trans('labels.paid')); ?></small>
<?php endif; ?>
</td>
<td>
<?php if($orderdata->order_type == 1): ?>
<?php echo e(trans('labels.delivery')); ?>
<?php elseif($orderdata->order_type == 2): ?>
<?php echo e(trans('labels.pickup')); ?>
<?php elseif($orderdata->order_type == 3): ?>
<?php echo e(trans('labels.table')); ?>
(<?php echo e($orderdata->dinein_tablename != '' ? $orderdata->dinein_tablename : '-'); ?>)
<?php elseif($orderdata->order_type == 4): ?>
<?php echo e(trans('labels.pos')); ?>
<?php elseif($orderdata->order_type == 5): ?>
<?php echo e(trans('labels.digital')); ?>
<?php endif; ?>
</td>
<td>
<?php if($orderdata->status_type == '1'): ?>
<span
class="badge bg-warning"><?php echo e(@helper::gettype($orderdata->status, $orderdata->status_type, $orderdata->order_type, Auth::user()->id)->name == null ? '-' : @helper::gettype($orderdata->status, $orderdata->status_type, $orderdata->order_type, Auth::user()->id)->name); ?></span>
<?php elseif($orderdata->status_type == '2'): ?>
<span
class="badge bg-info"><?php echo e(@helper::gettype($orderdata->status, $orderdata->status_type, $orderdata->order_type, Auth::user()->id)->name == null ? '-' : @helper::gettype($orderdata->status, $orderdata->status_type, $orderdata->order_type, Auth::user()->id)->name); ?></span>
<?php elseif($orderdata->status_type == '3'): ?>
<span
class="badge bg-success"><?php echo e(@helper::gettype($orderdata->status, $orderdata->status_type, $orderdata->order_type, Auth::user()->id)->name == null ? '-' : @helper::gettype($orderdata->status, $orderdata->status_type, $orderdata->order_type, Auth::user()->id)->name); ?></span>
<?php elseif($orderdata->status_type == '4'): ?>
<span
class="badge bg-danger"><?php echo e(@helper::gettype($orderdata->status, $orderdata->status_type, $orderdata->order_type, Auth::user()->id)->name == null ? '-' : @helper::gettype($orderdata->status, $orderdata->status_type, $orderdata->order_type, Auth::user()->id)->name); ?></span>
<?php else: ?>
--
<?php endif; ?>
</td>
<td><?php echo e(helper::date_format($orderdata->created_at)); ?><br>
<?php echo e(helper::date_time_format($orderdata->created_at)); ?>
</td>
<td><?php echo e(helper::date_format($orderdata->updated_at)); ?><br>
<?php echo e(helper::date_time_format($orderdata->updated_at)); ?>
</td>
<td>
<div class="d-flex flex-wrap gap-1">
<a class="btn btn-sm btn-secondary square" tooltip="<?php echo e(trans('labels.view')); ?>"
href="<?php echo e(URL::to('admin/invoice/' . $orderdata->id)); ?>"><i class="fa fa-eye"></i></a>
<a class="btn btn-sm btn-dark square" tooltip="<?php echo e(trans('labels.print')); ?>"
href="<?php echo e(URL::to('admin/print/' . $orderdata->id)); ?>"><i
class="fa-regular fa-print"></i></a>
<a href="<?php echo e(URL::to('/admin/orders/generatepdf/' . $orderdata->order_number)); ?>"
tooltip="<?php echo e(trans('labels.pdf')); ?>" class="btn btn-info square"><i
class="fa-solid fa-file-pdf"></i></a>
<?php if(
($orderdata->transaction_type == 1 || $orderdata->transaction_type == 16) &&
$orderdata->payment_status == 1 &&
$orderdata->status_type == 3 &&
$orderdata->status_type != 4): ?>
<a class="btn btn-sm btn-warning square"
onclick="payment('<?php echo e($orderdata->order_number); ?>','<?php echo e($orderdata->grand_total); ?>','<?php echo e($orderdata->transaction_type); ?>','<?php echo e(helper::image_path($orderdata->screenshot)); ?>')"
tooltip="<?php echo e(trans('labels.payment')); ?>"><i class="fa-solid fa-file-invoice-dollar"></i>
</a>
<?php endif; ?>
</div>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
<?php /**PATH /www/wwwroot/koreanshop.lk/resources/views/admin/orders/orderstable.blade.php ENDPATH**/ ?>