@extends('layouts.app') @section('title', $supplier->company_name) @section('content')
Total PO value
{{ \App\Support\Format::mwk($totalPoValue) }}
Active POs
{{ $activePos }}
Outstanding bills
{{ \App\Support\Format::mwk($outstandingBills) }}
Delivery (on time / late)
{{ $deliveryOnTime }} / {{ $deliveryLate }}
Supplier information
Recent purchase orders
| PO | Date | Amount | Status |
|---|---|---|---|
| {{ $o->po_number }} | {{ $o->po_date?->format('Y-m-d') }} | {{ \App\Support\Format::mwk($o->total_amount) }} | {{ $o->status }} |
| No purchase orders. | |||
Supplier bills
| Bill | Due | Amount | Balance | Status |
|---|---|---|---|---|
| {{ $b->bill_number }} | {{ $b->due_date?->format('Y-m-d') ?? '—' }} | {{ \App\Support\Format::mwk($b->total_amount) }} | {{ \App\Support\Format::mwk($b->balance_due) }} | {{ $b->status }} |
| No bills. | ||||
Edit supplier