From: Jan Büren Date: Tue, 1 Jun 2021 06:25:55 +0000 (+0200) Subject: Kreditorenbuchung: Zahlungsziel aufgrund des Rechnungsdatums berechnen X-Git-Tag: kivitendo-mebil_0.1-0~9^2~196 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=932e64284d043dad0cca2683bcddc0eae49b0366;p=kivitendo-erp.git Kreditorenbuchung: Zahlungsziel aufgrund des Rechnungsdatums berechnen in ap.pl ist transdate == invdate, ferner das Neuberechnen auch machen, sobald sich transdate ändert --- diff --git a/templates/webpages/ap/form_header.html b/templates/webpages/ap/form_header.html index 2f22a96f2..da6d4d5fb 100644 --- a/templates/webpages/ap/form_header.html +++ b/templates/webpages/ap/form_header.html @@ -157,7 +157,7 @@ [% 'Invoice Date' | $T8 %] - [% L.date_tag('transdate', transdate) %] + [% L.date_tag('transdate', transdate, onchange='kivi.SalesPurchase.set_duedate_on_reference_date_change("transdate")') %] [% 'Due Date' | $T8 %] @@ -252,7 +252,7 @@ [% L.textarea_tag("intnotes", intnotes, wrap="soft", rows=textarea_rows, cols=50, readonly=readonly) %] - [% 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')") %] + [% 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')") %]