change tax in qrpay precreate

This commit is contained in:
Dev Team
2025-07-14 14:51:46 +06:30
parent a603223f1c
commit fc69dc2293
2 changed files with 14 additions and 2 deletions

View File

@@ -465,7 +465,7 @@ var paymalcount = <%= @paymalcount %>;
var customer_paypar_account = '<%= @sale_data.customer.paypar_account_no %>';
// console.log(pdf_view)
$(document).ready(function(){
$.post('/foodcourt/customer_view', {
data: {
items: <%= raw @sale_data.sale_items.to_json %>,
@@ -1188,7 +1188,7 @@ $(document).ready(function(){
if(data.status){
// console.log(type);
localStorage.setItem("tax_type", type);
window.location.href = '/foodcourt/sale/'+sale_id+'/'+cashier_type+'/payment';
window.location.reload();
}
}
});