ID |
{{ $order->id }} |
المستخدم |
@if ($order->user)
user_id }}'>{{ $order->user->fullname }}
@endif
@if ($order->user->is_vip == 1)
VIP
@endif
@if ($order->user_id != 1 && $order->user && $order->user->rating != '')
{{ $order->user->rating }})
@endif
|
@if ($order->userAddress && $order->userAddress->is_gift == 1)
{{ __('back.recipient') }} |
{{ $order->userAddress->receiver_name }} |
@endif
{{ __('back.amountWithoutTax') }} |
{{ $order->subtotal }} |
{{ __('back.tax') }} |
{{ $order->tax }} |
{{ __('back.totalPrice') }} |
@if ($order->total_without_discount > $order->total)
{{ $order->total_without_discount }}
@endif
{{ $order->total . ' ' . env('currency') }}
|
@if ($order->collect != $order->total)
{{ __('back.collection') }}
|
{{ number_format($order->collect, 2) }}
{{ env('currency') }} {{ env('currency') }}
|
@endif
@if ($points)
{{ __('back.userPointsBalance') }}
|
{{ number_format($points->amount, 2) }}
{{ env('currency') }}
|
@endif
@if ($wallet)
{{ __('back.userWalletBalance') }}
|
{{ number_format($wallet->amount, 2) }}
{{ env('currency') }}
|
@endif
@if ($order->return > 0)
مرتجع |
{{ $order->return . ' ' . env('currency') }}
|
@endif
@if ($order->used_balance > 0)
{{ __('back.walletUser') }} |
{{ $order->used_balance }}
|
@endif
@if ($order->discount > 0)
{{ __('back.discountBy') }} |
{{ $order->discount_type }}
@if ($order->promocode != '' && $order->discount_by)
{{ $order->promocode }}
@endif
@if ($order->discount_by > 0)
{{ $order->discount_admin->name }}
@endif
|
@endif
{{ __('back.customerMobile') }} |
@if ($order->user)
{{ @$order->user->mobile() }}
@endif
|
{{ __('back.extraNumber') }} |
{{ $order->mobile2 }}
@if ($order->user && $order->user_id > 2)
@php
$mobiles = explode(',', $order->user->mobile);
$mobiles[] = $order->mobile2;
$mobiles = array_filter(array_unique($mobiles));
@endphp
{{ implode(' - ', $mobiles) }}
@endif
|
@if ($order->address_id > 0 && $order->address == '' && $order->userAddress)