]> git.koha-community.org Git - koha.git/commit
Bug 29575: Add $patron_to_html to render patron information in JS
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 20 Oct 2021 21:16:37 +0000 (18:16 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 16 Dec 2021 22:13:51 +0000 (12:13 -1000)
commit633d6d3e67a51810ff09b9ea5b9081944f12904a
tree7ae4d38933aa0d02084c858f2af5a7d35e589e17
parent81bb6761a23bb0c68aee2bdc43a5b353b7f76157
Bug 29575: Add $patron_to_html to render patron information in JS

This patch adds a re-usable javascript render function that accepts a
Koha REST api Patron object and outputs the HTML representation.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc [new file with mode: 0644]