Vendor name {{$order->owner->market_name?$order->owner->market_name:$order->owner->first_name}}
Vendor mobile
order number {{$order->id}}
date {{$order->created_at}}
payment type {{$order->payment?$order->payment->title_en:''}}
Delivery time {{$order->delivery_time}}
Vendor address
Country Kuwait
Governarate {{$order->owner ? ($order->owner->address->city?$order->owner->address->city->title_en:''):''}}
Area {{$order->owner->address ? ($order->owner->address->region?$order->owner->address->region->title_en:''):''}}
Block {{$order->owner->address?$order->owner->address->block:''}}
Street {{$order->owner->address?$order->owner->address->street:''}}
Jadda {{$order->owner->address?$order->owner->address->avenue:''}}
Building {{$order->owner->address?$order->owner->address->building:''}}
Floor no {{$order->owner->address?$order->owner->address->floor:''}}
Flat No {{$order->owner->address?$order->owner->address->flat:''}}
Mobile No {{$order->owner->address?$order->owner->address->mobile:''}}
Client name {{$order->user->first_name}}
Client mobile
order number {{$order->id}}
date {{$order->created_at}}
payment type {{$order->payment?$order->payment->title_en:''}}
Delivery time {{$order->delivery_time}}
Client address
Country Kuwait
Governarate {{$order->address?$order->address->city->title_en:''}}
Area {{$order->address?$order->address->region->title_en:''}}
Block {{$order->address?$order->address->block:''}}
Street {{$order->address?$order->address->street:''}}
Jadda {{$order->address?$order->address->avenue:''}}
Building {{$order->address?$order->address->building:''}}
Floor no {{$order->address?$order->address->floor:''}}
Flat No {{$order->address?$order->address->flat:''}}
Mobile No {{$order->address?$order->address->mobile:''}}

{{-- welcome--}} {{-- your recipe from--}} New order from FUWALTTY app

@php($i=0) @php($cost=0) @foreach($order->pieces as $kk=>$item) @php($i +=$item->number) @php($cost +=($item->price*$item->number)) @endforeach @if($order->promo) @endif
product number price notes total
{{$item->clothe->title_en}} @if($item->option)|| {{$item->option->price}} @endif @if($item->additions) @php( $additions = explode(',',$item['additions'])) @foreach($additions as $addition) @php($addition=\App\Models\Adds::find($addition)) @if($addition) @endif @endforeach
# addition price
{{$loop->iteration}} {{$addition->title}} {{$addition->price}}
@endif
{{$item->number}} {{$item->price}} {{$item->note}} @if($item->option) {{number_format(($item->option->price + $item->addition_price )* $item->number,3)}} @else {{number_format(($item->price + $item->addition_price) * $item->number,3)}} @endif
products count {{$i}}
sub total {{number_format($cost,3)}}
delivery {{$order->delivery_cost}}
promocode ({{$order->promo->code}}) -{{$order->discount}}
total {{$order->total_cost}}
notes {{$order->notes}}