Supplier Master

Weavers, costume tailors, jewelry artisans, fabric vendors, and prop suppliers.

@if(session()->has('success'))
{{ session('success') }}
@endif
@forelse($suppliers as $s) @empty @endforelse
Supplier / Firm Type & Category Contact Person Contact & Location GSTIN & PAN Terms Purchases Actions
{{ $s->name }} {{ $s->supplier_code }} {{ str_replace('_', ' ', $s->supplier_type ?? 'Vendor') }} @if($s->supplier_category) {{ $s->supplier_category }} @endif {{ $s->contact_person ?: '—' }} @if($s->designation) {{ $s->designation }} @endif {{ $s->phone }} {{ $s->city ? $s->city . ($s->state ? ', ' . $s->state : '') : 'Kerala' }} @if($s->gstin) GST: {{ $s->gstin }} @else @endif @if($s->pan_number) PAN: {{ $s->pan_number }} @endif {{ $s->payment_terms_days }} Days @if($s->credit_limit > 0) Limit: ₹{{ number_format($s->credit_limit, 0) }} @endif {{ $s->purchases_count }} Orders
No suppliers registered yet.
{{ $suppliers->links() }}
@if($showCreateModal)

{{ $editingSupplierId ? 'Edit Supplier: ' . $name : 'Register New Supplier Profile' }}

Configure business identity, contact channels, bank account, and GST details.

1. Business / Vendor Identity

@error('name') {{ $message }} @enderror

2. Communication Channels

@error('phone') {{ $message }} @enderror

3. Factory / Registered Address

4. Tax & Banking / Settlement Details

@error('gstin') {{ $message }} @enderror

5. Commercial Terms & Balance

@endif @if($showViewModal && $viewingSupplier)

{{ $viewingSupplier->name }}

{{ str_replace('_', ' ', $viewingSupplier->supplier_type ?? 'Vendor') }}

Code: {{ $viewingSupplier->supplier_code }} • Category: {{ ucfirst($viewingSupplier->supplier_category ?? 'General') }}

Contact Information {{ $viewingSupplier->contact_person ?: 'No Contact Name' }} @if($viewingSupplier->designation) {{ $viewingSupplier->designation }} @endif Phone: {{ $viewingSupplier->phone }} @if($viewingSupplier->alternate_phone) Alt: {{ $viewingSupplier->alternate_phone }} @endif @if($viewingSupplier->email) Email: {{ $viewingSupplier->email }} @endif
Tax & Identification @if($viewingSupplier->gstin) GSTIN: {{ $viewingSupplier->gstin }} @else GSTIN: Not Registered @endif @if($viewingSupplier->pan_number) PAN: {{ $viewingSupplier->pan_number }} @endif State: {{ $viewingSupplier->state ?? 'Kerala' }} (Code: {{ $viewingSupplier->state_code ?? '32' }})
Address

{{ $viewingSupplier->address ?: 'No address specified' }} @if($viewingSupplier->address_line_2)
{{ $viewingSupplier->address_line_2 }} @endif
{{ $viewingSupplier->city ?? 'Thrissur' }}, {{ $viewingSupplier->state ?? 'Kerala' }} {{ $viewingSupplier->pin_code ? '- ' . $viewingSupplier->pin_code : '' }}

Banking & Settlement Bank: {{ $viewingSupplier->bank_name ?: '—' }} A/C: {{ $viewingSupplier->account_number ?: '—' }} IFSC: {{ $viewingSupplier->ifsc_code ?: '—' }} @if($viewingSupplier->upi_id) UPI: {{ $viewingSupplier->upi_id }} @endif
Payment Terms {{ $viewingSupplier->payment_terms_days }} Days
Credit Limit ₹{{ number_format($viewingSupplier->credit_limit, 2) }}
Purchase Orders {{ $viewingSupplier->purchases_count }} Orders
@if($viewingSupplier->notes)
Notes:

{{ $viewingSupplier->notes }}

@endif
@endif