X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/abd2e003bff87138fffc242229cf6e7367064904..e310d269250b549bb9b2e1bc0da31640fda2101d:/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 fda5f10e8..9386c5629 100644 --- a/templates/webpages/order/tabs/basic_data.html +++ b/templates/webpages/order/tabs/basic_data.html @@ -14,7 +14,7 @@ [% L.customer_vendor_picker("order.${SELF.cv}" _ '_id', SELF.order.$cv_id, type=SELF.cv, style='width: 300px') %] - + [% 'Contact Person' | $T8 %] [% L.select_tag('order.cp_id', SELF.order.${SELF.cv}.contacts, @@ -25,7 +25,7 @@ style='width: 300px') %] - + [% 'Shipping Address' | $T8 %] [% L.select_tag('order.shipto_id', SELF.order.${SELF.cv}.shipto, @@ -38,7 +38,7 @@ [% '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') %] @@ -76,11 +76,26 @@ title_key='safe_name') %] + [% IF SELF.cv == 'customer' %] + + [% 'Salesman' | $T8 %] + [% L.select_tag('order.salesman_id', + SELF.all_salesmen, + default=(SELF.order.salesman_id ? SELF.order.salesman_id : SELF.current_employee_id), + title_key='safe_name') %] + + [% END %] + [% 'Order Number' | $T8 %] [% 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) %] @@ -91,6 +106,11 @@ [% L.date_tag('order.transdate', SELF.order.transdate) %] + + [% 'Insert Date' | $T8 %] + [% SELF.order.itime_as_date %] + + [% 'Project Number' | $T8 %] [%- L.select_tag('order.globalproject_id', SELF.all_projects, default=SELF.order.globalproject_id, title_key='projectnumber', with_empty = 1) %] @@ -102,128 +122,287 @@ + [%- PROCESS order/tabs/_item_input.html %] + - +
- - - - - - - - - - - - - - - - - + +
+
[%- LxERP.t8('reorder item') %][%- LxERP.t8('delete item') %][%- 'Part' | $T8 %] [%- 'Qty' | $T8 %] [%- 'Price Factor' | $T8 %] [%- 'Unit' | $T8 %] [%- 'Price' | $T8 %] [%- 'Discount' | $T8 %] [%- 'Extended' | $T8 %]
+ + + + + + + + + + + + + + + + + [%- FOREACH item = SELF.order.items_sorted %] [%- PROCESS order/tabs/_row.html ITEM=item %] [%- END %] - [%- IF !SELF.order.items.size %] - [%- PROCESS order/tabs/_row.html ITEM='' %] - [%- END %] - -
[%- LxERP.t8('reorder item') %][%- LxERP.t8('delete item') %][%- 'Partnumber' | $T8 %] [%- 'Description' | $T8 %] [%- 'Qty' | $T8 %] [%- 'Price Factor' | $T8 %] [%- 'Unit' | $T8 %] [%- 'Price Source' | $T8 %] [%- 'Price' | $T8 %] [%- 'Discount' | $T8 %] [%- 'Extended' | $T8 %]
-
+ - + - [%- L.button_tag('add_order_item_row()', LxERP.t8("Add Row")) -%] - - - [%- 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 %] + + + + + + + + + +
[% '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') %]
+
- [%- L.div_tag(SELF.order.amount_as_number, id='amount_id') %] + + + + + + + + + + [%- FOREACH tax = SELF.taxes %] + [%- PROCESS order/tabs/_tax_row.html TAX=tax TAXINCLUDED=SELF.order.taxincluded %] + [%- END %] + + + + +
+ + [% 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 %] + [%- L.div_tag(SELF.order.amount_as_number, id='amount_id') %] +
+
-[% L.sortable_element('#row_table_id tbody') %] +[% L.sortable_element('#row_table_id') %]