Revision 29c4c2e2
Von Kivitendo Admin vor mehr als 1 Jahr hinzugefügt
bin/mozilla/gl.pl | ||
---|---|---|
993 | 993 |
} |
994 | 994 |
# dont edit reconcilated bookings! |
995 | 995 |
if ($form->{id}) { |
996 |
my @acc_trans = map { $_->acc_trans_id } @{ SL::DB::Manager::AccTransaction->get_all( where => [ trans_id => $form->{id} ] ) };
|
|
997 |
if (scalar @acc_trans && scalar @{ SL::DB::Manager::ReconciliationLink->get_all(where => [ acc_trans_id => [ @acc_trans ] ]) }) {
|
|
996 |
my @acc_trans_ids = map { $_->acc_trans_id } @{ SL::DB::Manager::AccTransaction->get_all(select => ["acc_trans_id"], where => [ trans_id => $form->{id} ] ) };
|
|
997 |
if (scalar @acc_trans_ids && scalar @{ SL::DB::Manager::ReconciliationLink->get_all(where => [ acc_trans_id => [ @acc_trans_ids ] ]) }) {
|
|
998 | 998 |
$is_reconciled_bank_transaction = 1; |
999 | 999 |
} |
1000 | 1000 |
} |
Auch abrufbar als: Unified diff
GL Action Bar Refactoring Reconciliation Prüfung
holen.