update pay first and print later

This commit is contained in:
Aung Myo
2018-02-08 14:13:58 +06:30
parent 5e7a3a2212
commit d052fed803
3 changed files with 36 additions and 4 deletions

View File

@@ -551,7 +551,7 @@ var cashier_type = "<%= @cashier_type %>";
$.ajax({type: "POST",
url: "<%= origami_payment_cash_path %>",
data: "cash="+ cash + "&sale_id=" + sale_id,
data: "cash="+ cash + "&sale_id=" + sale_id + "&type=" + cashier_type,
async: false,
success:function(result){
/* start delete receipt no in first bill*/