@extends('dashboard.layouts.master') @section('css') @endsection @section('breadcrumb')

{{ trans('labels.book_orders') }}

طلب ملف excel
@endsection @section('content')
@if ($data->count() > 0) {{----}} @foreach ($data as $key => $order) @foreach($items as $key => $item) @if($key == 0) {{----}} @else @endif @endforeach @endforeach
# التاريخ {{ trans('labels.name') }} المحافظة {{ trans('labels.phone') }} {{ trans('labels.address') }} {{ trans('labels.book') }} {{ trans('labels.quantity') }} {{ trans('labels.total_amount') }} {{ trans('labels.status') }} {{ trans('labels.action_by') }}
{{ $order->id }} {{ $order->updated_at }} {{ $order->name ?? null }} {{ $order->gov }} || {{$order->city}} {{ $order->phone }} {{ $order->address}} {{ $item->book->title ?? null }} {{ $item->qty }} {{ $order->total_amount }} {!! $order->status() !!} {{ $order->createdBy->name ?? null }} @if ($order->requiredActionsArray())
@endif
{{ $item->book->title ?? null }} {{ $item->qty }}
@else @endif @if (request()->type == 'mine_pending') طلب عدد جديد @endif
{!!$data->withQueryString()->links('pagination::bootstrap-4')!!}