Skip to content

Commit

Permalink
Fix synced invoice total_amount
Browse files Browse the repository at this point in the history
  • Loading branch information
Kagemaru committed Mar 8, 2024
1 parent 3c36e4f commit 95d2715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/domain/invoicing/small_invoice/invoice_sync.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def total_amount_without_vat(item)
total -= position_discount(p, total)
total -= position_included_vat(p, total) if vat_included
total
end
end.sum
end

def position_discount(p, total)
Expand Down

0 comments on commit 95d2715

Please sign in to comment.