{{__('back.financialReports')}} {{__('back.exportReport')}} |
|||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{__('back.Client')}} | {{__('back.orderNumber')}} | {{__('back.numberOfCarcasses')}} | {{__('back.price')}} | {{__('back.delivery')}} | {{__('back.discount')}} | {{__('back.tax')}} | {{__('back.userPointsBalance')}} | {{__('back.userWalletBalance')}} | {{__('back.collection')}} | {{__('back.totalAfterTax')}} | المتجر | {{__('back.carcassType')}} | {{__('back.driver')}} | {{__('back.methodOfPayment')}} | {{__('back.emirate')}} | {{__('back.orderStatus')}} | {{__('back.invoiceDate')}} | {{__('back.receivedDate')}} | {{__('back.notes')}} |
@if($row->user_id ==1) {{$row->person_name}} @else {{@$row->user->fullname}} @endif | {{$row->id}} |
@foreach($row->details as $detail)
{{$detail->quantity}}
@if(!$loop->last)
@endif @endforeach |
@foreach($row->details as $detail)
{{$detail->price}}
@if(!$loop->last)
@endif @endforeach |
{{$row->delivery}} | {{$row->discount??0}}% | {{$row->tax}} | @php $points = ($row->discounts->where('type','points')->first()); $wallet = ($row->discounts->where('type','wallet')->first()); @endphp{{$points?$points->amount:'-'}} | {{$wallet?$wallet->amount:'-'}} | {{number_format($row->collect,2)}} | {{number_format($row->total,2)}} | {{@$row->shop->name}} |
@foreach($row->details as $detail)
{{$detail->product->name}}
@if(!$loop->last)
@endif @endforeach |
{{@$row->driver->driver->name}} | {{$row->paymentMethod(false)}} | @if($row->emirate) {{@$row->emirate->name}} @endif | {{$row->activeStatus}} | {{$row->created_at->format('Y-m-d')}} | {{$row->date}} | {{$row->commercial_notes}} |