From: Sven Schöling Date: Tue, 28 Dec 2010 12:49:19 +0000 (+0100) Subject: Merge branch 'master' of ssh://lx-office.linet-services.de/~/lx-office-erp X-Git-Tag: release-2.6.2beta1~51^2~9 X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/commitdiff_plain/40c4eff395b9a1524d06e25ac7548113f9c1dc71?hp=1fce9d15e621be38ea5ce59c7f44ad30b770959e Merge branch 'master' of ssh://lx-office.linet-services.de/~/lx-office-erp --- diff --git a/bin/mozilla/ar.pl b/bin/mozilla/ar.pl index e2777bd49..251c4644c 100644 --- a/bin/mozilla/ar.pl +++ b/bin/mozilla/ar.pl @@ -982,9 +982,13 @@ sub update { $form->{invdate} = $form->{transdate}; - my %saved_variables = map +( $_ => $form->{$_} ), qw(AR AR_amount_1 taxchart_1); - + my %saved_variables = map +( $_ => $form->{$_} ), qw(AR AR_amount_1 taxchart_1 oldcustomer); + &check_name("customer"); + + # check_name ruft get_customer auf, oldcustomer wird überschrieben, daher wird dies vorher gemerkt + # get_customer holt Bemerkungen als intnotes, für Debitorenbuchungen gibt es aber nur das Feld notes + $form->{notes} = $form->{intnotes} if $saved_variables{oldcustomer} ne $form->{customer}; $form->{AR} = $saved_variables{AR}; if ($saved_variables{AR_amount_1} =~ m/.--./) { diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index 2b1bdd948..120606acd 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -1044,7 +1044,8 @@ sub display_stock_in_form { my $part_info = IC->get_basic_part_info('id' => $form->{parts_id}); my $units = AM->retrieve_units(\%myconfig, $form); - my $units_data = AM->unit_select_data($units, undef, undef, $part_info->{unit}); + # der zweite Parameter von unit_select_data gibt den default-Namen (selected) vor + my $units_data = AM->unit_select_data($units, $form->{do_unit}, undef, $part_info->{unit}); $form->get_lists('warehouses' => { 'key' => 'WAREHOUSES', 'bins' => 'BINS' }); diff --git a/bin/mozilla/wh.pl b/bin/mozilla/wh.pl index c990e632f..fc34ba6e7 100644 --- a/bin/mozilla/wh.pl +++ b/bin/mozilla/wh.pl @@ -85,7 +85,8 @@ sub transfer_warehouse_selection { show_no_warehouses_error() if (!scalar @{ $form->{WAREHOUSES} }); my $units = AM->retrieve_units(\%myconfig, $form); - $form->{UNITS} = AM->unit_select_data($units, $form->{unit}, 0, $form->{partunit}); + # der zweite Parameter von unit_select_data gibt den default-Namen (selected) vor + $form->{UNITS} = AM->unit_select_data($units, $form->{partunit}, 0, $form->{partunit}); if (scalar @{ $form->{WAREHOUSES} }) { $form->{warehouse_id} ||= $form->{WAREHOUSES}->[0]->{id}; diff --git a/locale/de/all b/locale/de/all index 68f14a465..f25d6372f 100644 --- a/locale/de/all +++ b/locale/de/all @@ -448,7 +448,7 @@ $self->{texts} = { 'Currency' => 'Währung', 'Current / Next Level' => 'Aktuelles / Nächstes Mahnlevel', 'Current Earnings' => 'Gewinn', - 'Current assets account' => '', + 'Current assets account' => 'Konto für Umlaufvermögen', 'Current unit' => 'Aktuelle Einheit', 'Current value:' => 'Aktueller Wert:', 'Custom Variables' => 'Benutzerdefinierte Variablen', diff --git a/locale/de_DE/all b/locale/de_DE/all index d954187a2..60afbed2d 100644 --- a/locale/de_DE/all +++ b/locale/de_DE/all @@ -2,7 +2,6 @@ # -*- coding: utf-8; -*- # vim: fenc=UTF-8 - # These are all the texts to build the translations files. # The file has the form of 'english text' => 'foreign text', # you can add the translation in this file or in the 'missing' file @@ -448,7 +447,7 @@ $self->{texts} = { 'Currency' => 'Währung', 'Current / Next Level' => 'Aktuelles / Nächstes Mahnlevel', 'Current Earnings' => 'Gewinn', - 'Current assets account' => '', + 'Current assets account' => 'Konto für Umlaufvermögen', 'Current unit' => 'Aktuelle Einheit', 'Current value:' => 'Aktueller Wert:', 'Custom Variables' => 'Erweitert', @@ -564,7 +563,7 @@ $self->{texts} = { 'Do you really want to delete AR transaction #1?' => 'Wollen Sie wirklich die Debitorenbuchung #1 löschen?', 'Do you really want to delete GL transaction #1?' => 'Wollen Sie wirklich die Dialogbuchung #1 löschen?', 'Do you really want to delete this group?' => 'Gruppe wirklich löschen?', - 'Do you really want to delete this object?' => '', + 'Do you really want to delete this object?' => 'Wirklich löschen?', 'Do you really want to delete this warehouse?' => 'Wollen Sie dieses Lager wirklich löschen?', 'Do you want Lx-Office to create a group for access to all functions?' => 'Wollen Sie, dass Lx-Office eine Gruppe mit Zugriff auf alle Funktionen anlegt?', 'Do you want to limit your search?' => 'Wollen Sie Ihre Suche spezialisieren?', @@ -1217,7 +1216,7 @@ $self->{texts} = { 'Please enter the login for the new user.' => 'Bitte geben Sie das Login für den neuen Benutzer ein.', 'Please enter the name of the database that will be used as the template for the new database:' => 'Bitte geben Sie den Namen der Datenbank an, die als Vorlage für die neue Datenbank benutzt wird:', 'Please enter the name of the dataset you want to restore the backup in.' => 'Bitte geben Sie den Namen der Datenbank ein, in der Sie die Sicherung wiederherstellen wollen.', - 'Please enter the sales tax identification number.' => '', + 'Please enter the sales tax identification number.' => 'Bitte geben Sie die Umsatzsteueridentifikationsnummer an.', 'Please enter the taxnumber in the administration menu user preferences' => 'Bitte bei den Einstellungen des aktuellen Benutzers im Administrationsmodul angeben.', 'Please enter values' => 'Bitte Werte eingeben', 'Please insert object dimensions below.' => 'Bitte geben Sie die Abmessungen unten ein', diff --git a/templates/webpages/do/stock_in_form.html b/templates/webpages/do/stock_in_form.html index 238747ef6..0d5ea684f 100644 --- a/templates/webpages/do/stock_in_form.html +++ b/templates/webpages/do/stock_in_form.html @@ -138,7 +138,7 @@