@extends('business.layout') @section('title', 'Customers & Credit') @section('content')

Add Customer

@csrf

Customer Directory & Credit Balances

@foreach($customers as $c) @endforeach
NameType / TINPhoneCredit Owed (UGX)Record Payment
{{ $c->name }} {{ strtoupper($c->buyer_type) }} {{ $c->tin ? "ยท {$c->tin}" : '' }} {{ $c->phone ?? '-' }} UGX {{ number_format((float)$c->balance) }} @if((float)$c->balance > 0)
@csrf
@else - @endif
@endsection