fix(outlet): kasih kondisi ketika datanya kosong
This commit is contained in:
parent
87e25c9591
commit
d02693ac64
@ -61,6 +61,7 @@ class="w-12 h-12 rounded-full">
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@if (!empty($this->formatOpeningHours($outlet)))
|
||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
<h4
|
<h4
|
||||||
class="text-sm font-semibold text-gray-900 dark:text-white mb-2 flex items-center gap-2">
|
class="text-sm font-semibold text-gray-900 dark:text-white mb-2 flex items-center gap-2">
|
||||||
@ -79,7 +80,9 @@ class="font-medium text-gray-700 dark:text-gray-300">{{ $day }}:</span>
|
|||||||
@endforeach
|
@endforeach
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
@if ($outlet->facilities->isNotEmpty())
|
||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
<h4
|
<h4
|
||||||
class="text-sm font-semibold text-gray-900 dark:text-white mb-2 flex items-center gap-2">
|
class="text-sm font-semibold text-gray-900 dark:text-white mb-2 flex items-center gap-2">
|
||||||
@ -92,9 +95,15 @@ class="text-sm font-semibold text-gray-900 dark:text-white mb-2 flex items-cente
|
|||||||
@endforeach
|
@endforeach
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
<div class="mb-4 bg-gray-50 dark:bg-gray-800 rounded-lg p-3">
|
<div class="mb-4">
|
||||||
<div class="flex flex-col gap-2 text-xs">
|
<h4
|
||||||
|
class="text-sm font-semibold text-gray-900 dark:text-white mb-2 flex items-center gap-2">
|
||||||
|
<flux:icon.calendar-days class="w-4 h-4" />
|
||||||
|
Tanggal
|
||||||
|
</h4>
|
||||||
|
<div class="flex flex-col gap-2 text-xs bg-gray-50 dark:bg-gray-800 rounded-lg p-3">
|
||||||
<div>
|
<div>
|
||||||
<span class="font-medium text-gray-900 dark:text-white">Tgl Buka:</span>
|
<span class="font-medium text-gray-900 dark:text-white">Tgl Buka:</span>
|
||||||
<span
|
<span
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user