Skip to content

Commit

Permalink
Updated CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Tsoganov authored and Sergei Tsoganov committed Oct 3, 2023
1 parent dda3a8c commit 20dd41e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
03.10.2023
* Added Balance element to InvoiceSumGroup
* Added Balance element to InvoiceSumGroup [#41] (https://github.com/internetee/e_invoice/pull/41)

26.09.2023
* Updated wsdl test address [#36](https://github.com/internetee/e_invoice/pull/36)
Expand Down
2 changes: 1 addition & 1 deletion lib/e_invoice/generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def build_footer(e_invoice)
end

def format_decimal(decimal, scale: 2)
format("%.#{scale}f", decimal)
format("%.#{scale}f", decimal) if decimal
end
end
end

0 comments on commit 20dd41e

Please sign in to comment.