From: Jan Büren Date: Fri, 4 Mar 2011 08:39:14 +0000 (+0100) Subject: Bei Verkaufsgutschriften zusätzlich noch die Rechnungsnummer mitnehmen, damit der... X-Git-Tag: release-2.6.3~57 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d658bec8d9a82bd2575f556528e955f4ee170d3f;p=kivitendo-erp.git Bei Verkaufsgutschriften zusätzlich noch die Rechnungsnummer mitnehmen, damit der Bezug klarer ist. --- 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 %]