@extends('layouts.print') @section('css') @endsection @section('content')
logo icon
مؤسسة الريف الأخضر للحوم الطازجه
{{ __('Order Details') }} #{{ $order->number }}
{{ __('Created At') }} :
{{ $order->created_at->format('Y-m-d') }}
{{ __('State') }} :
{{ __($order->status) }}
{{ __('Payment Status') }} :
{{ __($order->payment_status) }}
{{ __('Payment Method') }} :
@if ($order->payment_method) {{ $order->payment_method->name_ar }} @endif
{{ __('Coupon Code') }} :
@if ($order->coupon_redeem_id !== null) {{ $order->couponRedeem->coupon->name }} @endif
@if (isset($order->driver))
{{ __('Driver') }} :
{{ $order->driver->name }}
@endif @if ($order->currentStatus() == 'cancelled')
{{ __('Cancellation Notes') }} :
{{ $order->reason }}
@endif
{{ __('Note') }} :
{{ $order->notes }}

{{ __('Contact Info') }}
{{ __('Recipient') }} :
{{ $order->other_person_name ? $order->other_person_name : $order->user->name }}
{{ __('Recipient Phone') }} :
{{ $order->other_person_phone ? $order->other_person_phone : $order->user->phone }}
{{ __('Delivery Date') }} :
{{ __($order->date?->format('l') ?? '') }} {{ $order->date?->format('Y-m-d') ?? 'غير محدد' }}
{{ __('Delivery Time') }} :
{{ $order->delivery_time }}
{{ __('City') }} :
{{ $order->city }}
{{ __('District') }} :
{{ $order->district }}
{{ __('Street') }} :
{{ $order->street }}

{{ __('Products') }}
@foreach ($order->products as $orderItem) @endforeach

{{ __('Contact Info') }}
{{ __('Created At') }} :
{{ $order->created_at->format('Y-m-d') }}
{{ __('Recipient') }} :
{{ $order->other_person_name ? $order->other_person_name : $order->user->name }}
{{ __('Recipient Phone') }} :
{{ $order->other_person_phone ? $order->other_person_phone : $order->user->phone }}
{{ __('City') }} :
{{ $order->city }}
{{ __('District') }} :
{{ $order->district }}
{{ __('Street') }} :
{{ $order->street }}
{{ __('Delivery Date') }} :
{{ __($order->date?->format('l') ?? '') }} {{ $order->date?->format('Y-m-d') ?? 'غير محدد' }}
{{ __('Delivery Time') }} :
{{ $order->delivery_time }}
{{-- --}} {{-- --}} {{-- --}} {{-- --}}
{{ __('Total') }}
{{ __('Subtotal') }} {{ number_format($order->sub_total, 2) }}
{{ __('Tax') }} {{ number_format($order->tax, 2) }}
{{ __('Discount Amount') }} {{ number_format($order->coupon_code_amount + $discounted_amount_total, 2) }} -
{{ __('Delivery Fee') }}{{ number_format($order->delivery_fee ?? '0', 2) }} + --}} {{--
{{ __('Total') }} {{ number_format($order->total, 2) }}
{{ __('Total') }}
{{ __('Subtotal') }} {{ number_format($order->sub_total, 2) }}
{{ __('Tax') }} {{ number_format($order->tax, 2) }}
{{ __('Discount Amount') }} {{ number_format($order->coupon_code_amount + $discounted_amount_total, 2) }} -
{{ __('Total') }} {{ number_format($order->total, 2) }}
@endsection @section('script') @endsection @push('scripts') @endpush