{{ __('admin.order_num') }}
{{ $order->order_num??'' }}
@if($order->provider)
{{ __('admin.provider_name') }}
{{ $order->provider?->name??'' }}
@endif
{{ __('admin.category') }}
{{ $order->category?->name??'' }}
@if($order->subCategory)
{{ __('admin.sub_category') }}
{{ $order->subCategory->name??'' }}
@endif
{{ __('admin.pay_type') }}
{{ $order->PayTypeText??'' }}
{{ __('admin.order_status') }}
{{ $order->StatusText??'' }}
{{ __('admin.order_pay_status') }}
{{ $order->PayStatusText }}
{{-- Display date and time for hall, chalet, rest orders --}}
@if(in_array($order->category_type, ['hall', 'chalet', 'rest', 'hotel']))
@if($order->from_date)
{{ __('admin.from_date') }}
{{ \Carbon\Carbon::parse($order->from_date)->format('d/m/Y') }}
@endif
@if($order->to_date)
{{ __('admin.to_date') }}
{{ \Carbon\Carbon::parse($order->to_date)->format('d/m/Y') }}
@endif
@if($order->time)
{{ __('admin.time') }}
{{ $order->time }}
@endif
@if($order->people_num)
{{ __('admin.people_num') }}
{{ $order->people_num }}
@endif
@endif
{{ __('admin.vat_value') }}
{{ $order->vat_amount . ' ' . __('admin.SAR') }}
{{ __('admin.admin_commission') }}
{{ $order->admin_commission . ' ' . __('admin.SAR') }}
{{-- //coupon --}}
@if ($order->coupon_num !== null)
{{ __('admin.coupon_num') }}
{{ $order->coupon_num }}
@endif
@if ($order->coupon_type !== null)
{{ __('admin.coupon_type') }}
{{ $order->coupon_type }}
@endif
@if ($order->coupon_value !== null)
{{ __('admin.coupon_value') }}
{{ $order->coupon_value }}
@endif
{{ __('admin.total_products_price') }}
{{ $order->total_products . ' ' . __('admin.SAR') }}
{{ __('admin.final_total_price') }}
{{ $order->final_total . ' ' . __('admin.SAR') }}
{{-- Deposit Information --}}
@if($order->deposit_amount > 0)
{{ __('admin.deposit_amount') }}
{{ number_format($order->deposit_amount, 2) . ' ' . __('admin.SAR') }}
@if($order->deposit_percentage > 0)
{{ __('admin.deposit_percentage') }}
{{ number_format($order->deposit_percentage, 2) . ' %' }}
@endif
{{ __('admin.deposit_paid') }}
@if($order->deposit_paid)
{{ __('admin.yes') }}
@else
{{ __('admin.no') }}
@endif
@if($order->remaining_amount > 0)
{{ __('admin.remaining_amount') }}
{{ number_format($order->remaining_amount, 2) . ' ' . __('admin.SAR') }}
@endif
@endif
@if($order->notes)
@endif
{{-- //canceled --}}
@if ($order->status == 3 && $order->cancel_reason_id !== null)
{{ __('admin.cancel_reason') }}
@endif
{{-- //refused --}}
@if ($order->status == 2 && $order->refuse_reason_id !== null)
{{ __('admin.refuse_reason') }}
@endif