X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c954dea7c1b814d66b8c31d04fa70a1bbbcce71e..160fa2148ba486be7935732a731c475521d6c9cc:/templates/webpages/is/form_footer.html diff --git a/templates/webpages/is/form_footer.html b/templates/webpages/is/form_footer.html index 1cb4a1836..56b39651b 100644 --- a/templates/webpages/is/form_footer.html +++ b/templates/webpages/is/form_footer.html @@ -148,64 +148,20 @@

[% print_options %]

-
- - - [% 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 && (!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) %] + + + +