Reformat code

This commit is contained in:
Afiq Hamzah
2024-07-19 10:03:25 +08:00
parent 29c1d42891
commit 23df3df81c
-2
View File
@@ -212,7 +212,6 @@ class PembiayaanService
$branchesNotPermitPaymentUjrah = array_filter($getPayableUjrahBranches(), fn($x) => $x['gadaian_ujrah_payable'] == 0);
$kodCawanganBranchesNotPermitPaymentUjrah = array_map(fn($x) => $x['kodcaw'], $branchesNotPermitPaymentUjrah);
$isNorujukanPaymentRecentlyAttempted = function ($x) use ($norujukanRecentlyAttemptPayment) {
return in_array($x->norujukan, $norujukanRecentlyAttemptPayment);
};
@@ -238,7 +237,6 @@ class PembiayaanService
return false;
};
return array_map(function ($x) use ($isNorujukanPaymentRecentlyAttempted, $isNorujukanAkanDilelong, $isNorujukanIsInFasa2, $isCawanganNotPermitUjrahPayment) {
$x->disabled_payment = false;