Ein Vorkommen von eur in ic.pl entfernt.
authorSven Schöling <s.schoeling@linet-services.de>
Wed, 30 Nov 2011 17:32:05 +0000 (18:32 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Wed, 30 Nov 2011 17:32:05 +0000 (18:32 +0100)
$eur wurde hier in sql-ledger benutzt um die Buchungskonten zu
unterscheiden. Das wird aber seit Einführung der Buchungsgruppen nicht mehr
gemacht. Ergo muss eur hier auch nicht bereitgestellt werden.

bin/mozilla/ic.pl

index a303781..c6714e6 100644 (file)
@@ -1538,9 +1538,6 @@ sub form_header {
 
   $auth->assert('part_service_assembly_edit');
 
-  # what does eur set here? why is it in namespace?
-  # call of get_accounting_method preserves format of $form->{eur}, which expects 1 or 0
-  $form->{eur}              = $::instance_conf->get_accounting_method eq 'cash' ? 1 : 0; # config dumps into namespace - yuck
   $form->{pg_keys}          = sub { "$_[0]->{partsgroup}--$_[0]->{id}" };
   $form->{description_area} = ($form->{rows} = $form->numtextrows($form->{description}, 40)) > 1;
   $form->{notes_rows}       =  max 4, $form->numtextrows($form->{notes}, 40), $form->numtextrows($form->{formel}, 40);