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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc (+2 lines)
Lines 41-44 Link Here
41
[%- delimiter | $raw -%]
41
[%- delimiter | $raw -%]
42
"[% (item.issues || 0) | $raw %]"
42
"[% (item.issues || 0) | $raw %]"
43
[%- delimiter | $raw -%]
43
[%- delimiter | $raw -%]
44
"[% item.datelastborrowed | $KohaDates | $raw %]"
45
[%- delimiter | $raw -%]
44
"[% IF item.checkout %][% item.checkout.date_due | $KohaDates | $raw %][% END %]"
46
"[% IF item.checkout %][% item.checkout.date_due | $KohaDates | $raw %][% END %]"
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc (+1 lines)
Lines 31-36 Link Here
31
  "[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn ) || "" | html %]",
31
  "[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn ) || "" | html %]",
32
  "[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => item.damaged ) || "" | html %]",
32
  "[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => item.damaged ) || "" | html %]",
33
  "[% (item.issues || 0) | html %]",
33
  "[% (item.issues || 0) | html %]",
34
  "[% item.datelastborrowed | $KohaDates %]",
34
  "[% IF item.checkout %][% item.checkout.date_due | $KohaDates %][% END %]",
35
  "[% IF item.checkout %][% item.checkout.date_due | $KohaDates %][% END %]",
35
  "[% FILTER escape_quotes ~%]
36
  "[% FILTER escape_quotes ~%]
36
    <div class="btn-group dropup"><button type="button" class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit <span class="caret"></span> </button> <ul class="dropdown-menu pull-right"> [% IF user.can_edit_items_from( item.homebranch ) %]<li><a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber | uri %]&itemnumber=[% item.itemnumber | uri %]">Edit item</a></li>[% END %] <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% item.biblionumber | html %]">Edit record</a></li> </ul> </div>
37
    <div class="btn-group dropup"><button type="button" class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit <span class="caret"></span> </button> <ul class="dropdown-menu pull-right"> [% IF user.can_edit_items_from( item.homebranch ) %]<li><a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber | uri %]&itemnumber=[% item.itemnumber | uri %]">Edit item</a></li>[% END %] <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% item.biblionumber | html %]">Edit record</a></li> </ul> </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/catalogue/itemsearch.tt (-1 / +1 lines)
Lines 3-7 Link Here
3
[%- PROCESS 'i18n.inc' -%]
3
[%- PROCESS 'i18n.inc' -%]
4
[%- SET delimiter = Koha.CSVDelimiter() -%]
4
[%- SET delimiter = Koha.CSVDelimiter() -%]
5
[%- BLOCK -%]
5
[%- BLOCK -%]
6
    "[% t("Title") | html %]"[%- delimiter | $raw -%]"[% t("Publication date") | html %]"[%- delimiter | $raw -%]"[% t("Publisher") | html %]"[%- delimiter | $raw -%]"[% t("Collection") | html %]"[%- delimiter | $raw -%]"[% t("Barcode") | html %]"[%- delimiter | $raw -%]"[% t("Serial enumeration") | html %]"[%- delimiter | $raw -%]"[% t("Call number") | html %]"[%- delimiter | $raw -%]"[% t("Home library") | html %]"[%- delimiter | $raw -%]"[% t("Current library") | html %]"[%- delimiter | $raw -%]"[% t("Shelving location") | html %]"[%- delimiter | $raw -%]"[% t("Item type") | html %]"[%- delimiter | $raw -%]"[% t("Inventory number") | html %]"[%- delimiter | $raw -%]"[% t("Not for loan status") | html %]"[%- delimiter | $raw -%]"[% t("Lost status") | html %]"[%- delimiter | $raw -%]"[% t("Withdrawn status") | html %]"[%- delimiter | $raw -%]"[% t("Damaged status") | html %]"[%- delimiter | $raw -%]"[% t("Checkouts") | html %]"[%- delimiter | $raw -%]"[% t("Due date") | html %]"
6
    "[% t("Title") | html %]"[%- delimiter | $raw -%]"[% t("Publication date") | html %]"[%- delimiter | $raw -%]"[% t("Publisher") | html %]"[%- delimiter | $raw -%]"[% t("Collection") | html %]"[%- delimiter | $raw -%]"[% t("Barcode") | html %]"[%- delimiter | $raw -%]"[% t("Serial enumeration") | html %]"[%- delimiter | $raw -%]"[% t("Call number") | html %]"[%- delimiter | $raw -%]"[% t("Home library") | html %]"[%- delimiter | $raw -%]"[% t("Current library") | html %]"[%- delimiter | $raw -%]"[% t("Shelving location") | html %]"[%- delimiter | $raw -%]"[% t("Item type") | html %]"[%- delimiter | $raw -%]"[% t("Inventory number") | html %]"[%- delimiter | $raw -%]"[% t("Not for loan status") | html %]"[%- delimiter | $raw -%]"[% t("Lost status") | html %]"[%- delimiter | $raw -%]"[% t("Withdrawn status") | html %]"[%- delimiter | $raw -%]"[% t("Damaged status") | html %]"[%- delimiter | $raw -%]"[% t("Checkouts") | html %]"[%- delimiter | $raw -%]"[% t("Date last borrowed") | html %]"[%- delimiter | $raw -%]"[% t("Due date") | html %]"
7
[%- END -%]
7
[%- END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt (-1 / +3 lines)
Lines 389-394 Link Here
389
                + '      <th id="items_widthdrawn">' + _("Withdrawn status") + '</th>'
389
                + '      <th id="items_widthdrawn">' + _("Withdrawn status") + '</th>'
390
                + '      <th id="items_damaged">' + _("Damaged status") + '</th>'
390
                + '      <th id="items_damaged">' + _("Damaged status") + '</th>'
391
                + '      <th id="items_checkouts">' + _("Checkouts") + '</th>'
391
                + '      <th id="items_checkouts">' + _("Checkouts") + '</th>'
392
                + '      <th id="items_datelastborrowed">' + _("Date last borrowed") + '</th>'
392
                + '      <th id="items_date_due">' + _("Due date") + '</th>'
393
                + '      <th id="items_date_due">' + _("Due date") + '</th>'
393
                + '      <th id=""></th>'
394
                + '      <th id=""></th>'
394
                + '    </tr>';
395
                + '    </tr>';
Lines 508-513 Link Here
508
                    { 'name': 'withdrawn' },
509
                    { 'name': 'withdrawn' },
509
                    { 'name': 'damaged' },
510
                    { 'name': 'damaged' },
510
                    { 'name': 'issues' },
511
                    { 'name': 'issues' },
512
                    { 'name': 'datelastborrowed' },
511
                    { 'name': 'date_due' },
513
                    { 'name': 'date_due' },
512
                    { 'name': 'actions', 'orderable': false }
514
                    { 'name': 'actions', 'orderable': false }
513
                ],
515
                ],
Lines 566-571 Link Here
566
                    [% END %]
568
                    [% END %]
567
                    { 'type': 'text' },
569
                    { 'type': 'text' },
568
                    { 'type': 'text' },
570
                    { 'type': 'text' },
571
                    { 'type': 'text' },
569
                    null
572
                    null
570
                ]
573
                ]
571
            });
574
            });
572
- 

Return to bug 36499