From 79ae46a435c65fa188981f6b5c61e0e15d32fb23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Mon, 29 Apr 2013 09:58:45 +0200 Subject: [PATCH] FlattenToForm: auch currency (nicht nur curr) in die Form bringen. Betrifft #2247. --- SL/DB/Helper/FlattenToForm.pm | 1 + 1 file changed, 1 insertion(+) 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') -- 2.20.1