Koha::Notice::Templates - Koha notice template Object set class, related to the letter table
my $template = Koha::Notice::Templates->find_effective_template( { module => $module, code => $code, branchcode => $branchcode, lang => $lang, } );
Return the notice template that must be used for a given primary key (module, code, branchcode, lang).
For instance if lang="es-ES" but there is no "es-ES" template defined for this language, the default template will be returned.
lang will default to "default" if not passed.