{{-- Faithful port of legacy MailHandler::sendEmailQuoToUserRevise HTML. All {{ }} auto-escape (safer than legacy's raw concatenation). Null-safe navigation mirrors legacy's LEFT JOINs (missing lookups → empty cells). --}}
| Quotation No. | : {{ str_pad((string) $quotation->ID, 6, '0', STR_PAD_LEFT) }} |
| Request Date | : {{ $quotation->Tanggal }} |
| Quotation Date | : {{ $quotation->QuotationDate }} |
| Division | : {{ $quotation->division?->DivisionName }} |
| Sales | : {{ $quotation->userIDSales?->Nama }} |
| Company Name | : {{ $quotation->company?->CompanyName }} |
| Company CP Name | : {{ $quotation->companyCP?->CompanyCPSalutation }} {{ $quotation->companyCP?->CompanyCPName }} |
| Company CP Address | : {{ $quotation->companyCP?->CompanyCPAddress }} |
| Company CP Telephone | : {{ $quotation->companyCP?->CompanyCPTelephone }} |
| CC | : {{ $quotation->CC }} |
| USD Rate | : {{ $quotation->USDRate }} |
| Comment | : {{ $quotation->Comment }} |
| PrincipalName | PrincipalPrintName | Original Product Name | Product Name | Packing | UnitPriceUSD | UnitPriceIDR | RemarksQuotation | Project/RemarkInternal | History |
|---|---|---|---|---|---|---|---|---|---|
| {{ $d->barang?->principal?->PrincipalName }} | {{ $d->PrincipalPrintName }} | {{ $d->barang?->NamaBarang }} | {{ $d->ProductName }} | {{ number_format((float) $d->QuantityPacking, 2, ',', '.') }} {{ $d->packing?->PackingName }} | {{ number_format((float) $d->UnitPriceUSD, 2, ',', '.') }} | {{ number_format((float) $d->UnitPriceIDR, 2, ',', '.') }} | {{ $d->Remarks }} | {{ $d->RemarkInternal }} |
@foreach ($d->assignments as $a)
{{ $a->Tanggal }} | {{ $a->quotationDetailStatus?->StatusDetailName }} | {{ $a->user?->Nama }} @endforeach |
| ID | Status | Tanggal | User | Comment |
|---|---|---|---|---|
| {{ $a->ID }} | {{ $a->quotationStatus?->StatusName }} | {{ $a->Tanggal }} | {{ $a->user?->Nama }} | {{ $a->Comment }} |
| Price | : {{ $quotation->quotationPriceDesc?->QuotationUnitPriceDescName }} |
| Sales Terms | : {{ $quotation->quotationSalesTerm?->QuotationSalesTermName }} |
| Payment Terms | : {{ $quotation->quotationPaymentTerm?->QuotationPaymentTermName }} |
| Delivery / Lead Time | : {{ $quotation->quotationDeliveryTime?->QuotationDeliveryTimeName }} |
| Validity | : {{ $quotation->quotationValidity?->QuotationValidityName }} |
| Stock Availibility | : {{ $quotation->quotationStockAvailibility?->QuotationStockAvailabilityName }} |