[Koha] A notice using only the 'print' template can't be deleted

Indranil Das Gupta indradg at gmail.com
Sat May 16 01:51:37 NZST 2015


On Fri, May 15, 2015 at 5:48 PM, Indranil Das Gupta <indradg at gmail.com> wrote:

<snipped>
> 1/ can define and save such a letter with only the print template filled
> 2/ letter shows up in the list or letters with 'edit' and 'delete'
> links next to it
> 3/ edit works fine, but delete doesn't work. In fact, with delete, the
> <td> values of library, module, code and name are not displayed.
> 4/ delete does not work for a letter using print only template

I looked into C4/Letters.pm

sub getletter {
    my ( $module, $code, $branchcode, $message_transport_type ) = @_;
    $message_transport_type ||= 'email';

While tools/letters.pl is invoking getletter with only $module, $code,
$branchcode params

suggestions?

-- 
Indranil Das Gupta

Phone : +91-98300-20971
Blog    : http://indradg.randomink.org/blog
IRC      : indradg on irc://irc.freenode.net
Twitter : indradg

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-
Please exchange editable Office documents only in ODF Format. No other
format is acceptable. Support Open Standards.

For a free editor supporting ODF, please visit LibreOffice -
http://www.documentfoundation.org


More information about the Koha mailing list