X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fap.pl;h=425816f6ee8467c32f39b48d8eaebc5d19741130;hb=70539eb46c15dd0cb8e7965cc5090c90510ff18d;hp=82b8a508d8bcde342673f35ae8fb0e6aa990fd82;hpb=967813e1507fcf8da70d955b0129a8b92b696e20;p=kivitendo-erp.git diff --git a/bin/mozilla/ap.pl b/bin/mozilla/ap.pl index 82b8a508d..425816f6e 100644 --- a/bin/mozilla/ap.pl +++ b/bin/mozilla/ap.pl @@ -154,6 +154,12 @@ sub load_record_template { $::form->{$_} = $form_defaults->{$_} for keys %{ $form_defaults // {} }; flash('info', $::locale->text("The record template '#1' has been loaded.", $template->template_name)); + flash('info', $::locale->text("Payment bookings disallowed. After the booking this record may be " . + "suggested with the amount of '#1' or otherwise has to be choosen manually." . + " No automatic payment booking will be done to chart '#2'.", + $form_defaults->{paid_1_suggestion}, + $form_defaults->{AP_paid_1_suggestion}, + )) if $::form->{no_payment_bookings}; update( keep_rows_without_amount => 1, @@ -817,8 +823,9 @@ sub post { $form->{what_done} = "invoice"; $form->save_history; } - # /saving the history - # Dieser Text wird niemals ausgegeben: Probleme beim redirect? + # no restore_from_session_id needed. we like to have a newly generated + # list of invoices for bank transactions + print $form->redirect_header($form->{callback}) if ($form->{callback} =~ /BankTransaction/); $form->redirect($locale->text('AP transaction posted.')) unless $inline; } else { $form->error($locale->text('Cannot post transaction!')); @@ -998,7 +1005,7 @@ sub ap_transactions { 'ustid' => { 'text' => $locale->text('USt-IdNr.'), }, 'taxzone' => { 'text' => $locale->text('Tax rate'), }, 'payment_terms' => { 'text' => $locale->text('Payment Terms'), }, - 'charts' => { 'text' => $locale->text('Buchungskonto'), }, + 'charts' => { 'text' => $locale->text('Chart'), }, 'direct_debit' => { 'text' => $locale->text('direct debit'), }, );