@@ -, +, @@ - Click the "Rota" link in the sidebar. - Confirm that the table of items on this page is surrounded by a container with a white-background. --- .../en/modules/catalogue/stockrotation.tt | 199 +++++++++--------- 1 file changed, 100 insertions(+), 99 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt @@ -44,119 +44,120 @@ [% IF no_op_set %]
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 %] - + | 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.rota.active %] - Active + | ++ [% 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 %] - Inactive + [% END %] - [% IF !item.rota.active %] + [% Branches.GetName(this_stage.branchcode_id) | html %] ([% this_stage.duration | html %]) + » [% 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 %] + [% IF item.stages.size > 0 %] + [% IF item.rota.cyclical %] + START + [% ELSE %] + END + [% END %] + [% END %] - [% Branches.GetName(this_stage.branchcode_id) | html %] ([% this_stage.duration | html %]) - - » - [% END %] - [% IF item.stages.size > 0 %] - - [% IF item.rota.cyclical %] - START + | ++ [% IF item.stockrotationitem %] + [% in_transit = item.bib_item.get_transfer %] + [% IF !in_transit && item.stages.size > 1 %] + [% 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" + + Move to next stage + + [% IF !in_transit %] + [% ELSE %] - Add "In demand" + [% END %] - - [% IF !in_transit %] - + + [% IF item.stockrotationitem.indemand %] + Remove "In demand" + [% ELSE %] + Add "In demand" + [% END %] + + [% IF !in_transit %] + + [% ELSE %] + + [% END %] + + Remove from rota + [% ELSE %] - + [% END %] - - Remove from rota - - [% ELSE %] - - [% END %] - | -