@extends('layouts.app') @section('title', 'Suppliers') @section('content')

Suppliers

Vendor register with contact details, purchase order history and outstanding balances.
Pay suppliers
@include('inventory._nav')

Supplier register

{{ num($suppliers->total()) }} suppliers
@forelse($suppliers as $supplier) @empty @endforelse
SupplierContactPhonePOsInvoicesBalanceStatusActions
{{ $supplier->name }}
{{ $supplier->kra_pin ? 'PIN '.$supplier->kra_pin : ($supplier->address ?: '—') }}
{{ $supplier->contact_name ?: '—' }} {{ $supplier->contact_phone ?: ($supplier->phone ?: '—') }} {{ $supplier->po_count }} {{ $supplier->invoice_count }} {{ money($balances[$supplier->id] ?? 0) }}
@csrf @method('DELETE')
@include('shared.pager', ['paginator' => $suppliers])
@csrf
@foreach($suppliers as $supplier)
@csrf @method('PUT')
@endforeach @endsection