myMedisys/tomcatfiles/mymedisys-frontend/WEB-INF/classes/scripts/payment/payment.js

9 lines
310 B
JavaScript
Raw Permalink Normal View History

2023-09-06 05:56:42 +05:30
$(document).ready(function() {
//online pay onload submit
if(document.getElementById('onlinPayFormSubmit')!=null)document.getElementById('onlinPayFormSubmit').submit();
});
function paymentCancel() {
document.getElementById("paymentStatus").value = "cancel";
document.getElementById('payGwId').submit();
}