@extends('admin.layouts.app') @section('title', 'Customer Details') @section('page_title', 'Customer Details') @section('content')
Basic Information
Supplier Code: {{ $customer->supplier_code ?? 'N/A' }}
Name: {{ $customer->name }}
Email: {{ $customer->email ?? 'N/A' }}
Phone: {{ $customer->phone ?? 'N/A' }}
Contact Person: {{ $customer->contact_person ?? 'N/A' }}
Status: @if($customer->status == 1) Active @else Inactive @endif
Address

{{ $customer->address ?? 'N/A' }}


Branches
@forelse($customer->branches as $branch) @empty @endforelse
ID Name Phone Contact Person Address Status Actions
{{ $branch->id }} {{ $branch->name }} {{ $branch->phone ?? 'N/A' }} {{ $branch->contact_person ?? 'N/A' }} {{ $branch->address ?? 'N/A' }} @if($branch->status == 1) Active @else Inactive @endif
@csrf @method('DELETE')
No branches found
@endsection