{{-- Shared faithful port of the Credit-Ceiling document body used by THREE legacy emails
(identical body, only the subject differs — see CreditCeilingStageMail::$action):
- MailHandler::sendEmailCreditCeilingToUser (L3755-3953) — "Approval on ..."
- MailHandler::sendEmailCCReviseToUser (L3957-...) — "Revise on ..."
- MailHandler::sendEmailCCRejectToUser (L4159-...) — "Reject on ..."
All {{ }} auto-escape (legacy strip_tags'd the header cells but printed history raw;
the port escapes everything uniformly). Null-safe (?->) — every legacy join is a LEFT JOIN.
$flagR / $paymentR are the legacy SQL CASE labels, computed in the Mailable. --}}
Credit Ceiling - Colorindo Chemtra
{{-- Company Info --}}
Company Info
| Company No. | : {{ str_pad((string) ($pcc->company?->ID ?? $pcc->CompanyID), 6, '0', STR_PAD_LEFT) }} |
| Company Name | : {{ $pcc->company?->CompanyName }} |
| Company Telephone | : {{ $pcc->company?->CompanyTelephone }} |
| Company Fax | : {{ $pcc->company?->CompanyFax }} |
| Company Address | : {{ $pcc->company?->CompanyAddress }} |
{{-- Credit Ceiling Info --}}
Credit Ceiling Info
| Credit Ceiling No. | : {{ str_pad((string) $pcc->ID, 6, '0', STR_PAD_LEFT) }} |
| Creator | : {{ $pcc->userIDInput?->Nama }} |
| Sales | : {{ $pcc->company?->userIDSales?->Nama }} |
| Proposed Credit Ceiling | : {{ $pcc->ProposedCC }} |
| Proposed TOP | : {{ $pcc->ProposedTOP }} |
| Revision Ver | : {{ $flagR }} |
| Justification | : {{ $pcc->justification?->JustificationName }} |
| Payment Rating | : {{ $paymentR }} |
| Comment | : {{ $pcc->Remark }} |
{{-- History --}}
History
| ID |
Status |
Tanggal |
User |
Remark |
@foreach ($history as $h)
| {{ $h->ID }} |
{{ $h->cCStatus?->StatusName }} |
{{ $h->Tanggal }} |
{{ $h->user?->Nama }} |
{{ $h->Remark }} |
@endforeach