@php $req = $po->requisition; $shipTo = $po->delivery_address ?: trim(($req->station?->name ? $req->station->name.', ' : '').($req->station?->address ?? '')); $signedUrl = \Illuminate\Support\Facades\URL::signedRoute('po.public', $po); $poMsg = "Purchase Order {$po->po_number} from the Jamaica Constabulary Force (PAL Centre). View your Purchase Order and confirm receipt here: ".$signedUrl; $waDigits = preg_replace('/\D/', '', (string) $po->supplier?->phone); if (strlen($waDigits) === 10) $waDigits = '1'.$waDigits; $waUrl = 'https://wa.me/'.$waDigits.'?text='.rawurlencode($poMsg); $mailUrl = 'mailto:'.($po->supplier?->email ?? '').'?subject='.rawurlencode("Purchase Order {$po->po_number} โ€” JCF").'&body='.rawurlencode($poMsg); @endphp
@unless($public) โ† Back Send via WhatsApp Send via Email @endunless @if($po->attachment_path)๐Ÿ“Ž Attached PO@endif @if($public && !empty($ackUrl))
@csrf
@endif
JCF

Jamaica Constabulary Force

Corporate & Special Services Branch

5th Floor South Tower, 2 Oxford Road

Tel: (876) 754-0485 ยท Email: procurement@jcf.gov.jm

PURCHASE ORDER
PO #{{ $po->po_number }}
Date{{ $po->issue_date->format('d M Y') }}
Status{{ $po->status_label }}

Client Information

Name: {{ $po->supplier?->name }}

Address: {{ $po->supplier?->address ?? 'โ€”' }}

TRN: {{ $po->supplier?->tax_id ?? 'โ€”' }}

Tel: {{ $po->supplier?->phone ?? 'โ€”' }}

Email: {{ $po->supplier?->email ?? 'โ€”' }}

Authorised Contact: {{ $po->supplier?->contact_name ?? 'โ€”' }}

Bill Invoice To

Director, Corporate & Special Services Branch

Jamaica Constabulary Force

5th Floor South Tower, 2 Oxford Road

Ship To
{{ $shipTo ?: 'โ€”' }}@if($po->requisition?->endUser) โ€” {{ $po->requisition->endUser->name }} ({{ $po->requisition->endUser->type_label }})@endif
Requisition
{{ $po->requisition?->reference_no }}
Currency
{{ $po->currency }}
Expected Delivery
{{ optional($po->expected_delivery_date)->format('d M Y') ?? 'โ€”' }}
@foreach($po->items as $i => $it) @endforeach
#DescriptionQtyUnitUnit PriceLine Total
{{ $i + 1 }} {{ $it->description }} {{ rtrim(rtrim(number_format($it->quantity,2),'0'),'.') }} {{ $it->uom?->abbreviation }} {{ number_format($it->unit_price,2) }} {{ number_format($it->line_total,2) }}
Subtotal{{ $po->currency }} {{ number_format($po->subtotal,2) }}
Tax{{ number_format($po->tax_total,2) }}
Total{{ $po->currency }} {{ number_format($po->total,2) }}
@if($po->terms)
Terms: {{ $po->terms }}
@endif
Prepared By
@if($po->prepared_signature)@endif
{{ $po->prepared_by_name ?? 'โ€”' }}
{{ $po->prepared_by_designation }}
{{ $po->issue_date->format('d M Y') }}
Authorised By
@if($po->authorized_signature)@endif
{{ $po->authorized_by_name ?? 'โ€”' }}
{{ $po->authorized_by_designation }}
{{ $po->issue_date->format('d M Y') }}