X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/4b04c42212bb045a98535fcc16eef4ad81b2dbb6..527c790aa1b87caa3f11edb59dc8f9ef45dc4a1f:/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 64d73eae2..aa39b2421 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') %] |
@@ -79,8 +79,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') %] |
@@ -128,7 +128,7 @@
|
- |
+ style = 'width: 250px') %]
| [% 'Delivery Terms' | $T8 %] |
@@ -198,28 +198,34 @@
default = SELF.order.delivery_term_id,
with_empty = 1,
title_key = 'description',
- style = 'width: 250px;') %]
+ style = 'width: 250px') %]
- [%- IF NOT taxincluded %]
-
+
+ |
+
+ [% L.yes_no_tag('order.taxincluded', SELF.order.taxincluded, class='recalc') %]
+ |
+
+
+
| [%- 'Subtotal' | $T8 %] |
[%- L.div_tag(SELF.order.netamount_as_number, id='netamount_id') %]
|
- [%- 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 %]
| [%- 'Total' | $T8 %] |
[%- L.div_tag(SELF.order.amount_as_number, id='amount_id') %]
+ |
|
@@ -229,10 +235,6 @@
-
- |
-
-
@@ -242,14 +244,15 @@