@php $initialCustomerId = old('customer_id', $invoice->customer_id ?? null); $initialSelectedValue = $initialCustomerId ? "customer-$initialCustomerId" : null; $hint = '' . __('Add Customer') . ''; @endphp
{{ __('Customer') }}
@if (!$invoice->exists) @endif
*
@if (!$isServiceBuy) {{ __('Product') }} @else {{ __('Services') }} @endif @if (($invoice->invoice_type ?? $invoice_type) === App\Enums\InvoiceType::SELL || ($invoice_type ?? null) === 'sell') {{ __('Services') }} @endif
{{ __('description') }}
{{ __('Quantity') }}
{{ __('OFF') }}
{{ __('VAT') }}
{{ __('Unit') }}
{{ __('Total') }}

{{ __('Total Quantity') }}: 0
{{ __('Total Sum') }} ({{ config('amir.currency') ?? __('Rial') }}): 0
{{ __('cancel') }} @php $resolvedInvoiceType = $invoice->invoice_type ?? $invoice_type; $isSellType = $resolvedInvoiceType == App\Enums\InvoiceType::SELL || $resolvedInvoiceType == 'sell'; $approveLabel = $isSellType ? __('save and ready to approve') : __('save and approve'); @endphp @can('invoices.approve') @endcan
@pushOnce('scripts') @endPushOnce