X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fsepa.pl;h=ca4ad0aa1add784eb731e6e02d3c6e13971ab475;hb=36724ca5b87abfa8860c71783b037c121f33221c;hp=b78083e9980437159c203a761553b1fae1640657;hpb=d56bda4518586c3b0220c18445394f35ec121d84;p=kivitendo-erp.git diff --git a/bin/mozilla/sepa.pl b/bin/mozilla/sepa.pl index b78083e99..ca4ad0aa1 100755 --- a/bin/mozilla/sepa.pl +++ b/bin/mozilla/sepa.pl @@ -749,7 +749,7 @@ sub setup_sepa_edit_transfer_action_bar { accesskey => 'enter', tooltip => t8('Post payments for selected invoices'), checks => [ [ 'kivi.check_if_entries_selected', '[name="ids[]"]' ] ], - only_if => $params{show_post_payments_button}, + disabled => $params{show_post_payments_button} ? undef : t8('All payments have already been posted.'), ], action => [ t8('Payment list'), @@ -757,7 +757,7 @@ sub setup_sepa_edit_transfer_action_bar { accesskey => 'enter', tooltip => t8('Download list of payments as PDF'), checks => [ [ 'kivi.check_if_entries_selected', '[name="ids[]"]' ] ], - not_if => $params{show_post_payments_button}, + disabled => $params{show_post_payments_button} ? t8('All payments must be posted before the payment list can be downloaded.') : undef, ], ); }