Give label to spare customer in logs if log status starts at 12
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
<button class="accordion-toggle w-full bg-gray-700 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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user