@extends('layouts.app') @section('content')
{{ $ledger->company?->company_name ?? 'N/A' }}
{{ $ledger->supplier?->supplier_name ?? 'N/A' }}
{{ \Carbon\Carbon::now()->format('d M Y') }}
{{ number_format($ledger->total_bill, 2) }}
{{ number_format($ledger->paid_amount, 2) }}
{{ number_format($ledger->due_amount, 2) }}
| Product | Total Amount | Paid | Due Payment | Ledger Date | Payment Date |
|---|---|---|---|---|---|
| {{ $item->stock }} | {{ number_format((float)($item->total_amount ?? 0), 2) }} | {{ number_format((float)($item->paid_amount ?? 0), 2) }} | {{ number_format((float)($item->due_amount ?? 0), 2) }} | {{ $item->ledger_date }} | {{ $item->payment_date }} |
| No items found for this ledger. | |||||
| Date | Time | Paid Amount | Due Amount |
|---|---|---|---|
| {{ \Carbon\Carbon::parse($adjustment->date)->format('d M Y') }} | {{ \Carbon\Carbon::parse($adjustment->time)->format('h:i A') }} | {{ number_format($adjustment->paid_amount, 2) }} | {{ number_format($adjustment->due_amount, 2) }} |
| No manual adjustments found for this ledger. | |||