add QR/Barcode scan

This commit is contained in:
nyanlinhtut
2023-05-15 10:09:14 +06:30
parent e1a5eda163
commit a41a895d8a
7 changed files with 407 additions and 3 deletions

View File

@@ -1201,6 +1201,12 @@ $(function() {
$("#sxModal").attr('data-for', 'member');
e.preventDefault();
getCardNo();
onScan.attachTo(document, {
onScan: function(sCode) {
setCardNo(sCode)
}
});
});
$("#sxModal .btn_cancel").on('click',function(){