{{-- table content --}} @foreach ($orders as $order) {{-- --}} @endforeach
{{ __('admin.date') }} {{ __('admin.amount') }} {{ __('admin.type') }}
{{ \Carbon\Carbon::parse($order->created_at)->format('d/m/Y') }} {{ $order->type == 'private' ? ($order->final_total) : $order->final_total }} {{ __('site.currency') }} {{ __('order.order_types.' . $order->type) }}
{{-- table content --}} {{-- no data found div --}} @if ($orders->count() == 0)
{{ __('admin.there_are_no_matches_matching') }}
@endif {{-- no data found div --}}
{{-- pagination links div --}} @if ($orders->count() > 0 && $orders instanceof \Illuminate\Pagination\AbstractPaginator)
{{ $orders->links() }}
@endif {{-- pagination links div --}}