{{ env('APP_NAME') }}


@if ($order->userAddress && $order->userAddress->is_gift == 1) @endif @if ($order->collect != $order->total) @endif @if ($points) @endif @if ($wallet) @endif @if ($order->return > 0) @endif @if ($order->used_balance > 0) @endif @if ($order->discount > 0) @endif @if ($order->address_id > 0 && $order->address == '' && $order->userAddress)
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
{{ __('back.recipient') }} {{ $order->userAddress->receiver_name }}
{{ __('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') }}
{{ __('back.collection') }} {{ number_format($order->collect, 2) }} {{ env('currency') }} {{ env('currency') }}
{{ __('back.userPointsBalance') }} {{ number_format($points->amount, 2) }} {{ env('currency') }}
{{ __('back.userWalletBalance') }} {{ number_format($wallet->amount, 2) }} {{ env('currency') }}
مرتجع {{ $order->return . ' ' . env('currency') }}
{{ __('back.walletUser') }} {{ $order->used_balance }}
{{ __('back.discountBy') }} {{ $order->discount_type }} @if ($order->promocode != '' && $order->discount_by) {{ $order->promocode }} @endif @if ($order->discount_by > 0) {{ $order->discount_admin->name }} @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