From: Bernd Bleßmann Date: Mon, 29 Jun 2015 13:47:07 +0000 (+0200) Subject: VK-Rechnungsmaske: "zurück"-Link hinzugefügt, um z.B. zur Berichtsliste zurückzukehren X-Git-Tag: release-3.3.0beta~34^2~5 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a03aab5518e351fe903e201239e1e5f09278f11d;p=kivitendo-erp.git VK-Rechnungsmaske: "zurück"-Link hinzugefügt, um z.B. zur Berichtsliste zurückzukehren Dieser Link ruft das gespeicherte callback auf, falls vorhanden. --- diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 286e9ab5e..e184cd8cb 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -840,7 +840,7 @@ sub post { $form->{action} = 'edit'; $form->{script} = 'is.pl'; $form->{saved_message} = $form->{label} . " $form->{invnumber} " . $locale->text('posted!'); - $form->{callback} = build_std_url(qw(action edit id saved_message)); + $form->{callback} = build_std_url(qw(action edit id callback saved_message)); $form->redirect; } diff --git a/templates/webpages/is/form_footer.html b/templates/webpages/is/form_footer.html index fdbdc21b8..2c271dd61 100644 --- a/templates/webpages/is/form_footer.html +++ b/templates/webpages/is/form_footer.html @@ -191,6 +191,10 @@ [% END %] [% END %] + [% IF callback %] + [% 'back' | $T8 %] + [% END %] +