Revision 932e6428
Von Jan Büren vor mehr als 3 Jahren hinzugefügt
templates/webpages/ap/form_header.html | ||
---|---|---|
157 | 157 |
</tr> |
158 | 158 |
<tr> |
159 | 159 |
<th align="right" nowrap>[% 'Invoice Date' | $T8 %]</th> |
160 |
<td>[% L.date_tag('transdate', transdate) %]</td> |
|
160 |
<td>[% L.date_tag('transdate', transdate, onchange='kivi.SalesPurchase.set_duedate_on_reference_date_change("transdate")') %]</td>
|
|
161 | 161 |
</tr> |
162 | 162 |
<tr> |
163 | 163 |
<th align="right" nowrap>[% 'Due Date' | $T8 %]</th> |
... | ... | |
252 | 252 |
[% L.textarea_tag("intnotes", intnotes, wrap="soft", rows=textarea_rows, cols=50, readonly=readonly) %] |
253 | 253 |
</td> |
254 | 254 |
<td> |
255 |
[% L.select_tag('payment_id', payment_terms, default=payment_id, title_key='description', with_empty=1, style="width: 250px", onchange="kivi.SalesPurchase.set_duedate_on_reference_date_change('invdate')") %]
|
|
255 |
[% L.select_tag('payment_id', payment_terms, default=payment_id, title_key='description', with_empty=1, style="width: 250px", onchange="kivi.SalesPurchase.set_duedate_on_reference_date_change('transdate')") %]
|
|
256 | 256 |
</td> |
257 | 257 |
<tr> |
258 | 258 |
</table> |
Auch abrufbar als: Unified diff
Kreditorenbuchung: Zahlungsziel aufgrund des Rechnungsdatums berechnen
in ap.pl ist transdate == invdate, ferner das Neuberechnen
auch machen, sobald sich transdate ändert