diff --git a/app/views/origami/payments/show.html.erb b/app/views/origami/payments/show.html.erb index 6cb85113..195719bd 100755 --- a/app/views/origami/payments/show.html.erb +++ b/app/views/origami/payments/show.html.erb @@ -401,14 +401,14 @@ <% 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 - <% if @other_payment < 0 %> + <% if @other_payment <= 0 %> <%if @sale_data.total_discount == 0 %> Waste Spoile @@ -416,14 +416,14 @@ <% end %> <% end %> <% else %> - <% if @other_payment < 0 && @sale_payment.nil?%> + <% if @other_payment <= 0 && @sale_payment.nil?%> <%if @sale_data.total_discount == 0 %>