@component('mail::layout') {{-- Header --}} @slot('header') @component('mail::header', ['url' => config('app.url')]) @endcomponent @endslot

{{ __('email.generic.order') }} #{{$order->order_number}}

@foreach($order->items as $item) @endforeach
{{ __('email.generic.product') }} {{ __('email.generic.quantity') }} {{ __('email.generic.price') }}
{{ $item->item_name }} {{ $item->pivot->quantity }} {{ priceView($item->pivot->price, true)}}

{{ __("email.generic.tax") }}: {{ config('shop.shop_tax_rate') }}%

@if($order->payment_method === 'cash-on-delivery')

{{ __("email.generic.shipping") }} : + {{ priceView(config('shop.shop_shipping_cost'))}}

@endif @if($order->discount)

Coupon : - {{ priceView($order->discount)}}

@endif

{{ __("email.generic.total") }} :{{ priceView($order->grand_total) }}


@if($order->payment_method === 'cash-on-delivery')

{{ __("email.confirmed_order.cash_on_delivery") }}

@endif

{{ __("email.confirmed_order.message") }}

{{ config('shop.company_name') }}

{{-- Footer --}} @slot('footer') @component('mail::footer') © {{ date('Y') }} {{ config('shop.company_name') }} @endcomponent @endslot @endcomponent