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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt (-2 / +10 lines)
Lines 492-498 Link Here
492
                                            <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% sritem.item.biblio.id | uri %]">[% sritem.item.biblio.title | html %]</a></td>
492
                                            <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% sritem.item.biblio.id | uri %]">[% sritem.item.biblio.title | html %]</a></td>
493
                                            <td>[% sritem.item.biblio.author | html %]</td>
493
                                            <td>[% sritem.item.biblio.author | html %]</td>
494
                                            <td>[% sritem.item.itemcallnumber | html %]</td>
494
                                            <td>[% sritem.item.itemcallnumber | html %]</td>
495
                                            <td>[% sritem.item.get_transfer ? 'Yes' : 'No' | html %]</td>
495
                                            <td>[% IF ( transfer = sritem.item.get_transfer) %]
496
                                                    [% IF (transfer.reason.match('Stockrotation.*')) %]
497
                                                    [% IF (transfer.datesent) %]
498
                                                        <span class="intransit">In transit from [% Branches.GetName( transfer.frombranch ) | html %] to [% Branches.GetName( transfer.tobranch ) | html %] since [% transfer.datesent | $KohaDates %]</span>
499
                                                    [% ELSE %]
500
                                                        <span class="transitrequested">Transit pending from [% Branches.GetName( transfer.frombranch ) | html %] to [% Branches.GetName( transfer.tobranch ) | html %] since [% transfer.daterequested | $KohaDates %]</span>
501
                                                    [% END %]
502
                                                    [% END %]
503
                                                [% END %]
504
                                            </td>
496
                                            <td>
505
                                            <td>
497
                                                [% FOREACH this_stage IN stages %]
506
                                                [% FOREACH this_stage IN stages %]
498
                                                    [% IF this_stage.stage_id == sritem.stage.stage_id %]
507
                                                    [% IF this_stage.stage_id == sritem.stage.stage_id %]
499
- 

Return to bug 22567