[% PROCESS 'is/_payments.html' %]
[% PROCESS 'webdav/_list.html' %]
[% LxERP.t8('Loading...') %]
[% print_options %]
[% IF id %]
[% IF show_storno %]
[% L.submit_tag("action", 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) %]
[% END %]
[% IF show_delete && !storno %]
[% END %]
[% ELSE # no id %]
[% UNLESS locked %]
[%- END %]
[% END # id %]
[% IF id %]
[%#- button for saving history %]
[% IF INSTANCE_CONF.get_is_show_mark_as_paid %]
[% END %]
[% END %]
[% IF callback %]
[% 'back' | $T8 %]
[% END %]