Zu #ed9b1bfb7 chart_link _paid (Zahlungsein- /ausgang). statt nur AR_paid
authorJan Büren <jan@kivitendo-premium.de>
Mon, 13 Aug 2018 08:00:13 +0000 (10:00 +0200)
committerJan Büren <jan@kivitendo-premium.de>
Mon, 13 Aug 2018 08:00:13 +0000 (10:00 +0200)
bin/mozilla/gl.pl

index f816dcd..cca3eca 100644 (file)
@@ -1352,7 +1352,7 @@ sub post_transaction {
       die "no chart id:" unless $chart_id;
 
       $payment = SL::DB::Manager::AccTransaction->get_all(where => [ trans_id => $::form->{id},
-                                                                     chart_link => { like => '%AR_paid%' },
+                                                                     chart_link => { like => '%_paid%' },
                                                                      chart_id => $chart_id                  ]);
       die "guru meditation error: Can only assign amount to one bank account booking" if scalar @{ $payment } > 1;