https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20150

Katrin Fischer <katrin.fisc...@bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #8 from Katrin Fischer <katrin.fisc...@bsz-bw.de> ---
Hi Jonathan,

the calculation for "Amount" is not right:

+    } elsif ( $process == 3 ) { # Amount
+        $strcalc .= q|SUM(| .
C4::Acquisition::get_rounding_sql(q|ecost_tax_included|) . q| * quantity ) +
SUM(| . C4::Acquisition::get_rounding_sql(q|COALESCE(unitprice_tax_included,
ecost_tax_included)|) . q| * quantity ) AS budget_total |;


I see about double of the value I should be seening. I think this is because in
case of a received order, we do add up ecost + unit_price here for the same
order line.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to