X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fir%2Fform_header.html;h=680d2d1ffd5795ded305cb865ab3898906e3392b;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=ab53f22b2f67a278f2d169339ae79d9ec771411a;hpb=9a14696176033f03c97244f420d93f9c15efed61;p=kivitendo-erp.git diff --git a/templates/webpages/ir/form_header.html b/templates/webpages/ir/form_header.html index ab53f22b2..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 %] +
    @@ -124,13 +128,17 @@ [%- END %] + + + +
    [% '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' : '') %]
    @@ -154,6 +162,10 @@ + + [% LxERP.t8('Tax point') %] + [% L.date_tag('tax_point', tax_point, id='tax_point') %] + [% 'Delivery Date' | $T8 %] [% L.date_tag('deliverydate', deliverydate) %] @@ -172,7 +184,7 @@ [% 'Project Number' | $T8 %] - [%- L.select_tag('globalproject_id', ALL_PROJECTS, title_key = 'projectnumber', default = globalproject_id, with_empty = '1', onChange = "document.getElementById('update_button').click();") %] + [% P.project.picker('globalproject_id', globalproject_id, onchange="document.getElementById('update_button').click();") %] @@ -192,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'); }); //-->