From 932e64284d043dad0cca2683bcddc0eae49b0366 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Tue, 1 Jun 2021 08:25:55 +0200 Subject: [PATCH] Kreditorenbuchung: Zahlungsziel aufgrund des Rechnungsdatums berechnen MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit in ap.pl ist transdate == invdate, ferner das Neuberechnen auch machen, sobald sich transdate ändert --- templates/webpages/ap/form_header.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')") %] -- 2.20.1