@extends('layouts.structure') @section('content')
Client Details
Client Name: {{ $client->client_name }}
Client Code: {{ $client->client_code }}
Contact Person: {{ $client->contact_person ?? 'N/A' }}
State: {{ $client->state ?? 'N/A' }} {{ $client->state_code ?? 'N/A' }}
Email: {{ $client->email ?? 'N/A' }}
Mobile: {{ $client->mobile ?? 'N/A' }}
Address: {{ $client->address ?? 'N/A' }}
Plants: @if ($client->plants && $client->plants->isNotEmpty()) @foreach ($client->plants as $plant) {{ strtoupper(Str::substr($plant->name, 0, 2)) }}{{ !$loop->last ? ',' : '' }} @endforeach @else N/A @endif
Created At: {{ $client->created_at->format('d-m-Y H:i:s') }}
Updated At: {{ $client->updated_at->format('d-m-Y H:i:s') }}
Bank Details
Account Number: {{ $client->acc_no ?? 'N/A' }}
Bank Name: {{ $client->bank_name }}
IFSC Code: {{ $client->ifsc_code ?? 'N/A' }}
Account Holder Name: {{ $client->acc_holder_name ?? 'N/A' }}
PAN Number: {{ $client->pan_no ?? 'N/A' }}
GST Number: {{ $client->gst_no ?? 'N/A' }}
Invoice: @if ($client->upload_invoice) View @else N/A @endif
@endsection