Created
November 3, 2013 00:12
-
-
Save foxtacles/7284937 to your computer and use it in GitHub Desktop.
Revisions
-
foxtacles created this gist
Nov 3, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ invoice.transactions.sum(:total) Netto invoice.total_with_vats - Netto + VATS + Marge abzgl. Gutschein invoice.total_without_vats - Netto + Marge abzgl. Gutschein invoice.margin_only Marge-Anteil von obigem invoice.vats_only VATS-Anteil von obigem invoice.total_without_vats - invoice.margin_only => Netto abzgl. Gutschein