From: Moritz Bunkus Date: Fri, 1 Jun 2007 10:11:18 +0000 (+0000) Subject: Kosmetik. X-Git-Tag: release-2.4.3^2~214 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d5c1e4fa391f26fc0acd568729a98493edf319d8;p=kivitendo-erp.git Kosmetik. --- diff --git a/bin/mozilla/ap.pl b/bin/mozilla/ap.pl index 0b2676f0d..f69793b47 100644 --- a/bin/mozilla/ap.pl +++ b/bin/mozilla/ap.pl @@ -1000,7 +1000,7 @@ sub post_payment { ($form->{AP}) = split /--/, $form->{AP}; ($form->{AP_paid}) = split /--/, $form->{AP_paid}; - $form->redirect($locale->text(' Payment posted!')) + $form->redirect($locale->text('Payment posted!')) if (AP->post_payment(\%myconfig, \%$form)); $form->error($locale->text('Cannot post payment!')); diff --git a/bin/mozilla/ar.pl b/bin/mozilla/ar.pl index eb344360d..8a01c1959 100644 --- a/bin/mozilla/ar.pl +++ b/bin/mozilla/ar.pl @@ -1026,7 +1026,7 @@ sub post_payment { ($form->{AR}) = split /--/, $form->{AR}; ($form->{AR_paid}) = split /--/, $form->{AR_paid}; - $form->redirect($locale->text(' Payment posted!')) + $form->redirect($locale->text('Payment posted!')) if (AR->post_payment(\%myconfig, \%$form)); $form->error($locale->text('Cannot post payment!')); diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl index 9102b4377..55a80faa2 100644 --- a/bin/mozilla/ir.pl +++ b/bin/mozilla/ir.pl @@ -1049,19 +1049,19 @@ sub post_payment { ($form->{AP}) = split /--/, $form->{AP}; ($form->{AP_paid}) = split /--/, $form->{AP_paid}; if (IR->post_payment(\%myconfig, \%$form)){ - - if(!exists $form->{addition} && $form->{id} ne "") { + if (!exists $form->{addition} && $form->{id} ne "") { # saving the history - $form->{snumbers} = qq|invnumber_| . $form->{invnumber}; + $form->{snumbers} = qq|invnumber_| . $form->{invnumber}; $form->{addition} = "PAYMENT POSTED"; $form->{what_done} = $form->{currency} . qq| | . $form->{paid} . qq| | . $locale->text("POSTED"); $form->save_history($form->dbconnect(\%myconfig)); - # /saving the history - $form->redirect($locale->text(' Payment posted!')); + # /saving the history } + + $form->redirect($locale->text('Payment posted!')); } - $form->error($locale->text('Cannot post payment!')); + $form->error($locale->text('Cannot post payment!')); $lxdebug->leave_sub(); } diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 2cbf9cd3f..693914fa7 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -1373,7 +1373,7 @@ sub post_payment { ($form->{AR}) = split /--/, $form->{AR}; ($form->{AR_paid}) = split /--/, $form->{AR_paid}; relink_accounts(); - $form->redirect($locale->text(' Payment posted!')) + $form->redirect($locale->text('Payment posted!')) if (IS->post_payment(\%myconfig, \%$form)); $form->error($locale->text('Cannot post payment!')); diff --git a/locale/de/all b/locale/de/all index 0c2c2f862..6eb2f3acc 100644 --- a/locale/de/all +++ b/locale/de/all @@ -7,7 +7,6 @@ $self->{texts} = { ' Date missing!' => ' Datum fehlt!', ' Number' => ' Nummer', ' Part Number missing!' => ' Artikelnummer fehlt!', - ' Payment posted!' => 'Zahlung gebucht!', ' missing!' => ' fehlt!', '<%account_number%> -- Your account number' => '<%account_number%> -- Ihre Kontonummer', '<%bank%> -- Your bank' => '<%bank%> -- Der Name Ihrer Bank', diff --git a/locale/de/ap b/locale/de/ap index 4c630250a..db0b8ffac 100644 --- a/locale/de/ap +++ b/locale/de/ap @@ -1,5 +1,4 @@ $self->{texts} = { - ' Payment posted!' => 'Zahlung gebucht!', 'ADDED' => 'Hinzugefügt', 'AP Transaction' => 'Kreditorenbuchung', 'AP Transaction (abbreviation)' => 'K', @@ -113,6 +112,7 @@ $self->{texts} = { 'Part Number' => 'Artikelnummer', 'Part description' => 'Artikelbeschreibung', 'Payment date missing!' => 'Tag der Zahlung fehlt!', + 'Payment posted!' => 'Zahlung gebucht!', 'Payments' => 'Zahlungsausgänge', 'Pick List' => 'Sammelliste', 'Please enter values' => 'Bitte Werte eingeben', diff --git a/locale/de/ar b/locale/de/ar index c502979c5..2b8752fde 100644 --- a/locale/de/ar +++ b/locale/de/ar @@ -1,5 +1,4 @@ $self->{texts} = { - ' Payment posted!' => 'Zahlung gebucht!', 'ADDED' => 'Hinzugefügt', 'AR Transaction' => 'Debitorenbuchung', 'AR Transaction (abbreviation)' => 'D', @@ -118,6 +117,7 @@ $self->{texts} = { 'Part Number' => 'Artikelnummer', 'Part description' => 'Artikelbeschreibung', 'Payment date missing!' => 'Tag der Zahlung fehlt!', + 'Payment posted!' => 'Zahlung gebucht!', 'Pick List' => 'Sammelliste', 'Please enter values' => 'Bitte Werte eingeben', 'Post' => 'Buchen', diff --git a/locale/de/ir b/locale/de/ir index 4391d0843..15f8b0763 100644 --- a/locale/de/ir +++ b/locale/de/ir @@ -1,6 +1,5 @@ $self->{texts} = { ' Date missing!' => ' Datum fehlt!', - ' Payment posted!' => 'Zahlung gebucht!', '*/' => '*/', 'ADDED' => 'Hinzugefügt', 'Account' => 'Konto', @@ -138,6 +137,7 @@ $self->{texts} = { 'Part Number' => 'Artikelnummer', 'Part description' => 'Artikelbeschreibung', 'Payment date missing!' => 'Tag der Zahlung fehlt!', + 'Payment posted!' => 'Zahlung gebucht!', 'Payments' => 'Zahlungsausgänge', 'Phone' => 'Telefon', 'Pick List' => 'Sammelliste', diff --git a/locale/de/is b/locale/de/is index c65a84815..eec545501 100644 --- a/locale/de/is +++ b/locale/de/is @@ -1,6 +1,5 @@ $self->{texts} = { ' Date missing!' => ' Datum fehlt!', - ' Payment posted!' => 'Zahlung gebucht!', '*/' => '*/', 'ADDED' => 'Hinzugefügt', 'Account' => 'Konto', @@ -157,6 +156,7 @@ $self->{texts} = { 'Part description' => 'Artikelbeschreibung', 'Payment Terms' => 'Zahlungskonditionen', 'Payment date missing!' => 'Tag der Zahlung fehlt!', + 'Payment posted!' => 'Zahlung gebucht!', 'Payments' => 'Zahlungsausgänge', 'Phone' => 'Telefon', 'Pick List' => 'Sammelliste',