@component('mail::message') @php $order = $data['order']; @endphp السيد / ة : {!! @$order->user->name !!}
تم تأكيد طلبك بنجاح وسيصلك فى أقرب وقت
@php $j = 1; @endphp @foreach ($order->cart_items as $key =>$item) @endforeach
{!! __('Customer name') !!} {!! @$order->user->name !!}
{!! __('Phone') !!} {!! @$order->address->phone !!}
{!! __('Status') !!} {!! @$order->status !!}
{!! __('Destination') !!} {!! @$order->destination->title !!}
{!! __('Date') !!} {{ $order->created_at->format('Y/m/d - h:i') }} {{ __($order->created_at->format('a')) }}
{!! __('Total payment') !!} {{ @$order->price + @$order->delivery - @$order->discount}} {{ __('EGP') }}
#
{!! __('Item') !!}
{!! __('Quantity') !!}
{!! __('Price') !!}
{!! __('Total') !!}
{!! $j++ !!} {!! $item->name !!} {!! $item->qty !!} {!! $item->price !!} {{ __('EGP') }} {!! ($item->price)*$item->qty !!} {!! __('EGP') !!}

{{ __('Order Total') }}:

{!! __('Delivery') !!}:

@if (@$order->discount)

{!! __('Discount coupon') !!}:

@endif

{{ @$order->price - 0}} {{ __('EGP') }}

{{ @$order->delivery - 0}} {{ __('EGP') }}

@if (@$order->discount)

{{ @$order->discount - 0}} {{ __('EGP') }}

@endif

{!! __('Total payment') !!}:

{{ @$order->price + @$order->delivery}} {{ __('EGP') }}

Thanks,
{{ config('app.name') }} @endcomponent