@extends('layouts.app')
@section('title', $supplier->name)
@section('content')
Code
{{ $supplier->code ?? '—' }}
Channel
{{ ucfirst(str_replace('_', ' ', $supplier->channel_type ?? '')) }}
Lead Time
{{ $supplier->lead_time_days !== null ? $supplier->lead_time_days.' days' : '—' }}
Contact
{{ $supplier->contact_person ?? '—' }}
Email / Phone
{{ $supplier->email ?? '—' }} · {{ $supplier->phone ?? '—' }}
Location
{{ collect([$supplier->city, $supplier->country])->filter()->implode(', ') ?: '—' }}
Payment Terms
{{ $supplier->payment_terms ?? '—' }}
@if($supplier->is_regional_reexporter) Regional re-exporter @endif @if($supplier->notes)Notes
{{ $supplier->notes }}
@endif| Item | Unit Price | Currency | Effective Date | Source |
|---|---|---|---|---|
| {{ $ph->item->name_en ?? $ph->item_id }} | {{ number_format($ph->unit_price, 4) }} | {{ $ph->currency }} | {{ optional($ph->effective_date)->format('Y-m-d') }} | {{ $ph->source_type ?? '—' }} |
| PO Number | Date | Amount | Status |
|---|---|---|---|
| {{ $po->po_number }} | {{ optional($po->order_date)->format('Y-m-d') }} | {{ number_format($po->total_amount, 2) }} {{ $po->currency }} |