Bug 13024 [QA Followup] - Add nonpublic note to relatives' checkouts
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> (cherry picked from commitfc05098469) Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> (cherry picked from commit13c4a8e77a) Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
parent
1a49ebf90b
commit
1029f25cf4
|
|
@ -490,6 +490,14 @@ $(document).ready(function() {
|
|||
title += " - <span class='" + span_class + "'>" + oObj.itemnotes + "</span>"
|
||||
}
|
||||
|
||||
if ( oObj.itemnotes_nonpublic ) {
|
||||
var span_class = "";
|
||||
if ( $.datepicker.formatDate('yy-mm-dd', new Date(oObj.issuedate) ) == ymd ) {
|
||||
span_class = "circ-hlt";
|
||||
}
|
||||
title += " - <span class='" + span_class + "'>" + oObj.itemnotes_nonpublic + "</span>"
|
||||
}
|
||||
|
||||
var onsite_checkout = '';
|
||||
if ( oObj.onsite_checkout == 1 ) {
|
||||
onsite_checkout += " <span class='onsite_checkout'>(" + INHOUSE_USE + ")</span>";
|
||||
|
|
|
|||
Loading…
Reference in New Issue