Buyer | {{ $contract->buyer_name }} |
---|---|
Contract No. | {{ $contract->sales_contract_no }} |
Sales Contract Value | ${{ number_format($totalContractValue, 2) }} |
Revised Details |
|
Quantity (Pcs) | {{ number_format($totalQty) }} PCS |
FOB | ${{ number_format($fob, 4) }} |
Export (Pcs) | @php $exportPcs = DB::table('sales_exports') ->where('contract_id', $contract->id) ->sum('g_qty_pcs'); @endphp {{ number_format($exportPcs) }} PCS |
Export Value | ${{ number_format($exportValue, 2) }} |
Short/Excess Value | ${{ number_format($shortExcessValue, 2) }} |
Short/Excess (Pcs) | {{ number_format($shortExcessPcs) }} PCS |
P. Realized Value | ${{ number_format($p_realized_value, 2) }} |
Replace | {{ $contract->replace ? 'Yes' : 'No' }} |
First Shipment Date | @php $firstShipmentDate = DB::table('sales_exports') ->where('contract_id', $contract->id) ->min('shipment_date') ?? 'N/A'; @endphp {{ $firstShipmentDate }} |
Last Shipment Date | @php $lastShipmentDate = DB::table('sales_exports') ->where('contract_id', $contract->id) ->max('shipment_date') ?? 'N/A'; @endphp {{ $lastShipmentDate }} |
Expiry Date | @php $expiryDate = $contract->expiry_date ? $contract->expiry_date->format('d-M-Y') : 'N/A'; @endphp {{ $expiryDate }} |
Amount (USD) | % As per Contract | % As per Export | |
---|---|---|---|
Fabrics | ${{ number_format($contract->fabrics_value, 2) }} | ||
Accessories | ${{ number_format($contract->accessories_value, 2) }} | ||
Print/Emb. | ${{ number_format($contract->print_emb_value, 2) }} | ||
Total BTB |
Total UD Value | ${{ number_format($udTotals['value'], 2) }} |
---|---|
Total UD Qty (PCS) | {{ number_format($udTotals['qty']) }} PCS |
Total Used Value (USD) | ${{ number_format($udTotals['used'], 2) }} |