Bug 34300: (QA follow-up) Add permission check and fix missing table cells
* Changes text from "Place a hold on order" to the more common "Place hold" * Adds permission check on reserveforothers. * We were missing table cells in the footer rows of the table. I would have liked to hide the column for someone missing permissions, but I failed to get the datatable configuration right with the export and column configuration settings. Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
01602b59d5
commit
5db28348ea
1 changed files with 8 additions and 4 deletions
|
@ -482,7 +482,7 @@
|
||||||
[% IF Koha.Preference('EDIFACT') && ediaccount %]
|
[% IF Koha.Preference('EDIFACT') && ediaccount %]
|
||||||
<th>Supplier report</th>
|
<th>Supplier report</th>
|
||||||
[% END %]
|
[% END %]
|
||||||
<th>Place hold</th>
|
<th class="NoSort">Place hold</th>
|
||||||
[% IF ( active ) %]
|
[% IF ( active ) %]
|
||||||
[% UNLESS ( closedate ) %]
|
[% UNLESS ( closedate ) %]
|
||||||
<th class="NoSort">Modify</th>
|
<th class="NoSort">Modify</th>
|
||||||
|
@ -516,6 +516,7 @@
|
||||||
[% IF Koha.Preference('EDIFACT') && ediaccount %]
|
[% IF Koha.Preference('EDIFACT') && ediaccount %]
|
||||||
<th> </th>
|
<th> </th>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
<th> </th>
|
||||||
[% IF ( active ) %]
|
[% IF ( active ) %]
|
||||||
[% UNLESS ( closedate ) %]
|
[% UNLESS ( closedate ) %]
|
||||||
<th> </th>
|
<th> </th>
|
||||||
|
@ -547,6 +548,7 @@
|
||||||
[% IF Koha.Preference('EDIFACT') && ediaccount %]
|
[% IF Koha.Preference('EDIFACT') && ediaccount %]
|
||||||
<th> </th>
|
<th> </th>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
<th> </th>
|
||||||
[% IF ( active ) %]
|
[% IF ( active ) %]
|
||||||
[% UNLESS ( closedate ) %]
|
[% UNLESS ( closedate ) %]
|
||||||
<th> </th>
|
<th> </th>
|
||||||
|
@ -678,9 +680,11 @@
|
||||||
<td>[% books_loo.suppliers_report | html %]</td>
|
<td>[% books_loo.suppliers_report | html %]</td>
|
||||||
[% END %]
|
[% END %]
|
||||||
<td>
|
<td>
|
||||||
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% books_loo.biblionumber | uri %]">
|
[% IF ( CAN_user_reserveforothers_place_holds ) %]
|
||||||
Place a hold on the order
|
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% books_loo.biblionumber | uri %]">
|
||||||
</a>
|
Place hold
|
||||||
|
</a>
|
||||||
|
[% END %]
|
||||||
</td>
|
</td>
|
||||||
[% IF ( active ) %]
|
[% IF ( active ) %]
|
||||||
[% UNLESS ( closedate ) %]
|
[% UNLESS ( closedate ) %]
|
||||||
|
|
Loading…
Reference in a new issue