@extends('layouts.print') @section('content')


{!! __('Date') !!} : {{ date("Y-m-d") }}

{{ __('Report by customer') }}
@if (request('no')) {!! __('Invoice') !!} {{ request('no') }} @endif @if (request('mobile')) {!! __('Mobile') !!} {{ request('mobile') }} @endif

@foreach ($orders as $index => $order) @endforeach
{!! __('Invoice') !!} {!! __('Customer') !!} {!! __('Mobile') !!} {!! __('Region') !!} {!! __('Total') !!} {!! __('Date of request') !!}
{{ $loop->index + 1 }} {!! $order->order_number !!} {!! @$order->user->name !!} {!! @Optional($order->user)->mobile !!} {!! @Optional($order->destination)->title !!} {!! $order->delivery+$order->price !!} {!! __('EGP') !!} {{ $order->created_at->format('Y-m-d') }}
{!! number_format($orders->sum('price')+$orders->sum('delivery')) !!} {!! __('EGP') !!}

{!! __('Date') !!} : {{ date("Y-m-d") }}


@endsection @section('script') @endsection