@extends('layouts.app') @section('title', 'Parties Master (Customers & Suppliers)') @section('page_title', 'Customers & Suppliers Master') @section('content')
@if(request()->hasAny(['search', 'type'])) Clear @endif
Add New Party
@forelse($parties as $party) @empty @endforelse
Party Details Role GSTIN / PAN State (Place of Supply) Contact Current Balance Actions
{{ $party->business_name ?? $party->name }}
@if($party->business_name) Contact: {{ $party->name }} @endif
@if($party->type == 'customer') Customer @elseif($party->type == 'supplier') Supplier @else Customer & Supplier @endif @if($party->gstin)
{{ $party->gstin }}
PAN: {{ $party->pan ?? '-' }} @else Unregistered (B2C) @endif
{{ $party->state }} [{{ $party->state_code }}]
{{ $party->phone ?? '-' }}
{{ $party->email ?? '' }}
₹{{ number_format($party->current_balance, 2) }}
No parties found matching criteria.
@if($parties->hasPages()) @endif
@endsection