visibleInputOfUser method
dynamic
visibleInputOfUser(
{ - String product = "",
})
Implementation
visibleInputOfUser({String product = ""}) {
if (appController?.isVNP == true) {
try {
Control dViSL = findControlInputFormAllPage('dvi_sl');
dViSL.setVisible(false);
Control kHD = findControlInputFormAllPage('kieu_hd');
kHD.setVisible(false);
appController?.config.isshowAcceptProduct = false;
appController?.config.isshowCerView = true;
appController?.config.isPaymentMoney = false;
} catch (e) {
printDebug(e);
}
} else {
appController?.config.isshowAcceptProduct = true;
appController?.config.isshowCerView = true;
appController?.config.isPaymentMoney = true;
}
}