@extends('web.layouts.layout') @section('content')
@include('web.pages.components.header.header')

{{__('web.invoice_summary')}}

{{__('web.invoice_summary_desc')}}!

{{__('web.order_info')}}

{{__('web.order_id')}} : {{$order->id}}

{{__('web.order_date')}} : {{$order->date}}

{{__('web.order_status')}} : {{__('web.order_statuses.'.$order->status)}}

{{__('web.client_info')}}

{{__('web.name')}}:{{$order->user->name ?? ''}}

{{__('web.phone')}}: {{$order->user->phone ?? ''}}

{{__('web.email')}}: {{$order->user->email ?? ''}}

{{__('web.contact_info')}}

{{__('web.address')}}:{{$order->address->address}}

@foreach($order->products as $row) @endforeach
{{__('web.product')}} {{__('web.count')}} {{__('web.cost')}} {{__('web.total')}}
{!! $row->product->currentDescription->title ?? '' !!}
{{$row->product->category->currentDescription->title ?? ''}}
{{$row->count}} {{$row->product_cost}} {{__('web.sar')}} {{$row->total}} {{__('web.sar')}}
{{ __('web.total_product') }}: {{$order->total_products}} {{__('web.sar') }}
@if($order->discount)
{{__('web.discount')}} ({{__('web.coupon')}} {{$order->coupon->code ?? ''}}): -{{$order->discount}} {{__('web.sar') }}
@endif
{{__('web.total_tax')}}: {{$order->total_tax}} {{__('web.sar') }}
{{__('web.shipping_cost')}}: {{$order->shipping_cost}} {{__('web.sar') }}
@if($order->on_hand_cost > 0)
{{__('web.on_hand_cost')}}: {{$order->on_hand_cost}} {{__('web.sar') }}
@endif {{--
{{__('web.total_products')}}: {{$order->total_products + $order->total_tax}} {{__('web.sar') }}
--}}
{{__('web.full_total')}}: {{$order->total}} {{__('web.sar') }}
@section('inject_js') @endsection @endsection