@extends('print.layout') @section('title', 'Customer_Info_' . ($customer['customer_no'] ?? 'N/A') . '_' . date('d-m-Y')) @section('content')
Customer Information
{{-- Customer Header Information --}}
Customer No: {{ $customer['customer_no'] ?? 'N/A' }}
Customer Name: {{ $customer['fname'] ?? 'N/A' }} {{ $customer['lname'] ?? '' }}
Company: {{ $customer['company'] ?? 'N/A' }}
Country: {{ $customer['coname'] ?? 'N/A' }}
Email: {{ $customer['email'] ?? 'N/A' }}
Phone: {{ $customer['phone'] ?? 'N/A' }}
Fax: {{ $customer['fax'] ?? 'N/A' }}
Status: @if(isset($customer['status']) && $customer['status']) Active @else Inactive @endif
{{-- Address Information --}}

Address Information

{{ $customer['address'] ?? 'N/A' }}
{{-- Customer Description --}} @if(isset($customer['description']) && !empty($customer['description']))

Customer Details

{!! nl2br(e(strip_tags($customer['description']))) !!}
@endif {{-- Financial Information --}} @if(isset($customer['fi_no']) || isset($customer['rex_no']) || isset($customer['ntn']))

Financial Information

@if(isset($customer['fi_no']) && !empty($customer['fi_no'])) @endif @if(isset($customer['rex_no']) && !empty($customer['rex_no'])) @endif @if(isset($customer['ntn']) && !empty($customer['ntn'])) @endif
@endif {{-- Bank Information --}} @if(isset($customer['bank_name']) || isset($customer['account_title']) || isset($customer['account_no']))

Banking Information

@if(isset($customer['bank_name']) && !empty($customer['bank_name'])) @endif @if(isset($customer['account_title']) && !empty($customer['account_title'])) @endif @if(isset($customer['account_no']) && !empty($customer['account_no'])) @endif
@endif {{-- Contact Person Information --}} @if(isset($customer['contact_person']) || isset($customer['contact_phone']))

Contact Person

@if(isset($customer['contact_person']) && !empty($customer['contact_person'])) @endif @if(isset($customer['contact_phone']) && !empty($customer['contact_phone'])) @endif
@endif @endsection