fix production margin and few fix in khazanah

This commit is contained in:
hafifierahman
2023-03-01 15:11:03 +08:00
parent 21ee7264e0
commit d8ed496456
10 changed files with 118 additions and 28 deletions
+2 -2
View File
@@ -796,7 +796,7 @@
return false;
}
else{
if(pinjaman >= 10000){
if(pinjaman >= 10000 && pinjaman <= Number(pembiyaan_max_pelulus)){
const swalWithBootstrapButtons = Swal.mixin({
customClass: {
confirmButton: 'btn btn-success',
@@ -1039,7 +1039,7 @@
event.preventDefault();
return false;
}
else if( pinjaman < 10000){
else if( pinjaman < 10000 && pinjaman <= Number(pembiayaan_max_teller)){
Swal.fire({
icon: 'success',
title: 'Berjaya!',