vendor_id wird im template/ nicht mehr benötigt.
S.a.: #
aae306cda6274d
Kontoauszug verbuchen: keine Multibox verwenden
{ 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,
);
}
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(