Bug 34300: Add holds column to order table
Adds the ability to easily place a hold on an ordered item from a basket
To test:
1) Apply patch
2) Go to acquisitions
3) Go to an existing basket, or create a new one
4) Add an order to the basket
4) Notice there is a "Place hold" column in the Orders table
5) Click the link for an item which allows you to place a hold easily on the biblio
6) On the columns settings, toggle the "Place hold" column to hide it, and make sure it gets hidden
Sponsored-by: Pymble Ladies’ College
Signed-off-by: Lisette Scheer <lisette.scheer@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
5dc5770886
commit
f3ebd78dee
|
|
@ -162,6 +162,8 @@ modules:
|
|||
columnname: invoice
|
||||
-
|
||||
columnname: supplier_report
|
||||
-
|
||||
columnname: place_hold
|
||||
-
|
||||
columnname: modify
|
||||
cannot_be_toggled: 1
|
||||
|
|
|
|||
|
|
@ -482,6 +482,7 @@
|
|||
[% IF Koha.Preference('EDIFACT') && ediaccount %]
|
||||
<th>Supplier report</th>
|
||||
[% END %]
|
||||
<th>Place hold</th>
|
||||
[% IF ( active ) %]
|
||||
[% UNLESS ( closedate ) %]
|
||||
<th class="NoSort">Modify</th>
|
||||
|
|
@ -675,6 +676,11 @@
|
|||
[% IF Koha.Preference('EDIFACT') && ediaccount %]
|
||||
<td>[% books_loo.suppliers_report | html %]</td>
|
||||
[% END %]
|
||||
<td>
|
||||
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% books_loo.biblionumber | uri %]">
|
||||
Place a hold on the order
|
||||
</a>
|
||||
</td>
|
||||
[% IF ( active ) %]
|
||||
[% UNLESS ( closedate ) %]
|
||||
<td>
|
||||
|
|
|
|||
Loading…
Reference in New Issue