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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt (-3 / +4 lines)
Lines 500-509 Link Here
500
                                            </td>
500
                                            </td>
501
                                            <td class="actions">
501
                                            <td class="actions">
502
                                                [% in_transit = sritem.item.get_transfer %]
502
                                                [% in_transit = sritem.item.get_transfer %]
503
                                                [% IF !in_transit && stages.size > 1 %]
503
                                                [% IF stages.size < 2 %]
504
                                                    <a class="btn btn-default btn-xs" title="Rota has a single stage, advancing will have no effect" disabled>
505
                                                [% ELSIF !in_transit %]
504
                                                    <a class="btn btn-default btn-xs" href="?op=move_to_next_stage&amp;rota_id=[% rota.id | uri %]&amp;item_id=[% sritem.id | uri %]&amp;stage_id=[% sritem.stage.stage_id | uri %]">
506
                                                    <a class="btn btn-default btn-xs" href="?op=move_to_next_stage&amp;rota_id=[% rota.id | uri %]&amp;item_id=[% sritem.id | uri %]&amp;stage_id=[% sritem.stage.stage_id | uri %]">
505
                                                [% ELSE %]
507
                                                [% ELSE %]
506
                                                    <a class="btn btn-default btn-xs" disabled>
508
                                                    <a class="btn btn-default btn-xs" href="?op=move_to_next_stage&amp;rota_id=[% rota.id | uri %]&amp;item_id=[% sritem.id | uri %]&amp;stage_id=[% sritem.stage.stage_id | uri %]" title="Item is in transit, it will be directed to new stage when checked in">
507
                                                [% END %]
509
                                                [% END %]
508
                                                    <i class="fa fa-arrow-right"></i>
510
                                                    <i class="fa fa-arrow-right"></i>
509
                                                    Move to next stage
511
                                                    Move to next stage
510
- 

Return to bug 32335