{{ __('Supplier Details') }}

{{ $supplier->display_name }}

Supplier Details

@if(session('success'))
{{ session('success') }}
@endif

Total Devices

{{ $statistics['total_devices'] }}

In Stock: {{ $statistics['devices_in_stock'] }} | Sold: {{ $statistics['devices_sold'] }}

Total SIM Cards

{{ $statistics['total_sim_cards'] }}

Available: {{ $statistics['sims_available'] }} | Sold: {{ $statistics['sims_sold'] }}

Total Value

PKR {{ number_format($statistics['total_value'], 0) }}

Status

{{ $supplier->is_active ? 'Active' : 'Inactive' }}

@if($supplier->is_active) @else @endif

Basic Information

{{ $supplier->name }}

@if($supplier->company_name)

{{ $supplier->company_name }}

@endif
@if($supplier->supplier_type === 'device') 📱 Device Supplier @elseif($supplier->supplier_type === 'sim') 📞 SIM Supplier @else 📦 Both (Device & SIM) @endif
@if($supplier->contact_person)

{{ $supplier->contact_person }}

@endif

Contact Information

@if($supplier->email)

{{ $supplier->email }}

@endif @if($supplier->phone)

{{ $supplier->phone }}

@endif @if($supplier->secondary_phone)

{{ $supplier->secondary_phone }}

@endif @if($supplier->address || $supplier->city || $supplier->country)

{{ $supplier->address }}
{{ $supplier->city ? $supplier->city . ', ' : '' }}{{ $supplier->country }}

@endif

Business Details

@if($supplier->tax_id)

{{ $supplier->tax_id }}

@endif @if($supplier->payment_terms)

{{ $supplier->payment_terms }}

@endif

PKR {{ number_format($supplier->credit_limit, 2) }}

@if($supplier->notes)

Notes

{{ $supplier->notes }}

@endif
@if($inventories->count() > 0)

Recent Devices (Last 10)

@foreach($inventories as $inventory) @endforeach
Serial Number Model Status Purchase Price Purchase Date
{{ $inventory->device_serial_number }} {{ $inventory->deviceModel->name ?? 'N/A' }} {{ ucfirst(str_replace('_', ' ', $inventory->status)) }} PKR {{ number_format($inventory->purchase_price, 2) }} {{ $inventory->purchase_date ? $inventory->purchase_date->format('Y-m-d') : 'N/A' }}
@if($statistics['total_devices'] > 10)

Showing 10 of {{ $statistics['total_devices'] }} devices

@endif
@endif @if($simCards->count() > 0)

Recent SIM Cards (Last 10)

@foreach($simCards as $simCard) @endforeach
SIM Number Provider Plan Type Status Monthly Cost
{{ $simCard->sim_number }} {{ $simCard->provider }} {{ ucfirst(str_replace('_', ' ', $simCard->plan_type)) }} {{ ucfirst($simCard->status) }} PKR {{ number_format($simCard->monthly_cost, 2) }}
@if($statistics['total_sim_cards'] > 10)

Showing 10 of {{ $statistics['total_sim_cards'] }} SIM cards

@endif
@endif