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

(-)a/admin/columns_settings.yml (+3 lines)
Lines 693-698 modules: Link Here
693
              columnname: last_checkout_date
693
              columnname: last_checkout_date
694
            -
694
            -
695
              columnname: due_date
695
              columnname: due_date
696
            -
697
              columnname: dateaccessioned
698
              is_hidden: 1
696
            -
699
            -
697
              columnname: actions
700
              columnname: actions
698
              cannot_be_toggled: 1
701
              cannot_be_toggled: 1
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc (+2 lines)
Lines 46-48 Link Here
46
"[% item.datelastborrowed | $KohaDates | $raw %]"
46
"[% item.datelastborrowed | $KohaDates | $raw %]"
47
[%- delimiter | $raw -%]
47
[%- delimiter | $raw -%]
48
"[% IF item.checkout %][% item.checkout.date_due | $KohaDates | $raw %][% END %]"
48
"[% IF item.checkout %][% item.checkout.date_due | $KohaDates | $raw %][% END %]"
49
[%- delimiter | $raw -%]
50
"[% item.dateaccessioned | $KohaDates | $raw %]"
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc (+1 lines)
Lines 34-39 Link Here
34
  "[% (item.issues || 0) | html %]",
34
  "[% (item.issues || 0) | html %]",
35
  "[% item.datelastborrowed | $KohaDates %]",
35
  "[% item.datelastborrowed | $KohaDates %]",
36
  "[% IF item.checkout %][% item.checkout.date_due | $KohaDates %][% END %]",
36
  "[% IF item.checkout %][% item.checkout.date_due | $KohaDates %][% END %]",
37
  "[% item.dateaccessioned | $KohaDates %]",
37
  "[% FILTER escape_quotes ~%]
38
  "[% FILTER escape_quotes ~%]
38
    <div class="btn-group dropup"><button type="button" class="btn btn-xs btn-default dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit </button> <ul class="dropdown-menu dropdown-menu-end"> [% IF user.can_edit_items_from( item.homebranch ) %]<li><a class="dropdown-item" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber | uri %]&itemnumber=[% item.itemnumber | uri %]">Edit item</a></li>[% END %] <li><a class="dropdown-item" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% item.biblionumber | html %]">Edit record</a></li> </ul> </div>
39
    <div class="btn-group dropup"><button type="button" class="btn btn-xs btn-default dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit </button> <ul class="dropdown-menu dropdown-menu-end"> [% IF user.can_edit_items_from( item.homebranch ) %]<li><a class="dropdown-item" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber | uri %]&itemnumber=[% item.itemnumber | uri %]">Edit item</a></li>[% END %] <li><a class="dropdown-item" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% item.biblionumber | html %]">Edit record</a></li> </ul> </div>
39
  [%~ END %]"
40
  [%~ END %]"
(-)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("Item number") | 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("Last checkout date") | 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("Item number") | 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("Last checkout date") | html %]"[%- delimiter | $raw -%]"[% t("Due date") | html %]"[%- delimiter | $raw     -%]"[% t("Date acquired") | html %]"
7
[%- END -%]
7
[%- END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt (-1 / +3 lines)
Lines 476-481 Link Here
476
                + '      <th id="items_checkouts" data-colname="checkouts">' + _("Checkouts") + '</th>'
476
                + '      <th id="items_checkouts" data-colname="checkouts">' + _("Checkouts") + '</th>'
477
                + '      <th id="items_datelastborrowed" data-colname="last_checkout_date">' + _("Last checkout date") + '</th>'
477
                + '      <th id="items_datelastborrowed" data-colname="last_checkout_date">' + _("Last checkout date") + '</th>'
478
                + '      <th id="items_date_due" data-colname="due_date">' + _("Due date") + '</th>'
478
                + '      <th id="items_date_due" data-colname="due_date">' + _("Due date") + '</th>'
479
                + '      <th id="items_dateaccessioned" data-colname="dateaccessioned">' + _("Date acquired") + '</th>'
479
                + '      <th id="itmes_actions" data-colname="actions">Actions</th>'
480
                + '      <th id="itmes_actions" data-colname="actions">Actions</th>'
480
                + '    </tr>';
481
                + '    </tr>';
481
482
Lines 613-618 Link Here
613
                    { 'name': 'issues' },
614
                    { 'name': 'issues' },
614
                    { 'name': 'datelastborrowed' },
615
                    { 'name': 'datelastborrowed' },
615
                    { 'name': 'date_due' },
616
                    { 'name': 'date_due' },
617
                    { 'name': 'dateaccessioned' },
616
                    { 'name': 'actions', 'orderable': false }
618
                    { 'name': 'actions', 'orderable': false }
617
                ],
619
                ],
618
                "pagingType": "full_numbers",
620
                "pagingType": "full_numbers",
Lines 672-677 Link Here
672
                    { 'type': 'text' },
674
                    { 'type': 'text' },
673
                    { 'type': 'text' },
675
                    { 'type': 'text' },
674
                    { 'type': 'text' },
676
                    { 'type': 'text' },
677
                    { 'type': 'text' },
675
                    null
678
                    null
676
                ]
679
                ]
677
            });
680
            });
678
- 

Return to bug 38331