@extends('layouts.app') @section('title', 'Edit Contract - ' . $contract->contract_no) @section('content')

Edit Contract: {{ $contract->contract_no }}

Back to Contract
@csrf @method('PUT')

Contract Details

@error('title')
{{ $message }}
@enderror
@error('party_id')
{{ $message }}
@enderror
@error('start_date')
{{ $message }}
@enderror
@error('end_date')
{{ $message }}
@enderror

Quantity & Pricing

@error('agreed_quantity')
{{ $message }}
@enderror
@error('agreed_rate')
{{ $message }}
@enderror
@if($contract->delivered_quantity > 0)
Delivery Information
Delivered Quantity: {{ number_format($contract->delivered_quantity, 2) }} {{ $contract->quantity_unit }}
Pending Quantity: {{ number_format($contract->pending_quantity, 2) }} {{ $contract->quantity_unit }}
@endif

Additional Rates

Contract Summary

Contract Type: {{ ucfirst($contract->type) }}
Quantity: {{ number_format($contract->agreed_quantity, 2) }}
Rate: {{ number_format($contract->agreed_rate, 2) }}

Total Value: {{ number_format($contract->contract_value, 2) }}
@endsection