Skip to content

Commit

Permalink
Update show.html.haml
Browse files Browse the repository at this point in the history
sum_og without markup, like order.sum
  • Loading branch information
mjavurek authored Nov 11, 2024
1 parent c5761bb commit 34e1c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/finance/invoices/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
%dt= heading_helper(Invoice, :orders) + ':'
%dd><
- @invoice.orders.order(:ends).each_with_index do |order, index|
- sum_og = order.sum(:groups)
- sum_og = order.sum(:groups_without_markup)
- sum = order.sum
- transport = order.transport || 0
- total += sum_og + transport
Expand Down

0 comments on commit 34e1c35

Please sign in to comment.