{{ __('Payment')}}

@{{ totalPriceFormat }}

@{{ received-totalPrice>0?(received-totalPrice).toFixed(2):0 }}

@{{ totalPrice-received>0?(totalPrice-received).toFixed(2):0 }}

{{ __('Categories')}}
@if(!$restorant->categories->isEmpty()) @foreach ( $restorant->categories as $key => $category) @if(!$category->items->isEmpty()) {{ $category->name }} @endif @endforeach @endif
{{ __('Switch table')}}
{{ __('POS Invoice')}}

{{__('Date')}} : @{{ order?order.time_created:"" }}

{{$vendor->name}}

{{__('Delivery order') }}

{{__('Pickup order') }}

{{__('Client name') }}: @{{ order?order.configs.client_name:"" }}

{{__('Client phone') }}: @{{ order&&order.configs.client_phone?order.configs.client_phone:"" }}

{{__('Time') }}: @{{ order?order.time_formated:"" }}

{{__('Client address') }}: @{{ order?order.whatsapp_address:"" }}

{{__('Area') }}: @{{ order&&order.tableassigned&&order.tableassigned[0]?order.tableassigned[0].restoarea.name:"" }}

{{__('Table') }}: @{{ order&&order.tableassigned&&order.tableassigned[0]?order.tableassigned[0].name:"" }}

{{__('Item') }} {{ __('Qty') }} {{ __('Subtotal') }}
@{{ item.name+" "+item.pivot.variant_name+" "+(item.pivot.extras.replace('["',"").replace('"]',"").replace('","'," ").replace('","'," ").replace('","'," ").replace("[]","")) }} @{{ item.pivot.qty }} @{{ formatPrice(item.pivot.qty*item.pivot.variant_price) }}
{{ __('Tax inc.') }} @{{ order?formatPrice(order.vatvalue.toFixed(2)):"" }}
{{ __('Delivery')}} @{{ order? formatPrice(order.delivery_price.toFixed(2)):"" }}
{{ __('Discount')}} @{{ order? formatPrice(order.discount.toFixed(2)):"" }}
{{ __('Total') }} @{{ order?formatPrice((order.order_price_with_discount+order.delivery_price).toFixed(2)):"" }}

{{__('Scan to pay')}}