From: Jan Büren Date: Sat, 12 Aug 2017 11:38:31 +0000 (+0200) Subject: Controller/BankTransaction.pm vendor_id entfernen X-Git-Tag: release-3.5.4~896 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ef242c9999d05d102605dd2f77b14fe237eee333;p=kivitendo-erp.git Controller/BankTransaction.pm vendor_id entfernen vendor_id wird im template/ nicht mehr benötigt. S.a.: #aae306cda6274d Kontoauszug verbuchen: keine Multibox verwenden --- 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(