diff --git a/resources/views/sp-letters/print.blade.php b/resources/views/sp-letters/print.blade.php index 003c858..b724159 100644 --- a/resources/views/sp-letters/print.blade.php +++ b/resources/views/sp-letters/print.blade.php @@ -98,7 +98,7 @@ {{ \Carbon\Carbon::parse($v['violation_date'] ?? now())->setTimezone('Asia/Jakarta')->locale('id')->isoFormat('dddd, DD MMMM Y') }} - {{ \App\Models\Violation::with('violationType')->find($v['id'] ?? null)?->violationType?->name ?? '-' }} + {{ \App\Models\Violation::withTrashed()->with('violationType')->find($v['id'] ?? null)?->violationType?->name ?? '-' }} @if (! empty($v['description']))
{{ $v['description'] }}
@endif