@if ($order->status == App\Helpers\ConstantHelper::CANCELLED)
@else
@if ($order->balance_amount > 0)
@endif
@endif
{{ $locale == App\Helpers\ConstantHelper::ARABIC ? (isset($order->branch->name_ar) ? $order->branch->name_ar : '') : (isset($order->branch->name_en) ? $order->branch->name_en : '') }}
{{ isset($order->branchOwner->mobile_number) ? (isset($order->branchOwner->mobileCode->dial_code) ? $order->branchOwner->mobileCode->dial_code . ' ' : '') . $order->branchOwner->mobile_number : '' }}
{{ __('label.date') }}: {{ date('d-m-Y', strtotime($order->date)) }} |
{{ App\Helpers\GeneralHelper::timeFormat($order->start_time) }}-{{ App\Helpers\GeneralHelper::timeFormat($order->end_time) }}
{{ isset($order->branch->address) ? $order->branch->address : '' }}
{{ __('static.staff_details') }}
{{ __('static.mobile_number') }}:
{{ isset($order->staffUser->mobileCode->dial_code) ? $order->staffUser->mobileCode->dial_code : '' }}
{{ isset($order->staffUser->mobile_number) ? $order->staffUser->mobile_number : '' }}
{{ __('static.name') }}:
{{ isset($order->staffUser->name) ? $order->staffUser->name : '' }}
@forelse ($order->orderItems as $orderItem)
@empty
@endforelse
@if ($order->status != App\Helpers\ConstantHelper::CANCELLED)
-
{{ __('label.applied_distance_charges') }}
{{ __('static.egp') }}
{{ $order->applied_distance_charge ? $order->applied_distance_charge : 0 }}
-
{{ __('static.applied_coupon') }}
{{ isset($appliedCoupon->coupon_code) ? $appliedCoupon->coupon_code : '' }}
-
{{ __('static.applied_redeem_points') }}
{{ __('static.egp') }}
{{ $order->redeem_points ? $order->redeem_points : 0 }}
-
{{ __('static.paid_amount_from_wallet') }}
{{ __('static.egp') }} {{ $order->wallet ? $order->wallet : 0 }}
-
{{ __('static.paid_tip_amount') }}
{{ __('static.egp') }}
{{ $order->tip_amount ? $order->tip_amount : 0 }}
-
{{ __('label.amount_paid') }}
{{ __('static.egp') }}
{{ $order->total_paid ? $order->total_paid : 0 }}
-
{{ __('label.balance_amount') }}
{{ __('static.egp') }}
{{ $order->balance_amount ? $order->balance_amount : 0 }}
-
{{ __('label.total_amount') }}
{{ __('static.egp') }}
{{ $order->payable_amount ? $order->payable_amount : 0 }}
@endif
@if ($order->status == App\Helpers\ConstantHelper::CANCELLED)
-
{{ __('label.amount_paid') }}
{{ __('static.egp') }}
{{ $order->total_paid ? $order->total_paid + $order->wallet : 0 }}
-
{{ __('label.refund_amount') }}
{{ __('static.egp') }}
{{ $order->refund_amount ? $order->refund_amount : 0 }}
-
{{ __('label.cancellation_charges') }}
{{ __('static.egp') }}
{{ $order->business_user_value + $order->admin_value }}
-
{{ $order->status ? __('static.' . $order->status) : '' }}
@endif
@if ($order->description)
{{ __('static.booking_remarks') }}
{{ $order->description }}
@endif