From: Bernd Bleßmann Date: Fri, 4 Dec 2015 12:53:48 +0000 (+0100) Subject: FlattenToForm: Preis- und Rabatt-Quellen berücksichtigen. X-Git-Tag: release-3.4.1~555 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=109745f3d5a0bee3a162ee5d8b6ebe9b8378c489;p=kivitendo-erp.git FlattenToForm: Preis- und Rabatt-Quellen berücksichtigen. --- diff --git a/SL/DB/Helper/FlattenToForm.pm b/SL/DB/Helper/FlattenToForm.pm index 83f36cde3..6a0bdc232 100644 --- a/SL/DB/Helper/FlattenToForm.pm +++ b/SL/DB/Helper/FlattenToForm.pm @@ -63,7 +63,8 @@ sub flatten_to_form { _copy($item->part, $form, '', "_${idx}", 0, qw(id partnumber weight)); _copy($item->part, $form, '', "_${idx}", 0, qw(listprice)); _copy($item, $form, '', "_${idx}", 0, qw(description project_id ship serialnumber pricegroup_id ordnumber donumber cusordnumber unit - subtotal longdescription price_factor_id marge_price_factor approved_sellprice reqdate transdate)); + subtotal longdescription price_factor_id marge_price_factor approved_sellprice reqdate transdate + active_price_source active_discount_source)); _copy($item, $form, '', "_${idx}", $format_noround, qw(qty sellprice)); _copy($item, $form, '', "_${idx}", $format_amounts, qw(marge_total marge_percent lastcost)); _copy($item, $form, '', "_${idx}", $format_percent, qw(discount));