Skip to content
Snippets Groups Projects
Commit c6efc4cb authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

Offer-report: added footer text

parent 19f46679
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,8 @@ OfferUtils.openOfferReport = function (pOfferID)
"VAT",
sqlUtil.isNull("VERSNR", "0"),
sqlUtil.isNull("OFFERCODE", "0"),
"SALESPROJECT_ID" //12
"SALESPROJECT_ID", //12
"FOOTER" //13
];
var offerSql = SqlCondition.begin()
......@@ -195,6 +196,7 @@ OfferUtils.openOfferReport = function (pOfferID)
item[5], //itemposition
item[6], //productcode
offerData[8], //header
offerData[13], //footer
text.formatDouble(item[9], translate.text("#,##0"), true), //quantity
text.formatDouble(item[10], translate.text("#,##0.00"), true), //price
text.formatDouble(item[11], translate.text("0.00"), true), //discount
......@@ -267,14 +269,15 @@ OfferUtils.openOfferReport = function (pOfferID)
"OFFERITEM_ITEMPOSITION",
"PRODUCT_PRODUCTCODE", //8
"OFFER_HEADER",
"OFFER_FOOTER",
"OFFERITEM_QUANTITY",
"OFFERITEM_PRICE",
"OFFERITEM_DISCOUNT", //12
"OFFERITEM_DISCOUNT", //13
"OFFER_VERSNR",
"OFFER_OFFERCODE",
"OFFERITEM_VAT",
"ITEMSUM", // 16
"OFFERITEM_UNITTEXT" //17
"ITEMSUM", // 17
"OFFERITEM_UNITTEXT"
])
.add(itemData));
offerReport.openReport();
......
This diff is collapsed.
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