{{ __('Supplier Details') }}
@if (session('status'))
{{ session('status') }}
@endif

{{ $supplier->name }}

{{ __('Edit') }}
@foreach ([ 'Contact Person' => $supplier->contact_person, 'Phone' => $supplier->phone, 'Email' => $supplier->email, 'Address' => $supplier->address, ] as $label => $value)
{{ __($label) }}
{{ $value ?: '—' }}
@endforeach @if ($supplier->notes)
{{ __('Notes') }}
{{ $supplier->notes }}
@endif

{{ __('Parts from this Supplier') }}

@if ($supplier->parts->isEmpty())

{{ __('No parts are linked to this supplier yet.') }}

@else @foreach ($supplier->parts as $part) @endforeach
{{ __('Part') }} {{ __('Part No.') }} {{ __('Category') }}
{{ $part->name }} {{ $part->part_number ?: '—' }} {{ $part->category }}
@endif
← {{ __('Back to Suppliers') }}