payment ui changes
This commit is contained in:
@@ -211,6 +211,9 @@ For Price 0 in receipt bill
|
||||
For Price 0 in receipt bill
|
||||
2) settings/lookups => { type:order_by, name:Order By, value:name }
|
||||
|
||||
For Aston Request => Gift Voucher
|
||||
1) settings/payment_method_settings => {payment_method:'GiftVoucher', is_active:true, ...}
|
||||
|
||||
* ToDo list
|
||||
|
||||
1. Migration
|
||||
|
||||
@@ -11,10 +11,15 @@
|
||||
</div> -->
|
||||
<div class="row">
|
||||
<div class="col-lg-11 col-md-11 col-sm-11">
|
||||
<div class="">
|
||||
<div class="row">
|
||||
<span id="receipt_no" class="hidden"><%=@sale_data.receipt_no rescue ' '%></span>
|
||||
<% @payment_method_setting.where("is_active = true").each do |payment_method|%>
|
||||
<div class="purple others-payment bottom left m-l-30 <%= payment_method.payment_method %>" data-type="<%= payment_method.payment_method %>" id="<%= payment_method.payment_method %>" data-url="<%=payment_method.gateway_url%>" data-sale-id="<%= @sale_id%>"><%= payment_method.payment_method %></div>
|
||||
<% @payment_method_setting.where("is_active = true").each_with_index do |payment_method, payment_index|%>
|
||||
<% if payment_index > 0 && payment_index%3==0 %>
|
||||
<div class="row clearfix"></div>
|
||||
<% end %>
|
||||
<div class="col-xs-4 col-sm-4 col-md-4 col-lg-4">
|
||||
<div class="purple others-payment text-center m-l-10 m-b-10 <%= payment_method.payment_method %>" data-type="<%= payment_method.payment_method %>" id="<%= payment_method.payment_method %>" data-url="<%=payment_method.gateway_url%>" data-sale-id="<%= @sale_id%>"><%= payment_method.payment_method %></div>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user