X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/517ed14d9733e94411274bd2b9fb59cef9e632ff..HEAD:/templates/webpages/ir/form_header.html?ds=inline diff --git a/templates/webpages/ir/form_header.html b/templates/webpages/ir/form_header.html index 5b983c975..3d7537c2d 100644 --- a/templates/webpages/ir/form_header.html +++ b/templates/webpages/ir/form_header.html @@ -2,7 +2,11 @@ [%- USE HTML %] [%- USE LxERP %] [%- USE L %][%- USE P -%] -

[% title %]

+ +

+ [% IF workflow_email_journal_id; LxERP.t8("Email Journal Workflow") _ " - "; END; %] + [% title %] +

[%- SET follow_up_trans_info = invnumber _ ' (' _ vendor_obj.name _ ')' %] @@ -14,13 +18,21 @@

[% saved_message %]

[%- FOREACH key = HIDDENS %] - + [% L.hidden_tag(key, $key) %] [%- END %] +[% IF !id %] +[% L.hidden_tag('form_validity_token', form_validity_token) %] +[% END %] +[% L.hidden_tag('email_journal_id', email_journal_id) %] +[% L.hidden_tag('email_attachment_id', email_attachment_id) %] +[% L.hidden_tag('workflow_email_journal_id', workflow_email_journal_id) %] +[% L.hidden_tag('workflow_email_attachment_id', workflow_email_attachment_id) %] +[% L.hidden_tag('workflow_email_callback', workflow_email_callback) %] [%- INCLUDE 'common/flash.html' %] [%- INCLUDE 'generic/set_longdescription.html' %] @@ -28,12 +40,15 @@
+[%- IF INSTANCE_CONF.get_doc_storage %] +
+[%- END %] +
@@ -51,8 +70,8 @@ @@ -90,13 +109,12 @@ [%- END %] - - + - + [%- END %] @@ -123,14 +148,20 @@ [%- END %] + + + +
[% 'Vendor' | $T8 %] - [% 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.customer_vendor.picker("vendor_id", vendor_id, type="vendor", style="width: 250px", class="initial_focus", + show_details="1") %] [% P.hidden_tag("previous_vendor_id", vendor_id) %]
[% 'Record in' | $T8 %][% P.chart.picker("AP_chart_id", AP_chart_id, style="width:250px;", type="AP", "data-validate"="required") %]
[% 'Steuersatz' | $T8 %] - [% L.select_tag('taxzone_id', ( id ? ALL_TAXZONES : ALL_ACTIVE_TAXZONES) , default = taxzone_id, title_key = 'description', disabled = (id ? 1 : 0), style='width: 250px', onchange = "document.getElementById('update_button').click();") %] + [% L.select_tag('taxzone_id', ( id ? ALL_TAXZONES : ALL_ACTIVE_TAXZONES) , default = taxzone_id, title_key = 'description', disabled = (id ? 1 : 0), style='width: 250px', onchange = "kivi.io.update_taxzone()") %] [%- IF id %] [%- END %] @@ -114,7 +132,14 @@ [%- IF currencies %]
[% 'Currency' | $T8 %][% currencies %] + [%- IF readonly %] + [% HTML.escape(currency) %] + [% L.hidden_tag("currency", currency) %] + [%- ELSE %] + [% currencies %] + [%- END %] +
[% 'Exchangerate' | $T8 %] - [%- IF forex %] - [% LxERP.format_amount(exchangerate, 2) %] + [%- IF readonly %] + [% LxERP.format_amount(exchangerate, 5) %] + [% L.hidden_tag("exchangerate", LxERP.format_amount(exchangerate, 5)) %] [%- ELSE %] [%- END %] + [% IF record_forex %][% 'record exchange rate' | $T8 %][%- ELSE %][% 'default exchange rate' | $T8 %][%- 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 +185,11 @@ + + [% LxERP.t8('Tax point') %] + [% L.date_tag('tax_point', tax_point, id='tax_point') %] + + [% 'Delivery Date' | $T8 %] [% L.date_tag('deliverydate', deliverydate) %] @@ -171,7 +207,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();") %] @@ -184,15 +220,14 @@ -