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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc (-5 / +2 lines)
Lines 3-10 Link Here
3
[%- USE AuthorisedValues -%]
3
[%- USE AuthorisedValues -%]
4
[%- biblio = item.biblio -%]
4
[%- biblio = item.biblio -%]
5
[%- biblioitem = item.biblioitem -%]
5
[%- biblioitem = item.biblioitem -%]
6
[%- notforloan_avcategory = AuthorisedValues.GetCategoryByKohaField('items.notforloan') -%]
7
[%- location_avcategory = AuthorisedValues.GetCategoryByKohaField('items.location') -%]
8
[
6
[
9
  "[% FILTER escape_quotes = replace('"', '\"') ~%]
7
  "[% FILTER escape_quotes = replace('"', '\"') ~%]
10
    <input type="checkbox" name="itemnumber" value="[% item.itemnumber %]"/>
8
    <input type="checkbox" name="itemnumber" value="[% item.itemnumber %]"/>
Lines 21-29 Link Here
21
  "[% item.itemcallnumber |html %]",
19
  "[% item.itemcallnumber |html %]",
22
  "[% Branches.GetName(item.homebranch) |html %]",
20
  "[% Branches.GetName(item.homebranch) |html %]",
23
  "[% Branches.GetName(item.holdingbranch) |html %]",
21
  "[% Branches.GetName(item.holdingbranch) |html %]",
24
  "[% IF location_avcategory %][% AuthorisedValues.GetByCode(location_avcategory, item.location) | html %][% ELSE %][% item.location |html %][% END %]",
22
  "[% AuthorisedValues.GetDescriptionByKohaField( frameworkcode => biblio.frameworkcode, kohafield => 'items.location', authorised_value => item.location) | html %]",
25
  "[% item.stocknumber |html %]",
23
  "[% item.stocknumber |html %]",
26
  "[% IF notforloan_avcategory %][% AuthorisedValues.GetByCode(notforloan_avcategory, item.notforloan) | html %][% ELSE %][% item.notforloan |html %][% END %]",
24
  "[% AuthorisedValues.GetDescriptionByKohaField( frameworkcode => biblio.frameworkcode, kohafield => 'items.notforloan', authorised_value => item.notforloan) | html %]",
27
  "[% (item.issues || 0) |html %]",
25
  "[% (item.issues || 0) |html %]",
28
  "[% FILTER escape_quotes ~%]
26
  "[% FILTER escape_quotes ~%]
29
    <a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]">Edit</a>
27
    <a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]">Edit</a>
30
- 

Return to bug 18433