control open shift double

This commit is contained in:
Aung Myo
2018-07-24 14:05:56 +06:30
parent cc4399ecdb
commit 6146e338c7

View File

@@ -109,7 +109,13 @@
});
})
$('#open_cashier').on('click',function(){
// $("#print_receipt").on('click touchstart', function(event){
// print_receipt();
// });
$('#open_cashier').on('click touchstart', function(event){
$(this).off("click touchstart touchend");
var cashier_terminal = $('#cashier_terminal').val();
var amount = $('#total').text()||0;
$.ajax({type: "POST",