| {{ $inv->invoice_no }} |
{{ $inv->invoice_date ? \Carbon\Carbon::parse($inv->invoice_date)->format('d-m-Y') : '-' }} |
{{ $inv->company->company ?? '-' }} |
{{ $inv->gst ?? '-' }} |
{{ $inv->phone ?? '-' }} |
{{ $inv->email ?? '-' }} |
{{ $item->description ?? '-' }} |
{{ $item->hsn ?? '-' }} |
{{ $item->quantity ?? 0 }} |
{{ number_format($item->rate ?? 0, 2) }} |
{{ number_format($item->sgst ?? 0, 2) }} |
{{ number_format($item->cgst ?? 0, 2) }} |
{{ number_format($item->igst ?? 0, 2) }} |
{{ number_format($item->amount ?? 0, 2) }} |
{{ number_format($inv->total_amount ?? 0, 2) }} |
@endforeach
@else
| {{ $inv->invoice_no }} |
{{ $inv->invoice_date ? \Carbon\Carbon::parse($inv->invoice_date)->format('d-m-Y') : '-' }} |
{{ $inv->company->company ?? '-' }} |
{{ $inv->gst ?? '-' }} |
{{ $inv->phone ?? '-' }} |
{{ $inv->email ?? '-' }} |
No items |
{{ number_format($inv->total_amount ?? 0, 2) }} |
@endif
@endforeach