X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1c8c106733572b39dccbb45066d28d4553d31587..c954dea7c1b814d66b8c31d04fa70a1bbbcce71e:/SL/Controller/TopQuickSearch/CustomerVendor.pm diff --git a/SL/Controller/TopQuickSearch/CustomerVendor.pm b/SL/Controller/TopQuickSearch/CustomerVendor.pm index cd882fafd..f337d10a1 100644 --- a/SL/Controller/TopQuickSearch/CustomerVendor.pm +++ b/SL/Controller/TopQuickSearch/CustomerVendor.pm @@ -14,11 +14,11 @@ use Rose::Object::MakeMethods::Generic ( # nope. this is only for subclassing sub auth { 'NOT ALLOWED' } -sub name { ... } +sub name { die 'must be overwritten' } -sub description_config { ... } +sub description_config { die 'must be overwritten' } -sub description_field { ... } +sub description_field { die 'must be overwritten' } sub query_autocomplete { my ($self) = @_; @@ -66,6 +66,7 @@ sub redirect_to_object { SL::Controller::Base->new->url_for( controller => 'CustomerVendor', action => 'edit', + db => $_[0]->db, id => $_[1], ); } @@ -97,15 +98,15 @@ sub init_models { } sub type { - ... + die 'must be overwritten' } sub cv { - ... + die 'must be overwritten' } sub model { - ... + die 'must be overwritten' }; 1;