[% IF no_op_set %]
[% END %]
[% IF !items || items.size == 0 %]
Stock rotation details for [% INCLUDE 'biblio-title.inc' %]
[% IF rotas.count > 0 && items.size > 0 %]Barcode | Call number | Rota | Rota status | In transit | Stages & duration in days (current stage highlighted) |
|
---|---|---|---|---|---|---|
[% item.bib_item.barcode | html %] | [% item.bib_item.itemcallnumber | html %] | [% item.rota.title | html %] | [% IF item.rota %] [% IF !item.rota.active %] [% END %] [% IF item.rota.active %] Active [% ELSE %] Inactive [% END %] [% IF !item.rota.active %] [% END %] [% END %] | [% IF item.bib_item.get_transfer %] Yes [% ELSE %] No [% END %] | [% FOREACH this_stage IN item.stages %] [% IF this_stage.stage_id == item.stockrotationitem.stage.stage_id %] [% ELSE %] [% END %] [% Branches.GetName(this_stage.branchcode_id) | html %] ([% this_stage.duration | html %]) » [% END %] [% IF item.stages.size > 0 %] [% IF item.rota.cyclical %] START [% ELSE %] END [% END %] [% END %] | [% IF item.stockrotationitem %] [% in_transit = item.bib_item.get_transfer %] [% IF !in_transit && item.stages.size > 1 %] [% ELSE %] [% END %] Move to next stage [% IF !in_transit %] [% ELSE %] [% END %] [% IF item.stockrotationitem.indemand %] Remove "In demand" [% ELSE %] Add "In demand" [% END %] [% IF !in_transit %] [% ELSE %] [% END %] Remove from rota [% ELSE %] [% END %] |