Lines 363-415
Link Here
|
363 |
<span>There are no unreceived orders for this budget.</span> |
363 |
<span>There are no unreceived orders for this budget.</span> |
364 |
<a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Back</a> |
364 |
<a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Back</a> |
365 |
[% ELSE %] |
365 |
[% ELSE %] |
366 |
<h3>The unreceived orders from the following funds will be moved</h3> |
366 |
<div class="page-section"> |
367 |
Fund list of budget <a href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% budget_period_id | uri %]">[% budget_period_description | html %]</a>: |
367 |
<h3>The unreceived orders from the following funds will be moved</h3> |
368 |
<table id="budgeth"> |
368 |
Fund list of budget <a href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% budget_period_id | uri %]">[% budget_period_description | html %]</a>: |
369 |
<thead> |
369 |
<table id="budgeth"> |
370 |
<tr> |
370 |
<thead> |
371 |
<th>Fund ID</th> |
371 |
<tr> |
372 |
<th>Fund code</th> |
372 |
<th>Fund ID</th> |
373 |
<th>Fund name</th> |
373 |
<th>Fund code</th> |
374 |
<th>Unreceived orders</th> |
374 |
<th>Fund name</th> |
375 |
</tr> |
375 |
<th>Unreceived orders</th> |
376 |
</thead> |
376 |
</tr> |
377 |
<tbody> |
377 |
</thead> |
378 |
[% FOREACH budget IN budgets_to_move %] |
378 |
<tbody> |
379 |
<tr> |
379 |
[% FOREACH budget IN budgets_to_move %] |
380 |
<td>[% budget.budget_id | html %]</td> |
380 |
<tr> |
381 |
<td>[% budget.budget_code | html %]</td> |
381 |
<td>[% budget.budget_id | html %]</td> |
382 |
<td>[% budget.budget_name | html %]</td> |
382 |
<td>[% budget.budget_code | html %]</td> |
383 |
<td>[% budget.unreceived_orders.size | html %]</td> |
383 |
<td>[% budget.budget_name | html %]</td> |
384 |
</tr> |
384 |
<td>[% budget.unreceived_orders.size | html %]</td> |
385 |
[% END %] |
385 |
</tr> |
386 |
</tbody> |
386 |
[% END %] |
387 |
</table> |
387 |
</tbody> |
388 |
<form action="/cgi-bin/koha/admin/aqbudgetperiods.pl" name="f" method="post" id="move_form"> |
388 |
</table> |
389 |
<fieldset class="rows"> |
389 |
<form action="/cgi-bin/koha/admin/aqbudgetperiods.pl" name="f" method="post" id="move_form"> |
390 |
<ol> |
390 |
<fieldset class="rows"> |
391 |
<li> |
391 |
<ol> |
392 |
<label class="required" for="to_budget_period_id">Select a budget</label> |
392 |
<li> |
393 |
<select name="to_budget_period_id" id="to_budget_period_id" required="required"> |
393 |
<label class="required" for="to_budget_period_id">Select a budget</label> |
394 |
<option value=""></option> |
394 |
<select name="to_budget_period_id" id="to_budget_period_id" required="required"> |
395 |
[% FOR budget_period IN budget_periods %] |
395 |
<option value=""></option> |
396 |
<option value="[% budget_period.budget_period_id | html %]">[% budget_period.budget_period_description | html %]</option> |
396 |
[% FOR budget_period IN budget_periods %] |
397 |
[% END %] |
397 |
<option value="[% budget_period.budget_period_id | html %]">[% budget_period.budget_period_description | html %]</option> |
398 |
</select> |
398 |
[% END %] |
399 |
</li> |
399 |
</select> |
400 |
<li> |
400 |
</li> |
401 |
<label for="move_remaining_unspent">Move remaining unspent funds</label> |
401 |
<li> |
402 |
<input type="checkbox" name="move_remaining_unspent" id="move_remaining_unspent" /> |
402 |
<label for="move_remaining_unspent">Move remaining unspent funds</label> |
403 |
</li> |
403 |
<input type="checkbox" name="move_remaining_unspent" id="move_remaining_unspent" /> |
404 |
</ol> |
404 |
</li> |
405 |
</fieldset> |
405 |
</ol> |
406 |
<fieldset class="action"> |
406 |
</fieldset> |
407 |
<input type="hidden" name="op" value="close_confirmed" /> |
407 |
<fieldset class="action"> |
408 |
<input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" /> |
408 |
<input type="hidden" name="op" value="close_confirmed" /> |
409 |
<input type="submit" class="btn btn-primary" value="Move unreceived orders" /> |
409 |
<input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" /> |
410 |
<a class="cancel" href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Cancel</a> |
410 |
<input type="submit" class="btn btn-primary" value="Move unreceived orders" /> |
411 |
</fieldset> |
411 |
<a class="cancel" href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Cancel</a> |
412 |
</form> |
412 |
</fieldset> |
|
|
413 |
</form> |
414 |
</div><!-- /.page-section --> |
413 |
[% END %] |
415 |
[% END %] |
414 |
[% ELSIF closed %] |
416 |
[% ELSIF closed %] |
415 |
<h1>Budget [% budget_period_description | html %] closed</h1> |
417 |
<h1>Budget [% budget_period_description | html %] closed</h1> |
416 |
- |
|
|