Lines 115-120
Link Here
|
115 |
'</a>'; |
115 |
'</a>'; |
116 |
}; |
116 |
}; |
117 |
|
117 |
|
|
|
118 |
// Our 'render' function for biblio_id |
119 |
var createBiblioLink = function(data, type, row) { |
120 |
return '<a title="' + _("View biblio details") + '" ' + |
121 |
'href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=' + |
122 |
row.biblio_id + '">' + |
123 |
row.biblio_id + |
124 |
'</a>'; |
125 |
}; |
126 |
|
118 |
// Our 'render' function for the library name |
127 |
// Our 'render' function for the library name |
119 |
var createLibrary = function(data, type, row) { |
128 |
var createLibrary = function(data, type, row) { |
120 |
return row.library.branchname; |
129 |
return row.library.branchname; |
Lines 185-191
Link Here
|
185 |
func: createStatus |
194 |
func: createStatus |
186 |
}, |
195 |
}, |
187 |
biblio_id: { |
196 |
biblio_id: { |
188 |
name: _("Biblio ID") |
197 |
name: _("Biblio ID"), |
|
|
198 |
func: createBiblioLink |
189 |
}, |
199 |
}, |
190 |
library: { |
200 |
library: { |
191 |
name: _("Library"), |
201 |
name: _("Library"), |
Lines 440-446
Link Here
|
440 |
</li> |
450 |
</li> |
441 |
<li class="cost"> |
451 |
<li class="cost"> |
442 |
<label class="cost">Cost:</label> |
452 |
<label class="cost">Cost:</label> |
443 |
[% request.cost || 'N/A' %] |
453 |
[% IF request.cost %] |
|
|
454 |
[% request.cost %] |
455 |
[% ELSE %] |
456 |
<span>N/A</span> |
457 |
[% END %] |
444 |
</li> |
458 |
</li> |
445 |
<li class="req_id"> |
459 |
<li class="req_id"> |
446 |
<label class="req_id">Request number:</label> |
460 |
<label class="req_id">Request number:</label> |
Lines 506-512
Link Here
|
506 |
<div class="rows"> |
520 |
<div class="rows"> |
507 |
<div class="orderid"> |
521 |
<div class="orderid"> |
508 |
<span class="label orderid">Order ID:</span> |
522 |
<span class="label orderid">Order ID:</span> |
509 |
[% request.orderid || "N/A" %] |
523 |
[% IF request.orderid %] |
|
|
524 |
[% request.orderid %] |
525 |
[% ELSE %] |
526 |
<span>N/A</span> |
527 |
[% END %] |
510 |
</div> |
528 |
</div> |
511 |
<div class="borrowernumber"> |
529 |
<div class="borrowernumber"> |
512 |
<span class="label borrowernumber">Patron:</span> |
530 |
<span class="label borrowernumber">Patron:</span> |
Lines 518-524
Link Here
|
518 |
|
536 |
|
519 |
<div class="biblio_id"> |
537 |
<div class="biblio_id"> |
520 |
<span class="label biblio_id">Biblio ID:</span> |
538 |
<span class="label biblio_id">Biblio ID:</span> |
521 |
[% request.biblio_id || "N/A" %] |
539 |
[% IF request.biblio_id %] |
|
|
540 |
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% request.biblio_id %]">[% request.biblio_id %]</a> |
541 |
[% ELSE %] |
542 |
<span>N/A</span> |
543 |
[% END %] |
522 |
</div> |
544 |
</div> |
523 |
<div class="branchcode"> |
545 |
<div class="branchcode"> |
524 |
<span class="label branchcode">Library:</span> |
546 |
<span class="label branchcode">Library:</span> |
Lines 538-544
Link Here
|
538 |
</div> |
560 |
</div> |
539 |
<div class="cost"> |
561 |
<div class="cost"> |
540 |
<span class="label cost">Cost:</span> |
562 |
<span class="label cost">Cost:</span> |
541 |
[% request.cost || "N/A" %] |
563 |
[% IF request.cost %] |
|
|
564 |
[% request.cost %] |
565 |
[% ELSE %] |
566 |
<span>N/A</span> |
567 |
[% END %] |
542 |
</div> |
568 |
</div> |
543 |
<div class="req_id"> |
569 |
<div class="req_id"> |
544 |
<span class="label req_id">Request number:</span> |
570 |
<span class="label req_id">Request number:</span> |
545 |
- |
|
|