X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/f04e9769b7015b54a3d3ceb87072cc31579c5470..42ccfb976289de017f9f355bd3bf0e02bcec80ea:/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 7783b7c33..613c8b396 100644
--- a/templates/webpages/order/tabs/basic_data.html
+++ b/templates/webpages/order/tabs/basic_data.html
@@ -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') %] |
@@ -140,6 +140,7 @@
[%- 'Qty' | $T8 %] |
[%- 'Price Factor' | $T8 %] |
[%- 'Unit' | $T8 %] |
+ [%- 'Price Source' | $T8 %] |
[%- 'Price' | $T8 %] |
[%- 'Discount' | $T8 %] |
[%- 'Extended' | $T8 %] |
@@ -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 %]
@@ -205,21 +206,27 @@
- [%- 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') %]
+ |
|
@@ -238,14 +245,15 @@