fix update jbg

This commit is contained in:
Afiq
2022-04-04 10:18:29 +08:00
parent f6d2703f77
commit 8bfd48de37
+3
View File
@@ -3283,6 +3283,9 @@ class GadaiController extends Controller
}
$tempoh_gadai = ($year*12) + $month + $extensivemonth_gadai;
if($gadai['t_gadai'] == $current->toDateString()){
$tempoh_gadai = 0.5;
}
if($tempoh_gadai >= 6.0){
if($gadai['t_matang'] >= $current->toDateString()){
$tempoh_gadai = 6.0;