Fix log status label conditions for index logs

This commit is contained in:
Afiq Hamzah
2024-10-08 09:40:30 +08:00
parent 155cefe6c2
commit 1f14754519
+1 -1
View File
@@ -48,7 +48,7 @@
<button class="accordion-toggle w-full bg-gray-600 text-gray-100 p-2 text-left focus:outline-none">
<h2 class="inline-block">Bill ID: {{ $bill_id }}</h2>
@php
$isSpareCustomer = json_decode($logs[0]['payload']) != null && $logs[0]['status'] == '6';
$isSpareCustomer = json_decode($logs[0]['payload']) != null && $logs[0]['status'] == '6' || $logs[0]['status'] == '12';
$isArrahnPayCustomer = json_decode($logs[0]['payload']) != null && $logs[0]['status'] == '1';
$extractedCustomerName = 'error';