{{ __('Logo') }}

@if (isset($status) && $status == 'editByAdmin')

{{ __('This Order Updated By Admin') }}

@endif @if (isset($status) && $status != 'editByAdmin')

{{ __('Dears,') }}

{{ __('Shop order number')." ".$order->Order_Number.__(' was canceled')." ".$status." ".__('on')." ".$currentDateTime }}

{{ __('The order details was as the below:') }}

@endif @php $bill = json_decode($order->billing_address, true); @endphp

{{ __('Order Number:') }} {{ $order->Order_Number }}
{{ __('Name:') }} {{ $bill['name'] }}
{{ __('Email:') }} {{ $bill['email'] }}
{{ __('Date:') }} @php $userTimezone = 'Asia/Amman'; echo $order->created_at->setTimezone($userTimezone); @endphp
{{ __('Payment Method: ') }} {{ $order->Payment_Method }}
{{ __('TXN: ') }} {{ $order->txn }}

{{ __('Billing Address:') }}
{{ $bill['name'] }}
{{ $bill['email'] }}
{{ $bill['street'] }}
{{ $bill['state'] }}
{{ $bill['country'] . __(',') }} {{ $bill['zipcode'] }}

@php $ship = json_decode($order->shipping_address, true); @endphp

{{ __('Shipping Address:') }}
{{ $ship['name'] }}
{{ $ship['email'] }}
{{ $ship['street'] }}
{{ $ship['state'] }}
{{ $ship['country'] . __(',') }} {{ $ship['zipcode'] }}

{{ __('Products') }}
@foreach ($order->order_details as $od) @endforeach {{-- --}} @if (!is_null($order->Coupon_Amount) && $order->Coupon_Amount != 0.0) @endif @if (!is_null($order->user_discount) && $order->user_discount != 0.0) {{-- --}} @endif
{{ __('Name') }} {{ __('Image') . __('Accept: JPG,PNG,SVG') }} {{ __('Quantity') }} {{ __('Size') }} {{ __('Color') }} {{ __('Price') }} {{ __('Total') }}
{{ $od->product->en_Product_Name }} {{ $od->Quantity }} {{ is_null($od->Size) ? __('N/A') : $od->Size }} {{ is_null($od->Color) ? __('N/A') : $od->Color }} {{ $od->Price }} {{ $od->Total_Price }}
{{ __('Subtotal') }} {{ $order->Sub_Total }}
{{ __('Shipping Charge') }} {{ $order->Delivery_Charge }}
{{ __('Tax') }} {{ $order->Tax }}
{{ __('Discount (-)') }} {{ $order->Coupon_Amount }}%
{{ __('User Discount (-)') }} {{ $order->user_discount }}%
{{ __('Grand Total') }} {{ number_format((float) $order->Grand_Total, 2, '.', '') }}