X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/48e237ad16b404b419dbf990ba3ef02939639bc4..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 da1cbafc4..bf4c5bf80 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, @@ -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 @@ -
+
@@ -160,32 +160,81 @@ -
- - [%- IF NOT taxincluded %] + - - - -
+ - - - - [%- END %] - [%- FOREACH tax = SELF.taxes %] - [%- PROCESS order/tabs/_tax_row.html TAX=tax %] - [%- END %] - - + + + +
[%- 'Subtotal' | $T8 %] - [%- L.div_tag(SELF.order.netamount_as_number, id='netamount_id') %] + + + + + + + + + + +
[% '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") %] +
[%- 'Total' | $T8 %] + + + + + + + + + +
[% 'Payment Terms' | $T8 %][% L.select_tag('order.payment_id', + SELF.all_payment_terms, + default = SELF.order.payment_id, + with_empty = 1, + title_key = 'description', + style = 'width: 250px') %]
[% 'Delivery Terms' | $T8 %][% L.select_tag('order.delivery_term_id', + SELF.all_delivery_terms, + default = SELF.order.delivery_term_id, + with_empty = 1, + title_key = 'description', + style = 'width: 250px') %]
+
- [%- L.div_tag(SELF.order.amount_as_number, id='amount_id') %] + + + + + + + + + + [%- FOREACH tax = SELF.taxes %] + [%- 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') %] +
+
@@ -228,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]); }); }