X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9d6f6ee4598cdce78dead47818dc584292eae5a9..ab64cb42d50e3ca96016958dfd7c47f623f760db:/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 f57cde89d..80429aaa1 100644 --- a/templates/webpages/order/tabs/basic_data.html +++ b/templates/webpages/order/tabs/basic_data.html @@ -76,6 +76,16 @@ title_key='safe_name') %] + [% IF SELF.cv == 'customer' %] + + [% 'Salesman' | $T8 %] + [% L.select_tag('order.employee_id', + SELF.all_employees, + 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) %] @@ -108,7 +118,7 @@ -
+
@@ -126,11 +136,9 @@ - - [%- FOREACH item = SELF.order.items_sorted %] - [%- PROCESS order/tabs/_row.html ITEM=item %] - [%- END %] - + [%- FOREACH item = SELF.order.items_sorted %] + [%- PROCESS order/tabs/_row.html ITEM=item %] + [%- END %]
@@ -173,7 +181,7 @@
-[% L.sortable_element('#row_table_id tbody') %] +[% L.sortable_element('#row_table_id') %]