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

Customer Accounts

Corporate accounts, staff tabs, or regulars extended credit at the till — pick one when recording a credit-type payment on an order or bar tab.

@include('components.data-transfer', ['type'=>'customers','label'=>'Customers','exportPermission'=>'customers.view','managePermission'=>'customers.manage']) @can('customers.manage') @endcan
@forelse ($customers as $customer) @empty @endforelse
NamePhoneKRA PINCredit limitBalance owedStatus
{{ $customer->name }} {{ $customer->phone ?? '—' }} {{ $customer->kra_pin ?? '—' }} {{ number_format($customer->credit_limit, 2) }} {{ number_format($customer->balance, 2) }} {{ $customer->is_active ? 'Active' : 'Inactive' }} Statement@if($customer->balance > 0)Clear dues@endif
No customer accounts yet.
{{ $customers->links() }}
@csrf
@endsection