From 4b04c42212bb045a98535fcc16eef4ad81b2dbb6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Wed, 16 Sep 2015 10:16:46 +0200 Subject: [PATCH] Auftrags-Controller: Bemerkungen und interne Bemerkungen --- SL/Controller/Order.pm | 2 ++ templates/webpages/order/tabs/basic_data.html | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index 9d9624d1e..7728f6766 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -363,6 +363,8 @@ sub _pre_render { $self->{all_delivery_terms} = SL::DB::Manager::DeliveryTerm->get_all_sorted(); $self->{current_employee_id} = SL::DB::Manager::Employee->current->id; + + $::request->{layout}->use_javascript("${_}.js") for qw(ckeditor/ckeditor ckeditor/adapters/jquery); } sub _sales_order_type { diff --git a/templates/webpages/order/tabs/basic_data.html b/templates/webpages/order/tabs/basic_data.html index 374b9d822..64d73eae2 100644 --- a/templates/webpages/order/tabs/basic_data.html +++ b/templates/webpages/order/tabs/basic_data.html @@ -163,6 +163,23 @@ + +
+ + + + + + + + + +
[% 'Notes' | $T8 %][% 'Internal Notes' | $T8 %]
+ [% L.textarea_tag('order.notes', SELF.order.notes, wrap="soft", style="width: 350px; height: 150px;", class="texteditor") %] + + [% L.textarea_tag('order.intnotes', SELF.order.intnotes, wrap="soft", style="width: 350px; height: 150px;") %] +
+
-- 2.20.1