add QR/Barcode scan
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user