@extends('layouts.app') @section('title', $supplier->company_name) @section('page_title', 'Supplier Profile & Ledger') @section('content')
| Date | Reference | Description | Debit (-) | Credit (+) | Balance |
|---|---|---|---|---|---|
| {{ $entry->created_at->format('M d, Y H:i') }} | {{ $entry->reference }} |
{{ $entry->description }} | {{ $entry->debit > 0 ? number_format($entry->debit) : '-' }} | {{ $entry->credit > 0 ? number_format($entry->credit) : '-' }} | {{ number_format($entry->balance) }} UGX |
| No payable entries yet. | |||||
| PO Number | Date Ordered | Total Amount | Status | Actions |
|---|---|---|---|---|
| {{ $po->po_number }} | {{ $po->order_date->format('M d, Y') }} | {{ number_format($po->total) }} UGX | {{ ucfirst($po->status) }} | @if($po->status === 'ordered') @elseif($po->status === 'received' && $po->received_at) Received at {{ $po->received_at->format('M d, Y') }} @else {{ ucfirst($po->status) }} @endif |
| No purchase orders logged yet. | ||||