@php use Illuminate\Support\Str; @endphp
|
{{ $company->company_name ?? 'Company' }}
{{ $company->address ?? '' }}
{{ $company->phone ?? '' }}
{{ $company->email ?? '' }}
|
Document No: {{ $document->document_number }}
Date: {{ optional($document->document_date)->format('Y-m-d') }}
@if(!empty($document->status))
Status: {{ $document->status }}
@endif
|
| # | Description | Qty | Price | Total |
|---|---|---|---|---|
| {{ $i + 1 }} | {{ $line->description ?? '' }} | {{ $line->confirmed_quantity ?? $line->quantity ?? '' }} | {{ number_format((float) ($line->price ?? 0), 2) }} | {{ number_format((float) ($line->line_total ?? 0), 2) }} |
| Exclusive Total | {{ number_format((float) ($document->exclusive_total ?? 0), 2) }} |
| Tax | {{ number_format((float) ($document->tax_amount ?? 0), 2) }} |
| Discount | {{ number_format((float) ($document->discount_total ?? 0), 2) }} |
| Inclusive Total | {{ number_format((float) ($document->inclusive_total ?? 0), 2) }} |