@extends('Common::index') @section('title', __('invoice')) @section('page')

{{ __('invoice') }}

{{__('invoice')}}
{{__('order number')}}
{{ $order->id }}
{{__('date of order')}}
{{ date('Y/m/d', strtotime($order->created_at)) }}
{{__('created at')}} {{ date('h:i a', strtotime($order->created_at)) }}
{{__('date')}} {{$order->delivery_date}}
{{__('time')}} {{$order->delivery_time}}
@lang('delegate') {{ $order->delegate_name ?? '#' }}
{{__('payment method')}} {{ $order->payment_method ? __($order->payment_method) : __('plan') }}
{{__('address of client')}}
  • {{__('name')}} : {{ @$order->location['special_marque'] ?? '' }}
  • {{__('address')}} : {{ @$order->location['address'] ?? '' }}
  • @foreach ($order->orderProducts as $item) @endforeach @foreach ($order->orderServices as $item) @endforeach @if ($order->discount) @endif @if ($order->wallet_paid > 0) @endif
    {{__('name')}} {{__('price')}}
    {{ $item->title }} {{ $item->price }} @lang('ريال')
    {{ $item->title }} {{ $item->price }} @lang('ريال')
    {{__('which was deducted')}} {{ $order->discount ?? 0 }} ريال
    {{__('tax')}} {{ $order->tax }} @lang('SAR')
    {{__('wallet payment')}} {{ $order->wallet_paid ?? 0 }} ريال
    {{__('total')}} {{ $order->sum_total }} @lang('SAR')
    @stop