Revision 36724ca5
Von Moritz Bunkus vor mehr als 3 Jahren hinzugefügt
bin/mozilla/sepa.pl | ||
---|---|---|
749 | 749 |
accesskey => 'enter', |
750 | 750 |
tooltip => t8('Post payments for selected invoices'), |
751 | 751 |
checks => [ [ 'kivi.check_if_entries_selected', '[name="ids[]"]' ] ], |
752 |
only_if => $params{show_post_payments_button},
|
|
752 |
disabled => $params{show_post_payments_button} ? undef : t8('All payments have already been posted.'),
|
|
753 | 753 |
], |
754 | 754 |
action => [ |
755 | 755 |
t8('Payment list'), |
... | ... | |
757 | 757 |
accesskey => 'enter', |
758 | 758 |
tooltip => t8('Download list of payments as PDF'), |
759 | 759 |
checks => [ [ 'kivi.check_if_entries_selected', '[name="ids[]"]' ] ], |
760 |
not_if => $params{show_post_payments_button},
|
|
760 |
disabled => $params{show_post_payments_button} ? t8('All payments must be posted before the payment list can be downloaded.') : undef,
|
|
761 | 761 |
], |
762 | 762 |
); |
763 | 763 |
} |
Auch abrufbar als: Unified diff
SEPA: In Details: Buttons »Buchen« und »Zahlungsliste« immer anzeigen
Sichtbare Buttons machen viel klarer, welche Funktionalität es an der
Stelle gibt, auch wenn die Buttons deaktiviert sind.