View | Details | Raw Unified | Return to bug 22114
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc (+1 lines)
Lines 46-49 Link Here
46
    var CURRENT = _(" (current) ");
46
    var CURRENT = _(" (current) ");
47
    var MSG_NO_ITEMTYPE = _("No itemtype");
47
    var MSG_NO_ITEMTYPE = _("No itemtype");
48
    var MSG_CHECKOUTS_BY_ITEMTYPE = _("Number of checkouts by item type");
48
    var MSG_CHECKOUTS_BY_ITEMTYPE = _("Number of checkouts by item type");
49
    var PATRON_NOTE = _("Patron note");
49
</script>
50
</script>
(-)a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js (-2 / +3 lines)
Lines 1-3 Link Here
1
/* global PATRON_NOTE */
2
1
$(document).ready(function() {
3
$(document).ready(function() {
2
    $.ajaxSetup ({ cache: false });
4
    $.ajaxSetup ({ cache: false });
3
5
Lines 117-123 $(document).ready(function() { Link Here
117
                    $(id).parent().parent().addClass('ok');
119
                    $(id).parent().parent().addClass('ok');
118
                    $('#date_due_' + data.itemnumber).html(CIRCULATION_RETURNED);
120
                    $('#date_due_' + data.itemnumber).html(CIRCULATION_RETURNED);
119
                    if ( data.patronnote != null ) {
121
                    if ( data.patronnote != null ) {
120
                        $('.patron_note_' + data.itemnumber).html("Patron note: " + data.patronnote);
122
                        $('.patron_note_' + data.itemnumber).html( PATRON_NOTE + ": " + data.patronnote);
121
                    }
123
                    }
122
                } else {
124
                } else {
123
                    content = CIRCULATION_NOT_RETURNED;
125
                    content = CIRCULATION_NOT_RETURNED;
124
- 

Return to bug 22114