This commit is contained in:
Afiq
2022-03-31 15:49:16 +08:00
parent 4ef73bd354
commit a5f0d98f9a
+2 -2
View File
@@ -3280,12 +3280,12 @@ class GadaiController extends Controller
$tempoh_gadai = ($year*12) + $month + $extensivemonth_gadai;
if($tempoh_gadai > 6.0){
if($gadai['t_matang'] <= $current){
if($gadai['t_matang'] >= $current){
$tempoh_gadai = 6.0;
}
}else if($tempoh_gadai > 12){
if($gadai['t_matang1'] <= $current){
if($gadai['t_matang1'] >= $current){
$tempoh_gadai = 12.0;
}
}