https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35131 --- Comment #17 from Lucas Gass <lucas@bywatersolutions.com> --- (In reply to paxed from comment #16)
This can be done with just javascript without needing to change Koha code, something like
$(document).ready(function () { if (window.location.pathname == '/cgi-bin/koha/members/moremember.pl') { cardnumber = document.getElementById('patron-cardnumber').childNodes[2].nodeValue.trim(); barcodeurl = "/cgi-bin/koha/svc/barcode?barcode=" + cardnumber.toUpperCase() + "¬ext=1"; $('li#patron-cardnumber').append('<br><img src="' + barcodeurl + '">'); } });
Sure, but we'd rather see this get into Koha as a feature instead of having to upkeep any custom javascript. -- You are receiving this mail because: You are watching all bug changes.