X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Forder%2Ftabs%2Fbasic_data.html;h=526e028bf93e314b483d0e72e26700dcb79fab7b;hb=9c87c4860757b4f5bab5c14f8038458c05310589;hp=41589d7f43dcf74b22d6ef225c598c1b3e04b9fc;hpb=16de9a326e56db2842ba8511cbe4821047dfb615;p=kivitendo-erp.git
diff --git a/templates/webpages/order/tabs/basic_data.html b/templates/webpages/order/tabs/basic_data.html
index 41589d7f4..526e028bf 100644
--- a/templates/webpages/order/tabs/basic_data.html
+++ b/templates/webpages/order/tabs/basic_data.html
@@ -3,6 +3,8 @@
[%- USE LxERP %]
[%- USE L %]
+[%- INCLUDE 'generic/set_longdescription.html' %]
+
@@ -41,6 +43,15 @@
[% L.select_tag('order.taxzone_id', SELF.all_taxzones, default=SELF.order.taxzone_id, title_key='description', style='width: 300px', class='recalc') %] |
+[%- IF SELF.all_departments.size %]
+
+ [% 'Department' | $T8 %] |
+
+ [% L.select_tag('order.department_id', SELF.all_departments, default=SELF.order.department_id, title_key='description', with_empty=1, style='width:300px') %]
+ |
+
+[%- END %]
+
[% 'Shipping Point' | $T8 %] |
[% L.input_tag('order.shippingpoint', SELF.order.shippingpoint, style='width: 300px') %] |
@@ -56,6 +67,11 @@
[% L.input_tag('order.transaction_description', SELF.order.transaction_description, style='width: 300px') %] |
+
+ [% 'Project Number' | $T8 %] |
+ [% L.project_picker('order.globalproject_id', SELF.order.globalproject_id, style='width: 300px') %] |
+
+
@@ -112,13 +128,13 @@
- [% 'Insert Date' | $T8 %] |
- [% SELF.order.itime_as_date %] |
+ [% 'Reqdate' | $T8 %] |
+ [% L.date_tag('order.reqdate', SELF.order.reqdate) %] |
- [% 'Project Number' | $T8 %] |
- [%- L.select_tag('order.globalproject_id', SELF.all_projects, default=SELF.order.globalproject_id, title_key='projectnumber', with_empty = 1) %] |
+ [% 'Insert Date' | $T8 %] |
+ [% SELF.order.itime_as_date %] |
@@ -129,6 +145,8 @@
[%- PROCESS order/tabs/_item_input.html %]
+ [% L.button_tag('kivi.Order.show_multi_items_dialog()', LxERP.t8('Add multiple items')) %]
+
@@ -137,22 +155,31 @@
- |
+
+ [%- IF MYCONFIG.show_form_details %]
+ [%- L.img_tag(src="image/collapse.svg", alt=LxERP.t8('Hide all details'), title=LxERP.t8('Hide all details'), id='expand_all', "data-expanded"="1") %]
+ [%- ELSE %]
+ [%- L.img_tag(src="image/expand.svg", alt=LxERP.t8('Show all details'), title=LxERP.t8('Show all details'), id='expand_all') %]
+ [%- END %]
+ |
+ [%- 'position' | $T8 %] |
![[%- LxERP.t8('reorder item') %]](image/updown.png) |
![[%- LxERP.t8('delete item') %]](image/close.png) |
- [%- 'Partnumber' | $T8 %] |
- [%- 'Description' | $T8 %] |
- [%- 'Qty' | $T8 %] |
+
+
+
+
[%- 'Price Factor' | $T8 %] |
[%- 'Unit' | $T8 %] |
- [%- 'Price' | $T8 %] |
- [%- 'Discount' | $T8 %] |
+ [%- 'Price Source' | $T8 %] |
+
+
[%- 'Extended' | $T8 %] |
[%- FOREACH item = SELF.order.items_sorted %]
- [%- PROCESS order/tabs/_row.html ITEM=item ID=item.id %]
+ [%- PROCESS order/tabs/_row.html ITEM=item ID=item.id ALL_PRICE_FACTORS=SELF.all_price_factors %]
[%- END %]
@@ -244,126 +271,4 @@
-
[% L.sortable_element('#row_table_id') %]
-
-
|