projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
f-tex Versionsnummern angepasst
[kivitendo-erp.git]
/
sql
/
Pg-upgrade2
/
umstellung_eur.pl
diff --git
a/sql/Pg-upgrade2/umstellung_eur.pl
b/sql/Pg-upgrade2/umstellung_eur.pl
index
c0c2b7a
..
438d2ee
100644
(file)
--- a/
sql/Pg-upgrade2/umstellung_eur.pl
+++ b/
sql/Pg-upgrade2/umstellung_eur.pl
@@
-1,9
+1,9
@@
# @tag: umstellung_eur
# @tag: umstellung_eur
-# @description: Variable eur umstellen: bitte
doc/umstellung_eur.txt
lesen
+# @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
# @depends: release_2_6_3
# @charset: utf-8
-# this script relies on $eur still being set in
lx_office
.conf, and the
+# this script relies on $eur still being set in
kivitendo
.conf, and the
# variable available in $::lx_office_conf{system}->{eur}
use utf8;
# variable available in $::lx_office_conf{system}->{eur}
use utf8;
@@
-43,7
+43,7
@@
sub do_update {
my $profit_determination;
# check current configuration and set default variables accordingly, so that
my $profit_determination;
# check current configuration and set default variables accordingly, so that
- #
Lx-Office
behaviour isn't changed by this update
+ #
kivitendo
behaviour isn't changed by this update
if ($::lx_office_conf{system}->{eur} == 0 ) {
$accounting_method = 'accrual';
if ($::lx_office_conf{system}->{eur} == 0 ) {
$accounting_method = 'accrual';
@@
-62,7
+62,7
@@
sub do_update {
# only set parameters if they haven't already been set (this in only the case
# when upgrading)
# 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);
"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);