X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/aa63ebae1c0a758ec438c594acb328b1f0e5e001..refs/heads/master:/templates/webpages/ir/form_header.html diff --git a/templates/webpages/ir/form_header.html b/templates/webpages/ir/form_header.html index f81b2cca7..3d7537c2d 100644 --- a/templates/webpages/ir/form_header.html +++ b/templates/webpages/ir/form_header.html @@ -2,25 +2,37 @@ [%- 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 _ ')' %] -
+

[% 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,10 +40,17 @@
+[%- IF INSTANCE_CONF.get_doc_storage %] +
+[%- END %] +
@@ -47,8 +70,8 @@ @@ -86,13 +109,12 @@ [%- END %] - - + - + [%- END %] @@ -119,14 +148,20 @@ [%- END %] + + + +
[% 'Vendor' | $T8 %] - [% P.customer_vendor_picker("vendor_id", vendor_id, type="vendor", style="width: 250px", class="initial_focus") %] - [% 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 %] @@ -110,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' : '') %]
@@ -135,20 +170,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 %] @@ -161,8 +185,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 %] @@ -177,7 +207,7 @@ [% 'Project Number' | $T8 %] - [% P.project_picker('globalproject_id', globalproject_id) %] + [% P.project.picker('globalproject_id', globalproject_id, onchange="document.getElementById('update_button').click();") %] @@ -190,15 +220,14 @@ -