equal split and order split in order tab'
This commit is contained in:
@@ -386,9 +386,14 @@
|
||||
end
|
||||
%>
|
||||
</table>
|
||||
<button class='btn btn-primary btn-block waves-effect' id='add_invoice'> Add to existing invoice</button>
|
||||
<% if !@spit_bill.nil? && @spit_bill == '1' %>
|
||||
<button class='btn btn-primary btn-block waves-effect' id='split_bill'> Split Bill</button>
|
||||
|
||||
<% if !@split_bill.nil? %>
|
||||
<% if @split_bill == '1' %>
|
||||
<button class='btn btn-primary waves-effect' id='add_invoice'> Add to existing invoice</button>
|
||||
<button class='btn btn-primary waves-effect' id='split_bill'> Split Bill</button>
|
||||
<% else %>
|
||||
<button class='btn btn-primary btn-block waves-effect' id='add_invoice'> Add to existing invoice</button>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% if @sale_array.size > 1 %>
|
||||
@@ -407,6 +412,11 @@
|
||||
<button class='btn btn-sm btn-primary invoicedetails' id="<%= sale.sale_id %>">Show
|
||||
Detail
|
||||
</button>
|
||||
<% if !@split_bill.nil? %>
|
||||
<% if @split_bill == '1' %>
|
||||
<button class='btn btn-sm btn-primary waves-effect' id='split_bill'> Split Bill</button>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user