# @tag: umstellung_eur
-# @description: Variable eur umstellen: bitte doc/umstellung_eur.txt lesen
-# @depends: units_id
+# @description: Variable eur umstellen: bitte in doc/dokumentation.pdf das entsprechende Kapitel zur Konfiguration von EUR lesen
+# @depends: release_2_6_3
# @charset: utf-8
# this script relies on $eur still being set in lx_office.conf, and the
# variable available in $::lx_office_conf{system}->{eur}
-# better @depends would be release_2_6_3
use utf8;
#use strict;
# only set parameters if they haven't already been set (this in only the case
# when upgrading)
- my $update_eur = "UPDATE defaults set accounting_method = '$accounting_method' where accounting_method is null;" .
+ my $update_eur = "UPDATE defaults set accounting_method = '$accounting_method' where accounting_method is null;" .
"UPDATE defaults set inventory_system = '$inventory_system' where inventory_system is null; " .
"UPDATE defaults set profit_determination = '$profit_determination' where profit_determination is null;";
do_query($update_eur);