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 text-center" id="tab"> <thead> <tr> <th>#</th> <th>{{ __('admin.order_num') }}</th> <th>{{ __('admin.created_at') }}</th> <th>{{ __('admin.final_total') }}</th> <th>{{ __('admin.admin_commission') }}</th> <th>{{ __('admin.provider_profit') }}</th> <th>{{ __('admin.delegate_profit') }}</th> <th>{{ __('admin.show') }}</th> </tr> </thead> <tbody> @foreach ($orders as $order) <tr class="delete_row"> <td class="text-center">{{ $loop->iteration }}</td> <td>{{ $order->order_num }}</td> <td> {{ $order->created_at->format('Y-m-d') }} </td> <td> {{ $order->final_total . ' ' . __('site.currency') }} </td> <td> {{ $order->admin_commission_value . ' ' . __('site.currency') }} </td> <td> {{ $order->provider_due_amount . ' ' . __('site.currency') }} </td> <td> {{ $order->delegate_due_amount . ' ' . __('site.currency') }} </td> <td class="product-action"> <span class="text-primary"> <a href="{{ route('admin.orders.show', ['id' => $order->id]) }}"> <i class="feather icon-eye"></i> </a> </span> </td> </tr> @endforeach </tbody> </table> {{-- table content --}} {{-- no data found div --}} @if ($orders->count() == 0) <div class="d-flex flex-column w-100 align-center mt-4"> <img src="{{ asset('admin/app-assets/images/pages/404.png') }}" alt=""> <span class="mt-2" style="font-family: cairo">{{ __('admin.there_are_no_matches_matching') }}</span> </div> @endif {{-- no data found div --}} </div> {{-- pagination links div --}} @if ($orders->count() > 0 && $orders instanceof \Illuminate\Pagination\AbstractPaginator) <div class="d-flex justify-content-center mt-3"> {{ $orders->links() }} </div> @endif {{-- pagination links div --}}
Back to File Manager