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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt (-1 / +11 lines)
Lines 42-47 Link Here
42
        </ul>
42
        </ul>
43
    </div>
43
    </div>
44
[% END %]
44
[% END %]
45
[% BLOCK item_status %]
46
    [% IF myitem.onloan %]<span>Checked out</span>
47
    [% ELSIF myitem.holds({ found => ['W', 'T'] }).count > 0 %]<span>On hold</span>
48
    [% ELSIF myitem.notforloan > 0 OR myitem.itemtype.notforloan %]<span>Not for loan</span>
49
    [% ELSIF myitem.notforloan < 0 %]<span>On order</span>
50
    [% END %]
51
[% END %]
45
52
46
<body id="circ_article-requests" class="circ">
53
<body id="circ_article-requests" class="circ">
47
    [% INCLUDE 'header.inc' %]
54
    [% INCLUDE 'header.inc' %]
Lines 107-112 Link Here
107
                                    <th class="ar-collection">Collection</th>
114
                                    <th class="ar-collection">Collection</th>
108
                                    <th class="ar-itemtype">Item type</th>
115
                                    <th class="ar-itemtype">Item type</th>
109
                                    <th class="ar-callnumber">Call number</th>
116
                                    <th class="ar-callnumber">Call number</th>
117
                                    <th class="ar-status">Status</th>
110
                                    <th class="ar-copynumber">Copy number</th>
118
                                    <th class="ar-copynumber">Copy number</th>
111
                                    <th class="ar-enumchron">Enumeration</th>
119
                                    <th class="ar-enumchron">Enumeration</th>
112
                                    <th class="ar-barcode">Barcode</th>
120
                                    <th class="ar-barcode">Barcode</th>
Lines 176-181 Link Here
176
184
177
                                            [% ar.item.itemcallnumber | html %]
185
                                            [% ar.item.itemcallnumber | html %]
178
                                        </td>
186
                                        </td>
187
                                        <td class="ar-status">[% PROCESS 'item_status' myitem = ar.item IF ar.item %]</td>
179
                                        <td class="ar-copynumber">[% ar.item.copynumber | html %]</td>
188
                                        <td class="ar-copynumber">[% ar.item.copynumber | html %]</td>
180
                                        <td class="ar-enumchron">[% ar.item.enumchron | html %]</td>
189
                                        <td class="ar-enumchron">[% ar.item.enumchron | html %]</td>
181
                                        <td class="ar-barcode">[% ar.item.barcode | html %]</td>
190
                                        <td class="ar-barcode">[% ar.item.barcode | html %]</td>
Lines 212-217 Link Here
212
                                    <th class="ar-collection">Collection</th>
221
                                    <th class="ar-collection">Collection</th>
213
                                    <th class="ar-itemtype">Item type</th>
222
                                    <th class="ar-itemtype">Item type</th>
214
                                    <th class="ar-callnumber">Call number</th>
223
                                    <th class="ar-callnumber">Call number</th>
224
                                    <th class="ar-status">Status</th>
215
                                    <th class="ar-copynumber">Copy number</th>
225
                                    <th class="ar-copynumber">Copy number</th>
216
                                    <th class="ar-enumchron">Enumeration</th>
226
                                    <th class="ar-enumchron">Enumeration</th>
217
                                    <th class="ar-barcode">Barcode</th>
227
                                    <th class="ar-barcode">Barcode</th>
Lines 281-286 Link Here
281
291
282
                                            [% ar.item.itemcallnumber | html %]
292
                                            [% ar.item.itemcallnumber | html %]
283
                                        </td>
293
                                        </td>
294
                                        <td class="ar-status">[% PROCESS 'item_status' myitem = ar.item IF ar.item %]</td>
284
                                        <td class="ar-copynumber">[% ar.item.copynumber | html %]</td>
295
                                        <td class="ar-copynumber">[% ar.item.copynumber | html %]</td>
285
                                        <td class="ar-enumchron">[% ar.item.enumchron | html %]</td>
296
                                        <td class="ar-enumchron">[% ar.item.enumchron | html %]</td>
286
                                        <td class="ar-barcode">[% ar.item.barcode | html %]</td>
297
                                        <td class="ar-barcode">[% ar.item.barcode | html %]</td>
287
- 

Return to bug 20469