@extends('layouts.app') @section('title', __('dashboard.Supplier Details')) @section('page_heading', $supplier->name) @section('content') @include('layouts.partials.workspace-page-styles') @include('dashboard.partials.audit-log-styles')

{{ __('dashboard.Supplier Details') }}

{{ __('dashboard.supplier_basic_info_desc') }}

{{ __('dashboard.Name') }}
{{ $supplier->name }}
{{ __('dashboard.Phone') }}
{{ $supplier->phone ?: '—' }}
{{ __('dashboard.Address') }}
{{ $supplier->address ?: '—' }}

{{ __('dashboard.history_title') }}

{{ __('dashboard.history_total') }}: {{ $auditSummary['total'] }} {{ __('dashboard.history_created') }}: {{ $auditSummary['created'] }} {{ __('dashboard.history_updated') }}: {{ $auditSummary['updated'] }} {{ __('dashboard.history_deleted') }}: {{ $auditSummary['deleted'] }} {{ __('dashboard.history_toggle') }}
@forelse($auditEntries as $entry)
{{ $entry['headline'] }} {{ __('dashboard.history_event_by') }} {{ $entry['actor'] }}
{{ $entry['timestamp'] }} ({{ $entry['timestamp_human'] }})
@foreach($entry['changes'] as $change)
{{ $change['label'] }}: @if($change['has_old']){{ $change['old'] }}@endif {{ $change['new'] }}
@endforeach
@empty

{{ __('dashboard.history_no_history_found') }}

@endforelse
@endsection