{{ __('main.invoice_details') }}

{{ $firm_name }}

{{ $invoice->createdBy->name ?? '' }}

@if ($tax != '')

{{ __('main.tax') }}: {{ $tax }}

@endif
{{ __('main.invoice') }} # {{ $invoice->invoice_number }}
{{ __('main.date') }}: {{ \Carbon\Carbon::parse($invoice->date)->format('d/m/Y') }}
{{ __('main.time') }}: {{ \Carbon\Carbon::parse($invoice->date)->format('h:i A') }}
@if ($invoice->salesman)
{{ __('main.salesman') }}: {{ Str::limit($invoice->salesman->name ?? '', 15, '..') }}
@endif
{{ __('main.by') }} {{ $invoice->createdBy->name ?? '' }}
{{ getInvoiceStatus($invoice->status) }}
@foreach ($invoice->details as $item) @endforeach
# {{ __('main.particulars') }} {{ __('main.rate') }} {{ __('main.qty') }} {{ __('main.tax') }} % {{ __('main.tax_amount') }} {{ __('main.total') }}
{{ $loop->index + 1 }}
{{ $item->item_name }}
{{ getFormattedCurrency($item->rate) }} {{ $item->quantity }} @if ($item->unit_type) {{ getUnitType($item->unit_type) }} @endif {{ $invoice->tax_percentage }} {{ getFormattedCurrency($item->tax_amount) }} {{ getFormattedCurrency($item->total) }}