diff --git a/resources/views/violations/show.blade.php b/resources/views/violations/show.blade.php index 95c7fbe..1533bb9 100644 --- a/resources/views/violations/show.blade.php +++ b/resources/views/violations/show.blade.php @@ -243,10 +243,17 @@ Dicatat Oleh
-
- {{ strtoupper(substr($violation->recorder->name ?? '?', 0, 1)) }} -
-

{{ $violation->recorder->name ?? '—' }}

+ @if($violation->recorder) +
+ {{ strtoupper(substr($violation->recorder->name, 0, 1)) }} +
+

{{ $violation->recorder->name }}

+ @else +
+ +
+

E-Jurnal (Sinkron Otomatis)

+ @endif