New Order #{{ $order['id'] }}
|
You've recived the following order from {{ env('APP_NAME') }}
|
Order #{{ $order['id'] }}
( {{ $order['created_at'] }} )
|
Product |
Quantity |
Price |
Size |
Color |
@foreach ($order->OrderProducts as $orderProduct)
{{ $orderProduct->Product['title_en'] }} |
{{ $orderProduct['quantity'] }} |
{{ ( $orderProduct['total'] * Country()->currancy_value ) .' '. Country()->currancy_code }} |
{{ $orderProduct->Size?->title_en }} |
{{ $orderProduct->Color?->title_en }} |
@endforeach
Sub Total : |
{{ number_format( $order['sub_total'] * Country()->currancy_value, Country()->decimals, ',', ' ') .' '. Country()->currancy_code}} |
@if($order['discount'] > 0)
Discount : |
{{ number_format( $order['discount'] * Country()->currancy_value, Country()->decimals, ',', ' ') .' '. Country()->currancy_code}} |
@endif
@if($order['coupon'] > 0)
Coupon : |
{{ number_format( $order['coupon'] * Country()->currancy_value, Country()->decimals, ',', ' ') .' '. Country()->currancy_code}} |
@endif
VAT : |
{{ number_format( $order['vat'] * Country()->currancy_value, Country()->decimals, ',', ' ') .' '. Country()->currancy_code}} |
@if($order['payment_vat'] > 0)
Payment Vat : |
{{ number_format( $order['payment_vat'] * Country()->currancy_value, Country()->decimals, ',', ' ') .' '. Country()->currancy_code}} |
@endif
@if($order['wallet'] > 0)
Wallet : |
{{ number_format( $order['wallet'] * Country()->currancy_value, Country()->decimals, ',', ' ') .' '. Country()->currancy_code}} |
@endif
@if($order['charge_cost'] > 0)
Shipping : |
{{ number_format( $order['charge_cost'] * Country()->currancy_value, Country()->decimals, ',', ' ') .' '. Country()->currancy_code}} |
@endif
Payment Method : |
{{ $order->PaymentMethod['title_en'] }} |
Total : |
{{ number_format( $order['net_total'], Country()->decimals, ',', ' ') .' '. Country()->currancy_code }} |
|
@if ( $order->address)
Billing Address
|
Name: {{ $order->client['name'] }}
Phone: {{ $order->client['phone'] }}
Email: {{ $order->client['email'] }}
@if ($order->address->country_id == 1)
Region: {{ $order->address->region_text }}
Block: {{ $order->address['block'] }}
Road: {{ $order->address['road'] }}
@else
City: {{ $order->address->region_text }}
District: {{ $order->address['block'] }}
Street: {{ $order->address['road'] }}
@endif
Building: {{ $order->address['building_no'] }}
Floor: {{ $order->address['floor_no'] }}
Apartment: {{ $order->address['apartment'] }}
Phone Number: {{ $order->client['phone'] }}
Email: {{ $order->client['email'] }}
Additional Directions: {!! $order->address->additional_directions !!}
|
@endif
@if ($order['coupon'] > 0)
Congratulations On The Sale
|
@endif
|