Skip to content
Snippets Groups Projects
Commit cdabb7e9 authored by s.garb's avatar s.garb
Browse files

[Projekt: Entwicklung - xRM][TicketNr.: 1068641][Angebote - Gesamtrabatt / Rechnungsrabatt]

parent ae01de18
No related branches found
No related tags found
No related merge requests found
......@@ -197,7 +197,7 @@ OfferUtils.buildOfferReport = function (pOfferID, pExclDiscountGroupcodes)
discount = eMath.subDec(offerData[17].toString(), offerData[18].toString());
discount = text.formatDouble(discount.toString(), "#,##0.00", true);
}
if (!printHeadDiscount && discount)
if (!printHeadDiscount && discount && parseFloat(discount) != parseFloat("0"))
printHeadDiscount = true;
if(printHeadDiscount){
total = eMath.addDec(offerData[18], offerData[19])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment