From: Bernd Bleßmann Date: Thu, 3 Dec 2020 11:44:58 +0000 (+0100) Subject: Auftrags-Controller: bei Änderung Leistungsdatum/Liefertermin neu berechnen X-Git-Tag: kivitendo-mebil_0.1-0~9^2~577^2~2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;ds=sidebyside;h=e163dc2ccdceee8a8d53f8ab52c37b80ea138e1b;p=kivitendo-erp.git Auftrags-Controller: bei Änderung Leistungsdatum/Liefertermin neu berechnen --- diff --git a/templates/webpages/order/tabs/basic_data.html b/templates/webpages/order/tabs/basic_data.html index d50323def..975f04bf6 100644 --- a/templates/webpages/order/tabs/basic_data.html +++ b/templates/webpages/order/tabs/basic_data.html @@ -188,19 +188,19 @@ [% 'Tax point' | $T8 %] - [% L.date_tag('order.tax_point_as_date', SELF.order.tax_point_as_date) %] + [% L.date_tag('order.tax_point_as_date', SELF.order.tax_point_as_date, class="recalc") %] [%- IF (SELF.type == "sales_order" || SELF.type == "purchase_order") -%] - [%- SET reqdate_txt = 'Reqdate' -%] + [%- SET reqdate_txt = 'Reqdate'; SET reqdate_class = 'recalc' -%] [%- ELSIF SELF.type == "sales_quotation" -%] - [%- SET reqdate_txt = 'Valid until' -%] + [%- SET reqdate_txt = 'Valid until'; SET reqdate_class = '' -%] [%- ELSE -%] - [%- SET reqdate_txt = 'Required by' -%] + [%- SET reqdate_txt = 'Required by'; SET reqdate_class = 'recalc' -%] [%- END -%] [% reqdate_txt | $T8 %] - [% L.date_tag('order.reqdate_as_date', SELF.order.reqdate_as_date) %] + [% L.date_tag('order.reqdate_as_date', SELF.order.reqdate_as_date, class=reqdate_class) %] [%- IF SELF.type == "sales_quotation" -%]