X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/3e79972f6ef5617708e4eef5d66c82a66cf6a588..932e64284d043dad0cca2683bcddc0eae49b0366:/templates/webpages/ap/form_header.html 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')") %]