X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Forder%2Ftabs%2Fbasic_data.html;h=508db12a521c443d8256dbb3f414af9835d598ce;hb=491a3c27055cabce59b4d93a6e389a59125eeef7;hp=7783b7c337209ab044261027dada057258179b3c;hpb=f04e9769b7015b54a3d3ceb87072cc31579c5470;p=kivitendo-erp.git diff --git a/templates/webpages/order/tabs/basic_data.html b/templates/webpages/order/tabs/basic_data.html index 7783b7c33..508db12a5 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') %] @@ -56,6 +56,11 @@ [% L.input_tag('order.transaction_description', SELF.order.transaction_description, style='width: 300px') %] + + [% 'Project Number' | $T8 %] + [% L.project_picker('order.globalproject_id', SELF.order.globalproject_id, style='width: 300px') %] + + @@ -79,8 +84,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') %] @@ -111,11 +116,6 @@ [% SELF.order.itime_as_date %] - - [% 'Project Number' | $T8 %] - [%- L.select_tag('order.globalproject_id', SELF.all_projects, default=SELF.order.globalproject_id, title_key='projectnumber', with_empty = 1) %] - - @@ -124,6 +124,8 @@ [%- PROCESS order/tabs/_item_input.html %] + [% L.button_tag('setup_multi_items_dialog()', LxERP.t8('Add multiple parts')) %] + + @@ -147,7 +150,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 %]
@@ -140,6 +142,7 @@ [%- 'Qty' | $T8 %] [%- 'Price Factor' | $T8 %] [%- 'Unit' | $T8 %] [%- 'Price Source' | $T8 %] [%- 'Price' | $T8 %] [%- 'Discount' | $T8 %] [%- 'Extended' | $T8 %]
@@ -205,21 +208,27 @@ - [%- IF NOT taxincluded %] - + + + + + - [%- 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 %]
+ + [% 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') %] +
@@ -238,14 +247,15 @@