@extends('layouts.dashboard.superadminapp') @section('title', 'Customer/Vendor Details') @section('styles') @endsection @section('content')
@if ($customer->image) @else
@endif
{{ $customer->company }}
@if($customer->company_nickname)
{{ $customer->company_nickname }}
@endif
@if($customer->company_role == 'Customer') Customer @elseif($customer->company_role == 'Vendor') Vendor @else Both @endif @if ($customer->status == 1) Active @else Inactive @endif
Email
{{ $customer->email }}
Mobile
{{ $customer->mobile }}
GST No
{{ $customer->gstno }}
Company Type
{{ $customer->company_type }}
Company Information
Company Name
{{ $customer->company }}
Acronym
{{ $customer->company_nickname ?: '-' }}
Mobile
{{ $customer->mobile }}
Secondary Mobile
{{ $customer->secondary_mobile ?: '-' }}
Company Type
{{ $customer->company_type }}
GST No
{{ $customer->gstno }}
PAN No
{{ $customer->panno }}
MSME/Udyam
{{ $customer->msmeno ?: '-' }}
IEC
{{ $customer->iecno ?: '-' }}
Website
@if ($customer->url) {{ $customer->url }} @else - @endif
Bank Account Details
@if($customer->bank_name)
Bank Name
{{ $customer->bank_name }}
Branch
{{ $customer->branch_name ?: '-' }}
Account Number
{{ $customer->account_number }}
Account Type
{{ $customer->account_type ?: '-' }}
Account Holder
{{ $customer->account_holder_name ?: '-' }}
Currency
{{ $customer->account_currency ?? 'INR' }}
IFSC Code
{{ $customer->ifsc_code ?: '-' }}
SWIFT/BIC
{{ $customer->swift_code ?: '-' }}
@else

No bank details available

@endif
Billing Address
@if($customer->billing_address)
{{ $customer->billing_address }}
@else
No billing address provided
@endif
Shipping Address
@if($customer->shipping_address)
{{ $customer->shipping_address }}
@else
No shipping address provided
@endif
Contact Persons @if ($customer->contactPersons->count()) {{ $customer->contactPersons->count() }} @endif
@if ($customer->contactPersons->count())
@foreach ($customer->contactPersons as $contact)
{{ strtoupper(substr($contact->name ?? 'C', 0, 1)) }}
{{ $contact->name ?: '-' }}
{{ $contact->designation ?: 'Contact Person' }}
@if($contact->email) @endif @if($contact->mobile)
{{ $contact->mobile }}
@endif
@endforeach
@else

No contact persons available

@endif
@endsection @section('scripts') @endsection