Reformat code
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user