Bei Verkaufsgutschriften zusätzlich noch die Rechnungsnummer mitnehmen, damit der...
authorJan Büren <jan@lx-office-hosting.de>
Fri, 4 Mar 2011 08:39:14 +0000 (09:39 +0100)
committerJan Büren <jan@lx-office-hosting.de>
Fri, 4 Mar 2011 08:39:14 +0000 (09:39 +0100)
bin/mozilla/is.pl
templates/German-credit_note.tex
templates/webpages/is/form_header.html

index 51c7def..e1076ef 100644 (file)
@@ -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);
index 8236f37..61cd7f3 100644 (file)
@@ -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%>
 
index a6c2197..c84e5d4 100644 (file)
           <th align="right" nowrap>[% 'Credit Note Number' | $T8 %]</th>
           <td colspan="3"><input size='11' name="invnumber" value="[% HTML.escape(invnumber) %]"></td>
         </tr>
+        <tr>
+          <th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th>
+          <td colspan="3"><input size='11' name="invnumber_for_credit_note" value="[% HTML.escape(invnumber_for_credit_note) %]"></td>
+        </tr>
         <tr>
           <th align="right">[% 'Credit Note Date' | $T8 %]</th>
           <td nowrap>