[Koha-devel] adding serial numbers to the list of items in CHECKIN email

Indranil Das Gupta indradg at l2c2.co.in
Tue May 29 10:29:15 CEST 2018


Hi,

I'm trying to add a serial number (1,2,3 ... n) to each row of items listed
in the CHECKIN digest email on the latest oldstable.

First I tried to be cocky and attempted to do something like this :

.circdata tr:not(.circheader) {
    counter-increment: row-num;
}
.circdata tr:not(.circheader) td:first-child::after {
    content: counter(row-num);
    text-align: left;
}

Of course even in 2018, GMail web client does not seem to allow that. So I
looked at the code in C4/Circulation.pm, Letters.pm, Message.pm and read up
the bug reports on adding TT syntax to the notices, but i could not see a
way to do that.

If I am missing something obvious or is attempting to do something that is
not possible on present codebase, please feel free to hit me over the head
with a cluebat ;-)

cheers
indranil


-- 
Indranil Das Gupta
L2C2 Technologies

Phone : +91-98300-20971
Blog    : http://blog.l2c2.co.in
IRC     : indradg on irc://irc.freenode.net
Twitter : indradg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20180529/49b58ea2/attachment.html>


More information about the Koha-devel mailing list