diff --git a/app/views/transactions/shift_sales/show.html.erb b/app/views/transactions/shift_sales/show.html.erb index 3b2b6c6d..77414ed0 100755 --- a/app/views/transactions/shift_sales/show.html.erb +++ b/app/views/transactions/shift_sales/show.html.erb @@ -150,13 +150,13 @@ JCB Payment <%=other.master_amount.round(2) rescue 0.0 %> - <% @total_amount = @total_amount+other.master_amount rescue 0.0 %> + <% @total_amount = @total_amount+other.jcb_amount rescue 0.0 %> Master Payment <%=other.jcb_amount.round(2) rescue 0.0 %> - <% @total_amount = @total_amount+other.jcb_amount rescue 0.0 %> + <% @total_amount = @total_amount+other.master_amount rescue 0.0 %>