$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);
\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%>
<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>