X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c9d5cc7f38af8db81fcfd11fac6cda62935d41c3..4cd645132b98802d2c21288ed557a67224a72cf9:/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 374b9d822..e7ab1380d 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') %] @@ -56,6 +56,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') %] + + @@ -79,8 +84,8 @@ [% IF SELF.cv == 'customer' %] [% 'Salesman' | $T8 %] - [% L.select_tag('order.employee_id', - SELF.all_employees, + [% 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') %] @@ -111,11 +116,6 @@ [% 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) %] - - @@ -128,7 +128,7 @@ -
+
@@ -140,6 +140,7 @@ + @@ -147,7 +148,7 @@ [%- FOREACH item = SELF.order.items_sorted %] - [%- PROCESS order/tabs/_row.html ITEM=item %] + [%- PROCESS order/tabs/_row.html ITEM=item ID=item.id %] [%- END %]
[%- 'Qty' | $T8 %] [%- 'Price Factor' | $T8 %] [%- 'Unit' | $T8 %] [%- 'Price Source' | $T8 %] [%- 'Price' | $T8 %] [%- 'Discount' | $T8 %] [%- 'Extended' | $T8 %]
@@ -163,6 +164,23 @@ + + @@ -212,10 +236,6 @@ - - - -
+ + + + + + + + + +
[% '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") %] +
+
@@ -172,7 +190,7 @@ default = SELF.order.payment_id, with_empty = 1, title_key = 'description', - style = 'width: 250px;') %] + style = 'width: 250px') %] @@ -181,28 +199,34 @@ default = SELF.order.delivery_term_id, with_empty = 1, title_key = 'description', - style = 'width: 250px;') %] + style = 'width: 250px') %]
[% 'Delivery Terms' | $T8 %]
- [%- IF NOT taxincluded %] - + + + + + - [%- 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 %]
+ + [% 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') %] +
@@ -225,14 +245,15 @@