@php $addProductPermission = user()->permission('add_product'); @endphp @if (!in_array('clients', user_modules())) @lang('messages.enableClientModule') @lang('app.back') @else

@lang('app.order') @lang('app.details')


@method('PUT') @if (isset($type) && $type == 'proposal') @endif @if (isset($type) && $type == 'estimate') @endif
@if (isset($client) && !is_null($client))
@else @endif
{{-- --}}
( {{company()->currency->currency_code}} @lang('app.to') {{company()->currency->currency_code}} )

@if (isset($project) && !is_null($project))
@else
@endif
@if($linkInvoicePermission == 'all')
@endif

Service Details


@if (isset($invoice) && $invoice->client) {!! nl2br($invoice->client->clientDetails->address) !!} @elseif (isset($invoice) && isset($client)) {!! nl2br($client->clientDetails->address) !!} @elseif (isset($estimate) && $estimate->client) {!! nl2br($estimate->client->clientDetails->address) !!} @else @lang('messages.selectCustomerForBillingAddress') @endif

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

Add Service

{{--
@if ($addProductPermission == 'all' || $addProductPermission == 'added') @lang('app.add') @endif
--}}
@foreach ($invoice->items as $key => $item)
{{ $item->item_name }} {{ number_format((float) (1 * $item->amount), 2, '.', '') }}
@endforeach
{{-- --}}
{{-- --}}
@lang('modules.invoices.subTotal') {{ number_format((float) $invoice->sub_total, 2, '.', '') }}
@lang('modules.invoices.discount')
{{ number_format((float) $invoice->discount, 2, '.', '') }}
@lang('modules.invoices.tax')
0.00
@lang('modules.invoices.total') {{ number_format((float) $invoice->total, 2, '.', '') }}
#gateway=='knet') class="imgsel" @endif>
#gateway=='visa') class="imgsel" @endif>
#gateway=='master') class="imgsel" @endif>
#gateway=='cash') class="imgsel" @endif>
{{--

{!! nl2br($invoiceSetting->invoice_terms) !!}

--}}
{{--
--}}
{{--
--}}
@lang('app.cancel')
@endif