From e7127ad02437a6311dc646db8027c44ba19bd62c Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 4 Jul 2007 13:56:55 +0000 Subject: [PATCH 1/1] =?utf8?q?Beim=20"Erneuern"=20beim=20Erfassen=20von=20?= =?utf8?q?Dienstleistungen=20auch=20=C3=BCber=20"check=5Fform"=20gehen,=20?= =?utf8?q?damit=20die=20Preisgruppen=20und=20Zahlungskonditionen=20richtig?= =?utf8?q?=20ausgef=C3=BCllt=20werden.=20Fix=20f=C3=BCr=20Bug=20685.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/ic.pl | 11 +---------- bin/mozilla/io.pl | 3 +++ doc/changelog | 4 ++++ 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index a4f41a388..913c92d2c 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -2815,20 +2815,11 @@ sub update { } } - } - if ($form->{item} eq "part") { + } elsif (($form->{item} eq 'part') || ($form->{item} eq 'service')) { &check_form; } - if ($form->{item} eq 'service') { - map({ $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) } - qw(sellprice listprice lastcost)); - &form_header; - &price_row; - &form_footer; - } - $lxdebug->leave_sub(); } diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 2c44d60c1..314368d2c 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1067,6 +1067,9 @@ sub check_form { $form->redo_rows(\@flds, \@a, $count, $form->{makemodel_rows}); $form->{makemodel_rows} = $count; + } elsif ($form->{item} eq 'service') { + map { $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) } qw(listprice sellprice lastcost); + } else { # this section applies to invoices and orders diff --git a/doc/changelog b/doc/changelog index a1d75531d..fb3c6ecff 100644 --- a/doc/changelog +++ b/doc/changelog @@ -117,6 +117,8 @@ Bugfixes: + - Beim Erfassen von Dienstleistungen wurde beim "Erneuern" die + Drop-Down-Box für die Zahlungskonditionen nicht erneut aufgebaut. - Beim Aufrufen bestehender Dialogbuchungen wurde das Feld 'Beleg' nicht aus der Datenbank geholt. - Webdav: Beim Erstellen der Ordner werden Pfadtrennzeichen (also @@ -229,6 +231,8 @@ - Bugfix 690 - keine Rechnung über 0,00€ möglich - Bugfix 689 - Nach DB-Update kein weiter-Button - Bugfix 686 - Historien-Button unter Stammdaten->Projekt erfassen + - Bugfix 685 - Stammdaten -> Dienstleistung erffassen + Zahlungskonditionen nach "Erneuern" - Bugfix 684 - Stammdaten -> Dienstleistung erffassen Formel hat keine textarea - Bugfix 681 - Debitorenbuchungen: Liste als PDF exportieren - Bugfix 678 - Nummernkreise für selbst angelegte Kundentypen werden -- 2.20.1