@extends('layouts.app') @section('title', 'Contract Details - ' . $contract->contract_no) @section('content')
| Contract No: | {{ $contract->contract_no }} |
| Title: | {{ $contract->title }} |
| Type: | @if($contract->type == 'purchase') Purchase @else Sale @endif |
| Party: | {{ $contract->party->name ?? '-' }} |
| Item: | {{ $contract->item->name ?? 'General Contract' }} |
| Start Date: | {{ $contract->start_date->format('d M, Y') }} |
| End Date: | {{ $contract->end_date ? $contract->end_date->format('d M, Y') : 'Open Ended' }} @if($contract->is_expired) Expired @endif |
| Agent Commission: | {{ number_format($contract->agent_commission_rate, 2) }} / unit |
| Transport Rate: | {{ number_format($contract->transport_rate, 2) }} / unit |
| Created By: | {{ $contract->creator->name ?? '-' }} |
{{ $contract->terms }}
{{ $contract->remarks }}
No {{ $contract->type == 'purchase' ? 'purchases' : 'sales' }} linked to this contract yet.
@endif| Agreed Quantity: | {{ number_format($contract->agreed_quantity, 2) }} {{ $contract->quantity_unit }} |
| Delivered: | {{ number_format($contract->delivered_quantity, 2) }} {{ $contract->quantity_unit }} |
| Pending: | {{ number_format($contract->pending_quantity, 2) }} {{ $contract->quantity_unit }} |