From: Bernd Bleßmann Date: Mon, 10 Jun 2013 13:39:58 +0000 (+0200) Subject: flatten_to_form: auch department_1, department_2 und ustid berücksichtigen. X-Git-Tag: release-3.1.0beta1~340^2^2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3123d6f881b77d0d08874b2fa5356a81710fc930;p=kivitendo-erp.git flatten_to_form: auch department_1, department_2 und ustid berücksichtigen. --- diff --git a/SL/DB/Helper/FlattenToForm.pm b/SL/DB/Helper/FlattenToForm.pm index d593d6935..80633b602 100644 --- a/SL/DB/Helper/FlattenToForm.pm +++ b/SL/DB/Helper/FlattenToForm.pm @@ -29,8 +29,9 @@ sub flatten_to_form { $form->{vc} = $vc if ref($self) =~ /^SL::DB::.*Invoice/; - my @vc_fields = (qw(account_number bank bank_code bic business city contact country creditlimit discount - email fax homepage iban language name payment_terms phone street taxnumber zipcode), + my @vc_fields = (qw(account_number bank bank_code bic business city contact country creditlimit + department_1 department_2 discount email fax homepage iban language name + payment_terms phone street taxnumber ustid zipcode), "${vc}number", ($vc eq 'customer')? 'c_vendor_id': 'v_customer_id'); my @vc_prefixed_fields = qw(email fax notes number phone);