Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 234b70f2

Von Jan Büren vor mehr als 2 Jahren hinzugefügt

  • ID 234b70f232205bf0f2126b11e2170c56542cc2ed
  • Vorgänger 16bd4205
  • Nachfolger 7ee884d9

ap.pl: Falls Bankverbuchung verknüpft, Löschen prinzipiell verbieten

Unterschiede anzeigen:

bin/mozilla/ap.pl
my $is_linked_bank_transaction;
if ($::form->{id}
&& SL::DB::Default->get->payments_changeable != 0
&& SL::DB::Manager::BankTransactionAccTrans->find_by(ap_id => $::form->{id})) {
$is_linked_bank_transaction = 1;
......
: $is_closed ? t8('The billing period has already been locked.')
: $has_sepa_exports ? t8('This invoice has been linked with a sepa export, undo this first.')
: $is_linked_bank_transaction ? t8('This transaction is linked with a bank transaction. Please undo and redo the bank transaction booking if needed.')
: $is_linked_gl_transaction ? undef # linked transactions can be deleted, if period is not closed
# : $is_linked_gl_transaction ? undef # linked transactions can be deleted, if period is not closed
: $change_never ? t8('Changing invoices has been disabled in the configuration.')
: $change_on_same_day_only ? t8('Invoices can only be changed on the day they are posted.')
: $has_storno ? t8('This invoice has been canceled already.')

Auch abrufbar als: Unified diff