X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/099fc63b531b1d4495cfab535ffd296d6a62ca0a..e8889e47af38072dc6fcbb4d97e2fdcc30d948d7:/templates/webpages/order/tabs/basic_data.html diff --git a/templates/webpages/order/tabs/basic_data.html b/templates/webpages/order/tabs/basic_data.html index 0cd668c3e..102d5ed83 100644 --- a/templates/webpages/order/tabs/basic_data.html +++ b/templates/webpages/order/tabs/basic_data.html @@ -38,9 +38,18 @@ [% 'Steuersatz' | $T8 %] - [% L.select_tag('order.taxzone_id', SELF.all_taxzones, default=SELF.order.taxzone_id, title_key='description', style='width: 300px') %] + [% 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 +65,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') %] + + @@ -96,6 +110,11 @@ [% L.input_tag('order.ordnumber', SELF.order.ordnumber, size = 11) %] + + [% 'Quotation Number' | $T8 %] + [% L.input_tag('order.quonumber', SELF.order.quonumber, size = 11) %] + + [% 'Customer Order Number' | $T8 %] [% L.input_tag('order.cusordnumber', SELF.order.cusordnumber, size = 11) %] @@ -107,8 +126,13 @@ - [% 'Project Number' | $T8 %] - [%- L.select_tag('order.globalproject_id', SELF.all_projects, default=SELF.order.globalproject_id, title_key='projectnumber', with_empty = 1) %] + [% 'Reqdate' | $T8 %] + [% L.date_tag('order.reqdate', SELF.order.reqdate) %] + + + + [% 'Insert Date' | $T8 %] + [% SELF.order.itime_as_date %] @@ -119,6 +143,8 @@ [%- PROCESS order/tabs/_item_input.html %] + [% L.button_tag('show_multi_items_dialog()', LxERP.t8('Add multiple parts')) %] + + - - - + + + - - + + + [%- FOREACH item = SELF.order.items_sorted %] - [%- PROCESS order/tabs/_row.html ITEM=item %] + [%- PROCESS order/tabs/_row.html ITEM=item ID=item.id %] [%- END %]
@@ -128,21 +154,23 @@
[%- 'position' | $T8 %] [%- LxERP.t8('reorder item') %] [%- LxERP.t8('delete item') %][%- 'Partnumber' | $T8 %] [%- 'Description' | $T8 %] [%- 'Qty' | $T8 %] [%- 'Partnumber' | $T8 %][%- 'Description' | $T8 %] [%- 'Qty' | $T8 %] [%- 'Price Factor' | $T8 %] [%- 'Unit' | $T8 %] [%- 'Price' | $T8 %] [%- 'Discount' | $T8 %] [%- 'Price Source' | $T8 %] [%- 'Price' | $T8 %] [%- 'Discount' | $T8 %] [%- 'Extended' | $T8 %]
@@ -155,33 +183,66 @@ - - - [%- IF NOT taxincluded %] +
+ - - - - [%- END %] - [%- FOREACH tax = SELF.taxes %] - [%- PROCESS order/tabs/_tax_row.html TAX=tax %] - [%- END %] - - - + +
[%- 'Subtotal' | $T8 %] - [%- L.div_tag(SELF.order.netamount_as_number, id='netamount_id') %] + + + + + + + + + + +
[% '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") %] +
[%- 'Total' | $T8 %] + + - [%- IF NOT taxincluded %] + + + + + + + +
[% 'Payment Terms' | $T8 %][% L.select_tag('order.payment_id', + SELF.all_payment_terms, + default = SELF.order.payment_id, + with_empty = 1, + title_key = 'description', + style = 'width: 250px') %]
[% 'Delivery Terms' | $T8 %][% L.select_tag('order.delivery_term_id', + SELF.all_delivery_terms, + default = SELF.order.delivery_term_id, + with_empty = 1, + title_key = 'description', + style = 'width: 250px') %]
+
+ + + + + + - [%- END %] [%- FOREACH tax = SELF.taxes %] - [%- PROCESS order/tabs/_tax_row.html TAX=tax %] + [%- PROCESS order/tabs/_tax_row.html TAX=tax TAXINCLUDED=SELF.order.taxincluded %] [%- END %] @@ -206,29 +267,167 @@
+ + [% L.yes_no_tag('order.taxincluded', SELF.order.taxincluded, class='recalc') %] +
[%- 'Subtotal' | $T8 %] [%- L.div_tag(SELF.order.netamount_as_number, id='netamount_id') %]
[%- 'Total' | $T8 %]