fixed for reprint and query

This commit is contained in:
phyusin
2018-06-13 17:40:18 +06:30
parent 6952ce7359
commit 4a2d4b1007
6 changed files with 14 additions and 15 deletions

View File

@@ -61,7 +61,7 @@
var payment_method = "";
$('.payment-type').on('click',function(){
$('.payment-type').css("background-color","#7a62d3")
$('.payment-type').css("background-color","#7a62d3");
$(this).css("background-color","green");
var type = $(this).attr('data-id')
if(type == 'cash'){

View File

@@ -324,13 +324,12 @@ $(document).ready(function(){
swal("Opps","You are not authorized for void","warning")
}
});
});
$(document).on('click', '.access_modal', function(event){
type = $(this).data("type");
$(".ok").attr("data-action",type)
$('#AccessCodeModal').modal('show');
});
$(document).on('click', '.access_modal', function(event){
type = $(this).data("type");
$(".ok").attr("data-action",type);
$('#AccessCodeModal').modal('show');
});
function check_emp_access_code(access_code,type) {

View File

@@ -410,7 +410,7 @@ $('#back').on('click',function(){
$(document).on('click', '.access_modal', function(event){
type = $(this).data("type");
$(".ok").attr("data-action",type)
$(".ok").attr("data-action",type);
$('#AccessCodeModal').modal('show');
});
$('#void').on('click', function () {