diff --git a/resources/views/assets/show.blade.php b/resources/views/assets/show.blade.php index 5183ed1..88af7d7 100644 --- a/resources/views/assets/show.blade.php +++ b/resources/views/assets/show.blade.php @@ -124,35 +124,25 @@
| Kolom | -Nilai | -
|---|---|
| {{ ucfirst(str_replace('_',' ', $key)) }} | -
- @php
- $mappedValue = $value;
- if (!is_array($value) && isset($refMaps[$key]) && $refMaps[$key]->has($value)) {
- $mappedValue = $refMaps[$key]->get($value);
- }
- @endphp
- @if(is_array($mappedValue))
- {{ json_encode($mappedValue, JSON_UNESCAPED_UNICODE) }}
- @else
- {{ (string) $mappedValue }}
- @endif
- |
-
{{ json_encode($mappedValue, JSON_UNESCAPED_UNICODE) }}
+ @else
+ {{ (string) $mappedValue }}
+ @endif
+
+
+ @endforeach