From d658bec8d9a82bd2575f556528e955f4ee170d3f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Fri, 4 Mar 2011 09:39:14 +0100 Subject: [PATCH] =?utf8?q?Bei=20Verkaufsgutschriften=20zus=C3=A4tzlich=20n?= =?utf8?q?och=20die=20Rechnungsnummer=20mitnehmen,=20damit=20der=20Bezug?= =?utf8?q?=20klarer=20ist.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/is.pl | 3 ++- templates/German-credit_note.tex | 1 + templates/webpages/is/form_header.html | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 51c7def75..e1076ef9c 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -915,7 +915,8 @@ sub credit_note { $form->{title} = $locale->text('Add Credit Note'); $form->{script} = 'is.pl'; - + # Bei Gutschriften bezug zur Rechnungsnummer + $form->{invnumber_for_credit_note} = $form->{invnumber}; # bo creates the id, reset it map { delete $form->{$_} } qw(id invnumber subject message cc bcc printed emailed queued); diff --git a/templates/German-credit_note.tex b/templates/German-credit_note.tex index 8236f3713..61cd7f369 100644 --- a/templates/German-credit_note.tex +++ b/templates/German-credit_note.tex @@ -43,6 +43,7 @@ \rightline{\LARGE\textbf{\textit{Gutschrift}}} \vspace*{0.2cm} \rightline{\large\textbf{\textit{Nr. <%invnumber%>% \vspace*{0.2cm} }}} + für Rechnung: \hfill <%invnumber_for_credit_note%> Gutschriftdatum:\hfill <%invdate%> diff --git a/templates/webpages/is/form_header.html b/templates/webpages/is/form_header.html index a6c21975b..c84e5d49c 100644 --- a/templates/webpages/is/form_header.html +++ b/templates/webpages/is/form_header.html @@ -201,6 +201,10 @@ [% 'Credit Note Number' | $T8 %] + + [% 'Invoice Number' | $T8 %] + + [% 'Credit Note Date' | $T8 %] -- 2.20.1