@php $addProductPermission = user()->permission('add_product'); @endphp

@lang('modules.orders.createOrder')


{{ invoice_setting()->order_prefix }}{{ invoice_setting()->order_number_separator }}{{ $zero }}

@lang('messages.selectCustomerForBillingAddress')

@if (isset($estimate) && $estimate->client && $estimate->client->clientDetails->shipping_address) {!! nl2br($estimate->client->clientDetails->shipping_address) !!} @elseif(isset($client) && $client->clientDetails && $client->clientDetails->shipping_address) {!! nl2br($client->clientDetails->shipping_address) !!} @else @lang('app.addShippingAddress') @endif


@if ($addProductPermission == 'all' || $addProductPermission == 'added') @lang('app.add') @endif
@lang('messages.addItem')

@lang('modules.invoices.subTotal') 0.00
@lang('modules.invoices.discount')
{{ isset($estimate) ? number_format((float) $estimate->discount, 2, '.', '') : '0.00' }}
@lang('modules.invoices.tax')
0.00
@lang('modules.invoices.total') 0.00
@lang('app.submit') @lang('app.cancel')