X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fir%2Fform_header.html;h=680d2d1ffd5795ded305cb865ab3898906e3392b;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=de5e623448fb20a8f0fee7316f6822305a4e84be;hpb=43a9cf43dcdc7303af49430f5dd9d05cab30f30c;p=kivitendo-erp.git diff --git a/templates/webpages/ir/form_header.html b/templates/webpages/ir/form_header.html index de5e62344..680d2d1ff 100644 --- a/templates/webpages/ir/form_header.html +++ b/templates/webpages/ir/form_header.html @@ -14,7 +14,7 @@

[% saved_message %]

[%- FOREACH key = HIDDENS %] - + [% L.hidden_tag(key, $key) %] [%- END %] @@ -33,7 +33,7 @@ [%- END %] [%- IF id %] [%- IF INSTANCE_CONF.get_doc_storage %] -
  • [% 'Documents' | $T8 %]
  • +
  • [% 'Documents' | $T8 %]
  • [% 'Attachments' | $T8 %]
  • [%- END %] [%- IF AUTH.assert('record_links', 1) %] @@ -43,6 +43,10 @@ [%- END %] +[%- IF INSTANCE_CONF.get_doc_storage %] +
    +[%- END %] +
    @@ -51,7 +55,7 @@ @@ -124,13 +128,17 @@ [%- END %] + + + +
    [% 'Vendor' | $T8 %] - [% P.customer_vendor_picker("vendor_id", vendor_id, type="vendor", style="width: 250px", class="initial_focus", onchange="\$('#update_button').click()") %] + [% P.customer_vendor.picker("vendor_id", vendor_id, type="vendor", style="width: 250px", class="initial_focus", onchange="\$('#update_button').click()") %] [% P.button_tag("show_vc_details('vendor')", LxERP.t8('Details (one letter abbreviation)')) %] [% P.hidden_tag("previous_vendor_id", vendor_id) %] [% 'Exchangerate' | $T8 %] [%- IF forex %] - [% LxERP.format_amount(exchangerate, 2) %] + [% LxERP.format_amount(exchangerate, 5) %] [%- ELSE %] [%- END %]
    [% 'Transaction description' | $T8 %][% L.input_tag("transaction_description", transaction_description, size=35, "data-validate"=INSTANCE_CONF.get_require_transaction_description_ps ? 'required' : '') %]
    @@ -139,20 +147,9 @@ [% 'Employee' | $T8 %] [% L.select_tag('employee_id', ALL_EMPLOYEES, default = employee_id, title_key = 'safe_name') %] - -[%- IF is_type_credit_note %] - - [% 'Credit Note Number' | $T8 %] - - - - [% 'Credit Note Date' | $T8 %] - [% L.date_tag('invdate', invdate) %] - -[%- ELSE %] [% 'Invoice Number' | $T8 %] - + [% L.input_tag("invnumber", invnumber, size="11") %] [% 'Invoice Date' | $T8 %] @@ -165,8 +162,14 @@ -[%- END %] - + + [% LxERP.t8('Tax point') %] + [% L.date_tag('tax_point', tax_point, id='tax_point') %] + + + [% 'Delivery Date' | $T8 %] + [% L.date_tag('deliverydate', deliverydate) %] + [% 'Order Number' | $T8 %] @@ -181,7 +184,7 @@ [% 'Project Number' | $T8 %] - [% P.project_picker('globalproject_id', globalproject_id) %] + [% P.project.picker('globalproject_id', globalproject_id, onchange="document.getElementById('update_button').click();") %] @@ -201,8 +204,8 @@ $('document').ready(function(){ [% IF creditwarning != '' %] alert('[% 'Credit Limit exceeded!!!' | $T8 %]'); -[% ELSE %] [% END %] + kivi.File.doc_tab_init('ir_tabs', 'ui-tabs-docs', $('#id').val(), 'purchase_invoice'); }); //-->