Bug 8230: (follow-up) fix detection of cancelled orders

This patch fixes a problem where the quantity / items column
in the acquisitions detail table would display ilnks to
items for cancelled orders.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Galen Charlton 2013-12-13 23:19:55 +00:00
parent a050ca83b7
commit da3e33bff3
1 changed files with 2 additions and 2 deletions

View File

@ -831,7 +831,7 @@ function verify_images() {
<thead>
<tr>
<th>Basket</th>
<th>Ordernumber</th>
<th>Order number</th>
<th>Creation date</th>
<th>Receive date</th>
<th>Status</th>
@ -860,7 +860,7 @@ function verify_images() {
</td>
<td>
[% order.quantity %]
[% IF order.itemnumbers.size > 0 && order.orderstatus != '4' %]
[% IF order.itemnumbers.size > 0 && order.orderstatus != 'cancelled' %]
(
[% FOR itemnumber IN order.itemnumbers %]
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber %]#item[% itemnumber %]">[% itemnumber %]</a>