Edit File: table.blade.php
<div class="position-relative"> {{-- table loader --}} <div class="table_loader"> {{ __('admin.loading') }} </div> {{-- table loader --}} {{-- table content --}} <table class="table " id="tab"> <thead> <tr> <th> <label class="container-checkbox"> <input type="checkbox" value="value1" name="name1" id="checkedAll"> <span class="checkmark"></span> </label> </th> <th>{{ __('admin.order_num') }}</th> <th>{{ __('admin.store_name') }}</th> <th>{{ __('admin.user_name') }}</th> <th>{{ __('admin.status') }}</th> <th>{{ __('admin.delivery_date') }}</th> <th>{{ __('admin.time') }}</th> <th>{{ __('admin.control') }}</th> </tr> </thead> <tbody> @foreach ($rows as $row) <tr class="delete_city"> <td class="text-center"> <label class="container-checkbox"> <input type="checkbox" class="checkSingle" id="{{ $row->id }}"> <span class="checkmark"></span> </label> </td> <td>{{ $row->order_num }}</td> <td>{{ $row->provider?->store_name }}</td> <td>{{ $row->user?->name }}</td> <td>{{ $row->status['text'] }}</td> <td> {{ $row->order_type == App\Enums\OrderWhenEnum::IMMEDIATELY->value ? \Carbon\Carbon::parse($row->created_at)->format('Y-m-d') : $row->schedule_execution_date }} </td> <td> {{ $row->order_type == App\Enums\OrderWhenEnum::IMMEDIATELY->value ? \Carbon\Carbon::parse($row->created_at)->format('h:i A') : \Carbon\Carbon::parse($row->schedule_execution_time)->format('h:i A') }} </td> <td class="product-action"> <span class="text-primary"><a href="{{ route('admin.assign_delegate_orders.details', ['id' => $row->id]) }}"><i class="feather icon-eye"></i></a></span> </td> </tr> @endforeach </tbody> </table> {{-- table content --}} {{-- no data found div --}} @if ($rows->count() == 0) <div class="d-flex flex-column w-100 align-center mt-4"> <img src="{{ asset('/storage/images/no_data.png') }}" width="200px" style="" alt=""> <span class="mt-2" style="font-family: cairo ;margin-right: 35px">{{ __('admin.there_are_no_matches_matching') }}</span> </div> @endif {{-- no data found div --}} </div> {{-- pagination links div --}} @if ($rows->count() > 0 && $rows instanceof \Illuminate\Pagination\AbstractPaginator) <div class="d-flex justify-content-center mt-3"> {{ $rows->links() }} </div> @endif {{-- pagination links div --}}
Back to File Manager