Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
draft approval shows full value rather than discounted value.
Care to elaborate?
Create a sales invoice with a quantity, sellprice, and discount. I used qty of 10, sellprice of 120, and discount of 50%.
Save. Note the invoice number
Go to transaction approval. The draft shows the full amount, not the discounted amount.
On 'master', this works for me. It really can't NOT work, because the numbers saved in the database (and later consulted in public.draft__search) are 0 (I used 100% discount, though).
Ah! The point is that one uses a discount other than 100%, because I do see this with a 50% discount.
Pull request awaiting review: https://github.com/ledgersmb/LedgerSMB/pull/66