@php $subtotal = 0; $tax = 0; @endphp @if (Session::has('pos.cart')) @else

{{ translate('No Product Added') }}

@endif
{{ translate('Customer Info') }}
@if(Session::has('pos.shipping_info') && Session::get('pos.shipping_info')['name'] != null)
{{translate('Name')}}: {{ Session::get('pos.shipping_info')['name'] }}
{{translate('Email')}}: {{ Session::get('pos.shipping_info')['email'] }}
{{translate('Phone')}}: {{ Session::get('pos.shipping_info')['phone'] }}
{{translate('Address')}}: {{ Session::get('pos.shipping_info')['address'] }}
{{translate('Country')}}: {{ Session::get('pos.shipping_info')['country'] }}
{{translate('City')}}: {{ Session::get('pos.shipping_info')['city'] }}
{{translate('Postal Code')}}: {{ Session::get('pos.shipping_info')['postal_code'] }}
@else
{{ translate('No customer information selected.') }}
@endif
{{translate('Total')}} {{ single_price($subtotal) }}
{{translate('Tax')}} {{ single_price($tax) }}
{{translate('Shipping')}} {{ single_price(Session::get('pos.shipping', 0)) }}
{{translate('Discount')}} {{ single_price(Session::get('pos.discount', 0)) }}
{{translate('Total')}} {{ single_price($subtotal+$tax+Session::get('pos.shipping', 0) - Session::get('pos.discount', 0)) }}