@extends('layouts.app') @section('title', 'Customers') @section('page-title', 'Customers') @section('content')

Manage your customer database

Add Customer
@if(request()->hasAny(['search','type'])) Clear @endif
@forelse($customers as $customer) @empty @endforelse
Customer Type / GSTIN City / State Outstanding (₹) Actions
{{ $customer->name }}
{{ $customer->phone }} {{ $customer->email ? '· '.$customer->email : '' }}
{{ strtoupper($customer->customer_type) }} @if($customer->gstin)
{{ $customer->gstin }}
@endif
{{ $customer->billing_city }}{{ $customer->billing_state ? ', '.$customer->billing_state : '' }} ₹{{ number_format($customer->total_outstanding, 2) }}
View Edit
@csrf @method('DELETE')

No customers yet

Add your first customer →
@if($customers->hasPages())
{{ $customers->links() }}
@endif
@endsection