@if($order->canceled_by == 'client')
@lang('Order is Canceled By Client') |
@elseif($order->canceled_by == 'admin')
@lang('Order is Canceled By Admin') |
@endif
@lang('Address') |
{{__('name')}} : {{ @$order->location['special_marque'] ?? '' }}
{{__('address')}} : {{ @$order->location['address'] ?? '' }}
|
@lang('Notes') |
{{ $order->notes ?? '' }} |
@lang('Payment method') |
{{ __($order->payment_method ?? __('plan')) }} |
@if ($order->discount)
{{__('Discount')}} |
{{ $order->discount ?? 0 }} ريال |
@endif
@lang('tax') |
{{ $order->tax ?? '' }} ريال |
@if ($order->wallet_paid > 0)
{{__('wallet payment')}} |
{{ $order->wallet_paid ?? 0 }} ريال |
@endif
{{__('total')}} |
{{ $order->sum_total }} @lang('SAR') |
@include('Common::components.map')
@if(count($order->archives) > 0)
@lang('Action') |
{{__('user')}} |
@lang('Time') |
@lang('Create order') |
{{ $order->user->name ?? 'Admin' }} |
{{ $order->created_at }} |
@foreach ($order->archives as $row)
{{ __($row->action) }}
|
{{ $row->user->name }} |
{{ $row->created_at }} |
@endforeach
@endif
@if($order->orderProducts->count() > 0)
{{__('name')}} |
{{__('price')}} |
{{__('type')}} |
@foreach ($order->orderProducts as $row)
{{ $row->title ?? '' }} |
{{ (int) @$row->price }} ريال |
{{ __($row->type) }} |
@endforeach
@endif
@if($order->orderServices->count() > 0)
{{__('name')}} |
{{__('price')}} |
{{__('type')}} |
@foreach ($order->orderServices as $row)
{{ $row->title ?? '' }} |
{{ $row->price }} ريال |
{{ __($row->type) }} |
@endforeach
@endif
{{__('name')}} |
{{__('price')}} |
@foreach ($order->orderProducts as $item)
{{ $item->title }} |
{{ $item->price }} @lang('ريال') |
@endforeach
@foreach ($order->orderServices as $item)
{{ $item->title }}
|
{{ $item->price }} @lang('ريال') |
@endforeach
@if ($order->discount)
{{__('which was deducted')}} |
{{ $order->discount ?? 0 }} ريال |
@endif
{{__('tax')}} |
{{ $order->tax }} @lang('SAR') |
@if ($order->wallet_paid > 0)
{{__('wallet payment')}} |
{{ $order->wallet_paid ?? 0 }} ريال |
@endif
{{__('total')}} |
{{ $order->sum_total }} @lang('SAR') |
{{--
|
--}}
{{-- --}}
@if(count($order->refused) > 0)
{{__('name')}} |
{{__('notes')}} |
@foreach ($order->refused as $refused)
{{ $refused->name }} |
{{ $refused->pivot->notes }} |
@endforeach
@endif
@if($order->status != \App\Enum\OrderStatus::CANCELLED)
@endif
@stop