update payment link with payment method
This commit is contained in:
@@ -359,6 +359,7 @@
|
||||
<tr>
|
||||
<td class="charges-name"><strong>
|
||||
<% if !@sale_taxes.empty? %>
|
||||
<input type="hidden" name="" id="check_tax" value="all">
|
||||
Tax:
|
||||
(<% @i = 0
|
||||
@sale_taxes.each do |ct| %>
|
||||
@@ -368,6 +369,7 @@
|
||||
<%end%>
|
||||
<%end %>)
|
||||
<% else %>
|
||||
<input type="hidden" name="" id="check_tax" value="">
|
||||
No Tax
|
||||
<% end %></strong><br>
|
||||
<%if !@webview && @changable_tax %>
|
||||
@@ -1104,8 +1106,8 @@
|
||||
var dining_id = "<%= @dining.id %>";
|
||||
var sale_id = $("#sale_id").val(); //<%= @obj_sale.sale_id rescue "" %>
|
||||
var ajax_url = "/origami/sale/append_order";
|
||||
var tax_type = localStorage.getItem("tax_type");
|
||||
console.log(tax_type)
|
||||
// var tax_type = localStorage.getItem("tax_type");
|
||||
var tax_type = $("#check_tax").val();
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: ajax_url,
|
||||
|
||||
Reference in New Issue
Block a user