X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1f250cc904dbdce75118f73b5cae48590dc921e6..12eafc00a9cbd2c24fbbd6a7415e5ecb97ef02b7:/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 11d456a26..bf4c5bf80 100644 --- a/templates/webpages/order/tabs/basic_data.html +++ b/templates/webpages/order/tabs/basic_data.html @@ -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') %] @@ -277,7 +277,7 @@ function recalc_amounts_and_taxes() { function redisplay_linetotals(data) { $('.row_entry [name="linetotal"]').each(function(idx, elt) { - $(elt).html(data[idx]); + $(elt).html(data[idx]); }); }