From: Moritz Bunkus Date: Tue, 2 Jan 2007 15:47:53 +0000 (+0000) Subject: Die Variablen "texnumber" (früher "steuernummer"), "co_ustid" und "duns" aus der... X-Git-Tag: release-2.4.1~1^2~104 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6dc16826718038718653bb07b130299fe2366e45;p=kivitendo-erp.git Die Variablen "texnumber" (früher "steuernummer"), "co_ustid" und "duns" aus der Benutzerkonfiguration in Vorlagen zur Verfügung stellen. Behebt die Bugzilla-IDs 466 und 468. --- diff --git a/SL/Form.pm b/SL/Form.pm index a2e55b0ce..d0cf6e8b1 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -773,7 +773,8 @@ sub parse_template { $self->{"notes"} = $self->{ $self->{"formname"} . "notes" }; map({ $self->{"employee_${_}"} = $myconfig->{$_}; } - qw(email tel fax name signature company address businessnumber)); + qw(email tel fax name signature company address businessnumber + co_ustid taxnumber duns)); map({ $self->{"employee_${_}"} =~ s/\\n/\n/g; } qw(company address signature)); diff --git a/SL/User.pm b/SL/User.pm index 88deb0b1f..0b42a35a9 100644 --- a/SL/User.pm +++ b/SL/User.pm @@ -1071,7 +1071,7 @@ sub config_vars { currency dateformat dbconnect dbdriver dbhost dbport dboptions dbname dbuser dbpasswd email fax name numberformat in_numberformat password printer role sid signature stylesheet tel templates vclimit angebote bestellungen rechnungen - anfragen lieferantenbestellungen einkaufsrechnungen steuernummer co_ustid duns menustyle); + anfragen lieferantenbestellungen einkaufsrechnungen taxnumber co_ustid duns menustyle); $main::lxdebug->leave_sub(); diff --git a/bin/mozilla/admin.pl b/bin/mozilla/admin.pl index 76513b0e1..20bb28071 100644 --- a/bin/mozilla/admin.pl +++ b/bin/mozilla/admin.pl @@ -539,8 +539,8 @@ sub form_header { - | . $locale->text('Steuernummer') . qq| - + | . $locale->text('Tax number') . qq| + | . $locale->text('Ust-IDNr') . qq| diff --git a/doc/dokumentenvorlagen-und-variablen.html b/doc/dokumentenvorlagen-und-variablen.html index 5af041bc8..0de6a50b4 100644 --- a/doc/dokumentenvorlagen-und-variablen.html +++ b/doc/dokumentenvorlagen-und-variablen.html @@ -396,6 +396,14 @@ td { employee_company Firmenname + + employee_co_ustid + Usatzsteuer-Identifikationsnummer + + + employee_duns + DUNS-Nummer + employee_email Email @@ -412,6 +420,10 @@ td { employee_signature Signatur + + employee_taxnumber + Steuernummer + employee_tel Telefonnummer