@extends('Layouts.invoiceLayout') @section('title') {{__('Print Invoice Receipt')}} @endsection @section('css') @if( $dir === "rtl") @else @endif @endsection @section('content')

{{__('Electronic Bill Of Sale')}}

{{__('Tracking Code')}} :
{{$data['orders']->tracking_code}}
{{__('Date')}}: {{timestampDateDayOrder($data['orders']->date,true)['date']}}
{{__('Buyer')}} : {{ $data['orders']->Address->receiver}}
@php $i=1; @endphp @php $shipping_cost=0; @endphp @foreach($data['orders']->Dispatch as $Dispatch) @php $shipping_cost=$Dispatch->shipping_cost+$shipping_cost;@endphp @foreach($Dispatch->Cart as $Cart) @php $i++; @endphp @endforeach @endforeach
{{__('Index')}} {{__('Title')}} {{__('Count')}} {{__('Price')}} {{__('Sum')}}
{{ $i}} {{$Cart->Product->title}} ({{$Cart->Product->guarantee}}) {{$Cart->number}} {{fnumber_format($Cart->price_off) }} {{$prefix}} {{fnumber_format($Cart->price_off* $Cart->number) }} {{$prefix}}
{{__('Sum Total')}} : {{fnumber_format($data['orders']->Payment->price+$data['orders']->tax)}} {{$prefix}}
{{__('Shipping Cost')}} : {{fnumber_format($shipping_cost)}} {{$prefix}}
{{__('Total Invoice Discount')}}: @if($data['orders']->Payment->price != $data['orders']->Payment->price_off) {{fnumber_format($data['orders']->Payment->price_off+$data['orders']->tax)}} {{$prefix}} @else {{fnumber_format($data['orders']->Payment->price+$data['orders']->tax)}} {{$prefix}} @endif

{{__('Address')}}: {{$data['orders']->Address->City->province}}-{{$data['orders']->Address->City->name}} {{ $data['orders']->Address->address}}- {{__('Zip Code')}} : {{ $data['orders']->Address->postal_code}}

{{__('Phone')}} : {{ $data['orders']->Address->phone}}

{{__('Mobile')}} : {{ $data['orders']->Address->cel}}


{{__('Thanks For Your Shopping')}} {{(isset($settings['site_title_'.$lang]))?$settings['site_title_'.$lang]:''}}

@endsection @section('script') @endsection