Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 234b70f2

Von Jan Büren vor fast 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
1389 1389

  
1390 1390
  my $is_linked_bank_transaction;
1391 1391
  if ($::form->{id}
1392
      && SL::DB::Default->get->payments_changeable != 0
1393 1392
      && SL::DB::Manager::BankTransactionAccTrans->find_by(ap_id => $::form->{id})) {
1394 1393

  
1395 1394
    $is_linked_bank_transaction = 1;
......
1496 1495
                    : $is_closed                  ? t8('The billing period has already been locked.')
1497 1496
                    : $has_sepa_exports           ? t8('This invoice has been linked with a sepa export, undo this first.')
1498 1497
                    : $is_linked_bank_transaction ? t8('This transaction is linked with a bank transaction. Please undo and redo the bank transaction booking if needed.')
1499
                    : $is_linked_gl_transaction   ? undef # linked transactions can be deleted, if period is not closed
1498
                    # : $is_linked_gl_transaction   ? undef # linked transactions can be deleted, if period is not closed
1500 1499
                    : $change_never               ? t8('Changing invoices has been disabled in the configuration.')
1501 1500
                    : $change_on_same_day_only    ? t8('Invoices can only be changed on the day they are posted.')
1502 1501
                    : $has_storno                 ? t8('This invoice has been canceled already.')

Auch abrufbar als: Unified diff