From: Bernd Bleßmann Date: Fri, 6 Nov 2015 11:01:57 +0000 (+0100) Subject: Auftrags-Controller: Liefertermin X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3fb014daf67acfbea062c5601b9445ca58f437ed;p=kivitendo-erp.git Auftrags-Controller: Liefertermin --- diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index 523334f3c..ed84673b2 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -51,6 +51,7 @@ sub action_add { my ($self) = @_; $self->order->transdate(DateTime->now_local()); + $self->order->reqdate(DateTime->today_local->next_workday) if !$self->order->reqdate; $self->_pre_render(); $self->render( diff --git a/templates/webpages/order/tabs/basic_data.html b/templates/webpages/order/tabs/basic_data.html index 508db12a5..c44e64681 100644 --- a/templates/webpages/order/tabs/basic_data.html +++ b/templates/webpages/order/tabs/basic_data.html @@ -111,6 +111,11 @@ [% L.date_tag('order.transdate', SELF.order.transdate) %] + + [% 'Reqdate' | $T8 %] + [% L.date_tag('order.reqdate', SELF.order.reqdate) %] + + [% 'Insert Date' | $T8 %] [% SELF.order.itime_as_date %]