From ef242c9999d05d102605dd2f77b14fe237eee333 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Sat, 12 Aug 2017 13:38:31 +0200 Subject: [PATCH] Controller/BankTransaction.pm vendor_id entfernen MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit vendor_id wird im template/ nicht mehr benötigt. S.a.: #aae306cda6274d Kontoauszug verbuchen: keine Multibox verwenden --- SL/Controller/BankTransaction.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/SL/Controller/BankTransaction.pm b/SL/Controller/BankTransaction.pm index 9e075deff..19148f1ad 100644 --- a/SL/Controller/BankTransaction.pm +++ b/SL/Controller/BankTransaction.pm @@ -277,7 +277,6 @@ sub action_create_invoice { { layout => 0 }, title => t8('Create invoice'), TEMPLATES => $templates, - vendor_id => $use_vendor_filter ? $vendor_of_transaction->id : undef, vendor_name => $use_vendor_filter ? $vendor_of_transaction->name : undef, ); } @@ -315,7 +314,6 @@ sub action_filter_templates { my $vendor_of_transaction = SL::DB::Manager::Vendor->find_by(account_number => $self->{transaction}->{remote_account_number}); my @filter; - push @filter, ('vendor.id' => $::form->{vendor_id}) if $::form->{vendor_id}; push @filter, ('vendor.name' => { ilike => '%' . $::form->{vendor} . '%' }) if $::form->{vendor}; my $templates = SL::DB::Manager::RecordTemplate->get_all( -- 2.20.1