Lines 86-97
Link Here
|
86 |
<td>[% rota.description %]</td> |
86 |
<td>[% rota.description %]</td> |
87 |
<td>[% rota.stockrotationitems.count %]</td> |
87 |
<td>[% rota.stockrotationitems.count %]</td> |
88 |
<td class="actions"> |
88 |
<td class="actions"> |
89 |
<a class="btn btn-mini" href="?op=create_edit_rota&rota_id=[% rota.rota_id %]"> |
89 |
<a class="btn btn-default btn-sm" href="?op=create_edit_rota&rota_id=[% rota.rota_id %]"> |
90 |
<i class="fa fa-pencil"></i> |
90 |
<i class="fa fa-pencil"></i> |
91 |
Edit |
91 |
Edit |
92 |
</a> |
92 |
</a> |
93 |
<div class="btn-group" role="group"> |
93 |
<div class="btn-group" role="group"> |
94 |
<button type="button" class="btn btn-mini dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> |
94 |
<button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> |
95 |
Manage |
95 |
Manage |
96 |
<i class="fa fa-caret-down"></i> |
96 |
<i class="fa fa-caret-down"></i> |
97 |
</button> |
97 |
</button> |
Lines 102-108
Link Here
|
102 |
[% END %] |
102 |
[% END %] |
103 |
</ul> |
103 |
</ul> |
104 |
</div> |
104 |
</div> |
105 |
<a class="btn btn-mini" href="?op=toggle_rota&rota_id=[% rota.rota_id %]"> |
105 |
<a class="btn btn-default btn-sm" href="?op=toggle_rota&rota_id=[% rota.rota_id %]"> |
106 |
<i class="fa fa-power-off"></i> |
106 |
<i class="fa fa-power-off"></i> |
107 |
[% IF !rota.active %] |
107 |
[% IF !rota.active %] |
108 |
Activate |
108 |
Activate |
Lines 170-176
Link Here
|
170 |
</ol> |
170 |
</ol> |
171 |
</fieldset> |
171 |
</fieldset> |
172 |
<fieldset class="action"> |
172 |
<fieldset class="action"> |
173 |
<input type="submit" value="Submit"> |
173 |
<input type="submit" value="Save"> |
174 |
<a href="/cgi-bin/koha/tools/stockrotation.pl" class="cancel">Cancel</a> |
174 |
<a href="/cgi-bin/koha/tools/stockrotation.pl" class="cancel">Cancel</a> |
175 |
</fieldset> |
175 |
</fieldset> |
176 |
[% IF rota.rota_id %] |
176 |
[% IF rota.rota_id %] |
Lines 215-224
Link Here
|
215 |
</span> |
215 |
</span> |
216 |
<span class="stageduration">[% stage.duration %]</span> |
216 |
<span class="stageduration">[% stage.duration %]</span> |
217 |
<span class="stageactions"> |
217 |
<span class="stageactions"> |
218 |
<a class="btn btn-mini" href="?op=create_edit_stage&stage_id=[% stage.stage_id %]"> |
218 |
<a class="btn btn-default btn-sm" href="?op=create_edit_stage&stage_id=[% stage.stage_id %]"> |
219 |
<i class="fa fa-pencil"></i> Edit |
219 |
<i class="fa fa-pencil"></i> Edit |
220 |
</a> |
220 |
</a> |
221 |
<a class="btn btn-mini" href="?op=confirm_delete_stage&stage_id=[% stage.stage_id %]"> |
221 |
<a class="btn btn-default btn-sm" href="?op=confirm_delete_stage&stage_id=[% stage.stage_id %]"> |
222 |
<i class="fa fa-trash"></i> Delete |
222 |
<i class="fa fa-trash"></i> Delete |
223 |
</a> |
223 |
</a> |
224 |
</span> |
224 |
</span> |
Lines 268-274
Link Here
|
268 |
</ol> |
268 |
</ol> |
269 |
</fieldset> |
269 |
</fieldset> |
270 |
<fieldset class="action"> |
270 |
<fieldset class="action"> |
271 |
<input type="submit" value="Submit"> |
271 |
<input type="submit" value="Save"> |
272 |
<a href="/cgi-bin/koha/tools/stockrotation.pl?op=manage_stages&rota_id=[% rota_id %]" class="cancel">Cancel</a> |
272 |
<a href="/cgi-bin/koha/tools/stockrotation.pl?op=manage_stages&rota_id=[% rota_id %]" class="cancel">Cancel</a> |
273 |
</fieldset> |
273 |
</fieldset> |
274 |
<input type="hidden" name="stage_id" value="[% stage.id %]"> |
274 |
<input type="hidden" name="stage_id" value="[% stage.id %]"> |
Lines 280-287
Link Here
|
280 |
<div class="dialog alert"> |
280 |
<div class="dialog alert"> |
281 |
<h3>Are you sure you wish to remove this item from it's rota</h3> |
281 |
<h3>Are you sure you wish to remove this item from it's rota</h3> |
282 |
<p> |
282 |
<p> |
283 |
<a class="btn approve" href="?op=remove_item_from_stage&item_id=[% item_id %]&stage_id=[% stage_id %]&rota_id=[% rota_id %]"><i class="fa fa-fw fa-check"></i>Yes</a> |
283 |
<a class="btn btn-default btn-sm approve" href="?op=remove_item_from_stage&item_id=[% item_id %]&stage_id=[% stage_id %]&rota_id=[% rota_id %]"><i class="fa fa-fw fa-check"></i>Yes</a> |
284 |
<a class="btn deny" href="?op=manage_items&rota_id=[% rota_id %]"><i class="fa fa-fw fa-remove"></i>No</a> |
284 |
<a class="btn btn-default btn-sm deny" href="?op=manage_items&rota_id=[% rota_id %]"><i class="fa fa-fw fa-remove"></i>No</a> |
285 |
</p> |
285 |
</p> |
286 |
</div> |
286 |
</div> |
287 |
[% ELSIF (op == 'confirm_delete_stage') %] |
287 |
[% ELSIF (op == 'confirm_delete_stage') %] |
Lines 297-304
Link Here
|
297 |
</ul> |
297 |
</ul> |
298 |
[% END %] |
298 |
[% END %] |
299 |
<p> |
299 |
<p> |
300 |
<a class="btn approve" href="?op=delete_stage&stage_id=[% stage.stage_id %]"><i class="fa fa-fw fa-check"></i>Yes</a> |
300 |
<a class="btn btn-default btn-sm approve" href="?op=delete_stage&stage_id=[% stage.stage_id %]"><i class="fa fa-fw fa-check"></i>Yes</a> |
301 |
<a class="btn deny" href="?op=manage_stages&rota_id=[% stage.rota.rota_id %]"><i class="fa fa-fw fa-remove"></i>No</a> |
301 |
<a class="btn btn-default btn-sm deny" href="?op=manage_stages&rota_id=[% stage.rota.rota_id %]"><i class="fa fa-fw fa-remove"></i>No</a> |
302 |
</p> |
302 |
</p> |
303 |
</div> |
303 |
</div> |
304 |
[% ELSIF (op == 'manage_items') %] |
304 |
[% ELSIF (op == 'manage_items') %] |
Lines 336-342
Link Here
|
336 |
</ol> |
336 |
</ol> |
337 |
</fieldset> |
337 |
</fieldset> |
338 |
<fieldset class="action"> |
338 |
<fieldset class="action"> |
339 |
<input type="submit" value="Submit"> |
339 |
<input type="submit" value="Save"> |
340 |
</fieldset> |
340 |
</fieldset> |
341 |
<input type="hidden" name="rota_id" value="[% rota.id %]"> |
341 |
<input type="hidden" name="rota_id" value="[% rota.id %]"> |
342 |
<input type="hidden" name="op" value="add_items_to_rota"> |
342 |
<input type="hidden" name="op" value="add_items_to_rota"> |
Lines 381-405
Link Here
|
381 |
<td class="actions"> |
381 |
<td class="actions"> |
382 |
[% in_transit = item.itemnumber.get_transfer %] |
382 |
[% in_transit = item.itemnumber.get_transfer %] |
383 |
[% IF !in_transit && stages.size > 1 %] |
383 |
[% IF !in_transit && stages.size > 1 %] |
384 |
<a class="btn btn-mini" href="?op=move_to_next_stage&rota_id=[% rota.id %]&item_id=[% item.id %]&stage_id=[% item.stage.stage_id %]"> |
384 |
<a class="btn btn-default btn-sm" href="?op=move_to_next_stage&rota_id=[% rota.id %]&item_id=[% item.id %]&stage_id=[% item.stage.stage_id %]"> |
385 |
[% ELSE %] |
385 |
[% ELSE %] |
386 |
<a class="btn btn-mini" disabled> |
386 |
<a class="btn btn-default btn-sm" disabled> |
387 |
[% END %] |
387 |
[% END %] |
388 |
<i class="fa fa-arrow-right"></i> |
388 |
<i class="fa fa-arrow-right"></i> |
389 |
Move to next stage |
389 |
Move to next stage |
390 |
</a> |
390 |
</a> |
391 |
[% IF !in_transit %] |
391 |
[% IF !in_transit %] |
392 |
<a class="btn btn-mini" href="?op=toggle_in_demand&stage_id=[% item.stage.stage_id %]&item_id=[% item.id %]&rota_id=[% rota.id %]"> |
392 |
<a class="btn btn-default btn-sm" href="?op=toggle_in_demand&stage_id=[% item.stage.stage_id %]&item_id=[% item.id %]&rota_id=[% rota.id %]"> |
393 |
[% ELSE %] |
393 |
[% ELSE %] |
394 |
<a class="btn btn-mini" disabled> |
394 |
<a class="btn btn-default btn-sm" disabled> |
395 |
[% END %] |
395 |
[% END %] |
396 |
<i class="fa fa-fire"></i> |
396 |
<i class="fa fa-fire"></i> |
397 |
[% item.indemand ? 'Remove "In demand"' : 'Add "In demand"' %] |
397 |
[% item.indemand ? 'Remove "In demand"' : 'Add "In demand"' %] |
398 |
</a> |
398 |
</a> |
399 |
[% IF !in_transit %] |
399 |
[% IF !in_transit %] |
400 |
<a class="btn btn-mini" href="?op=confirm_remove_from_rota&stage_id=[% item.stage.stage_id %]&item_id=[% item.id %]&rota_id=[% rota.id %]"> |
400 |
<a class="btn btn-default btn-sm" href="?op=confirm_remove_from_rota&stage_id=[% item.stage.stage_id %]&item_id=[% item.id %]&rota_id=[% rota.id %]"> |
401 |
[% ELSE %] |
401 |
[% ELSE %] |
402 |
<a class="btn btn-mini" disabled> |
402 |
<a class="btn btn-default btn-sm" disabled> |
403 |
[% END %] |
403 |
[% END %] |
404 |
<i class="fa fa-trash"></i> |
404 |
<i class="fa fa-trash"></i> |
405 |
Remove from rota |
405 |
Remove from rota |
Lines 463-469
Link Here
|
463 |
|
463 |
|
464 |
</fieldset> |
464 |
</fieldset> |
465 |
<fieldset class="action"> |
465 |
<fieldset class="action"> |
466 |
<input type="submit" value="Submit"> |
466 |
<input type="submit" value="Save"> |
467 |
</fieldset> |
467 |
</fieldset> |
468 |
<input type="hidden" name="rota_id" value="[% rota_id %]"> |
468 |
<input type="hidden" name="rota_id" value="[% rota_id %]"> |
469 |
<input type="hidden" name="op" value="move_items_to_rota"> |
469 |
<input type="hidden" name="op" value="move_items_to_rota"> |
470 |
- |
|
|