@extends('layouts.layout-horizontal') @section('title', 'Customers') @section('css') @endsection @section('content')
Customers · {{ number_format($customers->total()) }} @if(!empty($q)) · matches for "{{ $q }}" clear @endif
@forelse ($customers as $c) @empty @endforelse
Name Mobile GST Number Address State Pincode Party
{{ $c->name }} {!! $c->is_sez ? 'SEZ' : '' !!} {{ $c->mobile }} {{ $c->gst_number }} {{ $c->billing_address }} {{ $c->state }} {{ $c->pincode }} {{ $c->party_type }}
@csrf @method('DELETE')
@include('partials._empty-state', [ 'icon' => 'ph-users', 'title' => 'No customers yet', 'subtitle' => 'Add your first customer to get started.', 'action' => route('customers.create'), 'actionLabel' => 'Add Customer', ])
@if($customers->hasPages())
{{ $customers->links() }}
@endif
@endsection @section('scripts') @endsection