payment tax UI
This commit is contained in:
@@ -97,15 +97,53 @@
|
||||
<td class="item-attr"><strong><span>(<%= number_with_precision(@sale_data.total_discount, precision: precision.to_i ) rescue number_with_precision(0, precision: precision.to_i ) %>)</span></strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="charges-name"><strong>Tax
|
||||
(<% @i = 0
|
||||
@account_arr.each do |ct| %>
|
||||
<%=ct.name%>
|
||||
<% if @account_arr.count != @i+1%>
|
||||
+ <% @i =+1 %>
|
||||
<%end%>
|
||||
<%end %>)
|
||||
</strong></td>
|
||||
<td class="charges-name">
|
||||
<strong>
|
||||
Tax
|
||||
<!-- (<% @i = 0
|
||||
@account_arr.each do |ct| %>
|
||||
<%=ct%>
|
||||
<% if @account_arr.count != @i+1%>
|
||||
+ <% @i =+1 %>
|
||||
<%end%>
|
||||
<%end %>) -->
|
||||
<div class="row m-l-15">
|
||||
<div class="col-xs-6 col-sm-3 col-md-3 col-lg-3">
|
||||
<div class="form-check">
|
||||
<input type="radio" class="form-check-input" id="tax_type_0" name="tax_type" checked="checked">
|
||||
<label class="form-check-label" for="tax_type_0">
|
||||
Service Charges + Commercial Tax
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-6 col-sm-3 col-md-3 col-lg-3">
|
||||
<div class="form-check">
|
||||
<input type="radio" class="form-check-input" id="tax_type_1" name="tax_type">
|
||||
<label class="form-check-label" for="tax_type_1">Service Charges</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-6 col-sm-3 col-md-3 col-lg-3">
|
||||
<div class="form-check">
|
||||
<input type="radio" class="form-check-input" id="tax_type_2" name="tax_type">
|
||||
<label class="form-check-label" for="tax_type_2">
|
||||
Commercial Tax
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-6 col-sm-3 col-md-3 col-lg-3">
|
||||
<div class="form-check">
|
||||
<input type="radio" class="form-check-input" id="tax_type_3" name="tax_type">
|
||||
<label class="form-check-label" for="tax_type_3">
|
||||
No Tax
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</strong>
|
||||
</td>
|
||||
<td class="item-attr"><strong><span><%= number_with_precision(@sale_data.total_tax, precision: precision.to_i ) rescue number_with_precision(0, precision: precision.to_i )%></span></strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user