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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-40 lines)
Lines 117-123 Link Here
117
                                [% IF ( BORROWER_INF.amountoverzero ) %]<li><a href="#opac-user-fines">Fines ([% BORROWER_INF.amountoutstanding %])</a></li>[% END %]
117
                                [% IF ( BORROWER_INF.amountoverzero ) %]<li><a href="#opac-user-fines">Fines ([% BORROWER_INF.amountoutstanding %])</a></li>[% END %]
118
                                [% IF ( BORROWER_INF.amountlessthanzero ) %]<li><a href="#opac-user-fines">Credits ([% BORROWER_INF.amountoutstanding %])</a></li>[% END %]
118
                                [% IF ( BORROWER_INF.amountlessthanzero ) %]<li><a href="#opac-user-fines">Credits ([% BORROWER_INF.amountoutstanding %])</a></li>[% END %]
119
                            [% END %]
119
                            [% END %]
120
                            [% IF ( waiting_count ) %][% IF ( BORROWER_INF.atdestination ) %]<li><a href="#opac-user-waiting">Waiting ([% waiting_count %])</a></li>[% END %][% END %]
121
                            [% IF ( RESERVES.count ) %]<li><a href="#opac-user-holds">Holds ([% RESERVES.count %])</a></li>[% END %]
120
                            [% IF ( RESERVES.count ) %]<li><a href="#opac-user-holds">Holds ([% RESERVES.count %])</a></li>[% END %]
122
                        </ul>
121
                        </ul>
123
122
Lines 334-378 Link Here
334
333
335
                    [% END # / FOREACH BORROWER_INFO %]
334
                    [% END # / FOREACH BORROWER_INFO %]
336
335
337
                        [% IF ( waiting_count && atdestination ) %]
338
                            <div id="opac-user-waiting">
339
                                <table id="waitingt" class="table table-bordered table-striped">
340
                                    <caption>Holds waiting</caption>
341
                                    <thead>
342
                                        <tr>
343
                                            <th class="anti-the">Title</th>
344
                                            <th>Hold date</th>
345
                                            <th>Pick up library</th>
346
                                        </tr>
347
                                    </thead>
348
                                    <tbody>
349
                                        [% FOREACH WAITIN IN WAITING %]
350
                                            <tr>
351
                                                <td><img src="[% themelang %]/images/[% WAITIN.itemtype %].gif" alt="[% WAITIN.itemtype %]" title="[% WAITIN.itemtype %]" /></td>
352
                                                <td>
353
                                                    <a class="title" href="opac-detail.pl?biblionumber=[% WAITIN.biblionumber %]">
354
                                                        [% WAITIN.waiting_title %] [% FOREACH subtitl IN WAITIN.subtitle %] [% subtitl.subfield %][% END %]
355
                                                    </a>
356
                                                    <span class="item-details">
357
                                                        [% WAITIN.author %]
358
                                                    </span></td>
359
                                                <td>
360
                                                    <span class="tdlabel">Hold date:</span>
361
                                                    [% WAITIN.reservedate | $KohaDates %]</td>
362
                                                <td>
363
                                                    [% IF ( WAITIN.atdestination ) %]
364
                                                        <strong>Waiting</strong> at [% WAITIN.branch %]
365
                                                    [% ELSE %]
366
                                                        In transit from [% WAITIN.holdingbranch %] to [% WAITIN.branch %]
367
                                                    [% END %]
368
                                                </td>
369
                                            </tr>
370
                                        [% END %]
371
                                    </tbody>
372
                                </table>
373
                            </div> <!-- /#opac-user-waiting -->
374
                        [% END # waiting_count && atdestination %]
375
376
336
377
                        [% IF ( overdues_count ) %]
337
                        [% IF ( overdues_count ) %]
378
                            <div id="opac-user-overdues">
338
                            <div id="opac-user-overdues">
(-)a/opac/opac-user.pl (-2 lines)
Lines 282-288 my $reserves = Koha::Holds->search( { borrowernumber => $borrowernumber } ); Link Here
282
$template->param(
282
$template->param(
283
    RESERVES       => $reserves,
283
    RESERVES       => $reserves,
284
    showpriority   => $show_priority,
284
    showpriority   => $show_priority,
285
    WAITING        => $reserves->waiting()
286
);
285
);
287
286
288
# current alert subscriptions
287
# current alert subscriptions
289
- 

Return to bug 13918