From: Bernd Bleßmann Date: Mon, 29 Apr 2013 07:58:45 +0000 (+0200) Subject: FlattenToForm: auch currency (nicht nur curr) in die Form bringen. X-Git-Tag: release-3.1.0beta1~449 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=79ae46a435c65fa188981f6b5c61e0e15d32fb23;p=kivitendo-erp.git FlattenToForm: auch currency (nicht nur curr) in die Form bringen. Betrifft #2247. --- diff --git a/SL/DB/Helper/FlattenToForm.pm b/SL/DB/Helper/FlattenToForm.pm index ff279cde0..d5805b0c0 100644 --- a/SL/DB/Helper/FlattenToForm.pm +++ b/SL/DB/Helper/FlattenToForm.pm @@ -18,6 +18,7 @@ sub flatten_to_form { employee_id salesman_id closed department_id language_id payment_id delivery_customer_id delivery_vendor_id shipto_id proforma globalproject_id delivered transaction_description container_type accepted_by_customer invoice terms storno storno_id dunning_config_id orddate quodate reqdate gldate duedate deliverydate datepaid transdate)); + $form->{currency} = $form->{curr}; # curr is called currency in almost all forms if (_has($self, 'transdate')) { my $transdate_idx = ref($self) eq 'SL::DB::Order' ? ($self->quotation ? 'quodate' : 'orddate')