diff --git a/app/views/origami/payments/show.html.erb b/app/views/origami/payments/show.html.erb index fec0adda..6cb85113 100755 --- a/app/views/origami/payments/show.html.erb +++ b/app/views/origami/payments/show.html.erb @@ -401,26 +401,34 @@ <% if current_login_employee.role == "cashier" %> - <% if @other_payment <= 0 && @sale_payment.nil? %> + <% if @other_payment < 0 && @sale_payment.nil? %> <%if @sale_data.total_discount == 0 %> FOC <% end %> <%end %> <% if @sale_payment.nil? %> Void - Waste - Spoile + <% if @other_payment < 0 %> + <%if @sale_data.total_discount == 0 %> + Waste + Spoile + <% end %> + <% end %> <% end %> <% else %> - <% if @other_payment <= 0 && @sale_payment.nil?%> + <% if @other_payment < 0 && @sale_payment.nil?%> <%if @sale_data.total_discount == 0 %> - + <% if @other_payment < 0 %> + <%if @sale_data.total_discount == 0 %> + + + <% end %> + <% end %> <% end %> <% end %>