shell bypass 403
<x-admin.header />
<x-admin.sidebar />
<div class="main-content">
<div class="graph-card card-table" id="ProductList">
<div class="card-head">
<div class="text-content">
<h5>New Orders</h5>
</div>
<div class="card-drp">
<div class="btn-content btn-group" role="group" aria-label="Basic example">
<!-- @if(Auth::user()->type == 'admin')
<a href="{{ url('/add_product') }}"><button type="button" class="btn active">Add New</button></a>
@endif -->
</div>
</div>
</div>
<div class="card-body">
<div class="table-responsive table-scroll">
<table class="table-management">
<thead>
<tr>
<th>#</th>
<th>Order Date</th>
<th>Tracking Number</th>
<th>Total Price</th>
<th>Status</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
@foreach($orders as $key => $order)
<tr>
<td>{{$key+1}}</td>
<td>
{{ date('d-m-Y', strtotime($order->created_at)) }}
</td>
<td>{{ $order->tracking_no }}</td>
<td>{{ $order->total_price }}</td>
@if($order->status == 0)
<td>New</td>
@endif
<td>
<a href="{{ url('order_detail').$order->id }}" ><button class="refresh-btn edit-btnn" data-tooltip="Edit">
<i class="fa-regular fa-pencil"></i>
</button></a>
<!-- <button class="delete-btn btn_del" value="{{$order->id}}" data-tooltip="Delete">
<i class="fa-regular fa-xmark"></i>
</button> -->
<button></button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
<div class="pagination">
</div>
</div>
</div>
</div>
<!-- Delete Work Start Here -->
<!-- <script>
$(document).ready(function(){
$('body').on('click', '.btn_del', function(e){
e.preventDefault();
var id = $(this).val();
$.ajax({
url: "{{ url('') }}",
method: "GET",
data: {'id':id},
cache: false,
success:function()
{
toastr.success("Product Deleted Successfully","Deleted",{timeOut:1500});
$("#ProductList").load(location.href+" #ProductList>*","");
},
error:function()
{
toastr.error("SomeThing Went Wrong","Error",{timeOut:1500});
false;
},
});
});
});
</script> -->
<!-- Delete Work End Here -->
<x-admin.footer />