X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/16df30aaca2c8d4173f1ea76be206ef5a23e69c9..c954dea7c1b814d66b8c31d04fa70a1bbbcce71e:/templates/webpages/is/form_footer.html diff --git a/templates/webpages/is/form_footer.html b/templates/webpages/is/form_footer.html index ee093dc95..1cb4a1836 100644 --- a/templates/webpages/is/form_footer.html +++ b/templates/webpages/is/form_footer.html @@ -1,6 +1,7 @@ [%- USE T8 %] [%- USE HTML %] [%- USE LxERP %] +[%- USE L %][%- USE P -%] @@ -10,25 +11,36 @@ - + [%- IF id && follow_ups.size %] @@ -40,6 +52,18 @@ [%- END %]
[% 'Notes (will appear on hard copy)' | $T8 %] [% 'Internal Notes' | $T8 %][% 'Payment Terms' | $T8 %][% 'Payment / Delivery Options' | $T8 %]
- + [% L.textarea_tag("notes", notes, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %] - [%- INCLUDE 'generic/multibox.html' - name = 'payment_id', - style = 'width: 250px', - DATA = payment_terms, - id_key = 'id', - label_key = 'description', - show_empty = 1 - allow_textbox = 0 -%] - + + + + + + + + + + + + + +
[% 'Payment Terms' | $T8 %][% L.select_tag('payment_id', payment_terms, default = payment_id, title_key = 'description', with_empty = 1, style="width: 250px") %] + +
[% 'Delivery Terms' | $T8 %] + [% L.select_tag('delivery_term_id', ALL_DELIVERY_TERMS, default = delivery_term_id, with_empty = 1, title_key = 'description', style = 'width: 250px') %] +
[% 'direct debit' | $T8 %] + [%- L.checkbox_tag('direct_debit', 'checked', direct_debit) %] +
+[%- IF show_weight %] + + + + + + +
[% 'Total weight' | $T8 %] + [% LxERP.format_amount(totalweight) %] [% HTML.escape(weightunit) %] +
+ +[%- END %] @@ -93,6 +117,13 @@ [%- END %] [%- END %] +[%- IF rounding %] + + + + +[%- END %] + @@ -104,70 +135,77 @@ -[% PROCESS 'webdav/_list.html' %] - [% PROCESS 'is/_payments.html' %] - - - - - - -
[% 'Rounding' | $T8 %][% LxERP.format_amount(rounding, 2) %]
[% 'Total' | $T8 %] [% LxERP.format_amount(invtotal, 2) %]

-[% print_options %] -
+ +[% PROCESS 'webdav/_list.html' %] +
+ [% LxERP.t8('Loading...') %] +
+ +
+

[% print_options %]

- [% IF id %] +
+ - - - - + [% IF id %] + + + + [% IF show_storno %] - + [% L.submit_tag("action_storno", LxERP.t8("Storno"), "data-require-transaction-description"=INSTANCE_CONF.get_require_transaction_description_ps, confirm=LxERP.t8('Do you really want to cancel this invoice?')) %] [% END %] - - + + [% IF id && !is_type_credit_note %] - + [% END %] -[% IF show_delete %] - - +[% IF show_delete && (!storno || storno_id) %] + [% L.submit_tag("action_delete", LxERP.t8("Delete"), confirm=LxERP.t8('Do you really want to delete this invoice?')) %] [% END %] - +[% IF show_delete && !storno %] + +[% END %] + [% ELSE # no id %] [% UNLESS locked %] - - - - - - - + + + + + + + [% L.button_tag('kivi.Draft.popup("is", "invoice", "' _ draft_id _ '", "' _ draft_description _ '")', LxERP.t8('Drafts')) %] [%- END %] [% END # id %] [% IF id %] [%#- button for saving history %] - + [% IF INSTANCE_CONF.get_is_show_mark_as_paid %] - + [% L.submit_tag("action_mark_as_paid", LxERP.t8('mark as paid'), confirm=LxERP.t8('This will remove the invoice from showing as unpaid even if the unpaid amount does not match the amount. Proceed?')) %] [% END %] [% END %] + [% IF callback %] + [% 'back' | $T8 %] + [% END %] +
+ - - +[% P.hidden_tag('draft_id', draft_id) %] +[% P.hidden_tag('draft_description', draft_description) %] - - +