Bugzilla – Attachment 145040 Details for
Bug 32400
Add page-section to tables for end of year rollover (acq)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32400: Add page-section to aqbudgetperiods table
Bug-32400-Add-page-section-to-aqbudgetperiods-tabl.patch (text/plain), 5.45 KB, created by
Lucas Gass (lukeg)
on 2023-01-04 18:41:58 UTC
(
hide
)
Description:
Bug 32400: Add page-section to aqbudgetperiods table
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-01-04 18:41:58 UTC
Size:
5.45 KB
patch
obsolete
>From edca0edca2f98424e507031703e77e3aec448766 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 4 Jan 2023 18:39:48 +0000 >Subject: [PATCH] Bug 32400: Add page-section to aqbudgetperiods table > >To test: >1. Apply patch >2. Go to Administration -> Budgets >3. Close a budget >4. Make sure the page-section looks right. >--- > .../prog/en/modules/admin/aqbudgetperiods.tt | 96 ++++++++++--------- > 1 file changed, 49 insertions(+), 47 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt >index 2ed8069b0f2..a4fd620120f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt >@@ -363,53 +363,55 @@ > <span>There are no unreceived orders for this budget.</span> > <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Back</a> > [% ELSE %] >- <h3>The unreceived orders from the following funds will be moved</h3> >- Fund list of budget <a href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% budget_period_id | uri %]">[% budget_period_description | html %]</a>: >- <table id="budgeth"> >- <thead> >- <tr> >- <th>Fund ID</th> >- <th>Fund code</th> >- <th>Fund name</th> >- <th>Unreceived orders</th> >- </tr> >- </thead> >- <tbody> >- [% FOREACH budget IN budgets_to_move %] >- <tr> >- <td>[% budget.budget_id | html %]</td> >- <td>[% budget.budget_code | html %]</td> >- <td>[% budget.budget_name | html %]</td> >- <td>[% budget.unreceived_orders.size | html %]</td> >- </tr> >- [% END %] >- </tbody> >- </table> >- <form action="/cgi-bin/koha/admin/aqbudgetperiods.pl" name="f" method="post" id="move_form"> >- <fieldset class="rows"> >- <ol> >- <li> >- <label class="required" for="to_budget_period_id">Select a budget</label> >- <select name="to_budget_period_id" id="to_budget_period_id" required="required"> >- <option value=""></option> >- [% FOR budget_period IN budget_periods %] >- <option value="[% budget_period.budget_period_id | html %]">[% budget_period.budget_period_description | html %]</option> >- [% END %] >- </select> >- </li> >- <li> >- <label for="move_remaining_unspent">Move remaining unspent funds</label> >- <input type="checkbox" name="move_remaining_unspent" id="move_remaining_unspent" /> >- </li> >- </ol> >- </fieldset> >- <fieldset class="action"> >- <input type="hidden" name="op" value="close_confirmed" /> >- <input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" /> >- <input type="submit" class="btn btn-primary" value="Move unreceived orders" /> >- <a class="cancel" href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Cancel</a> >- </fieldset> >- </form> >+ <div class="page-section"> >+ <h3>The unreceived orders from the following funds will be moved</h3> >+ Fund list of budget <a href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% budget_period_id | uri %]">[% budget_period_description | html %]</a>: >+ <table id="budgeth"> >+ <thead> >+ <tr> >+ <th>Fund ID</th> >+ <th>Fund code</th> >+ <th>Fund name</th> >+ <th>Unreceived orders</th> >+ </tr> >+ </thead> >+ <tbody> >+ [% FOREACH budget IN budgets_to_move %] >+ <tr> >+ <td>[% budget.budget_id | html %]</td> >+ <td>[% budget.budget_code | html %]</td> >+ <td>[% budget.budget_name | html %]</td> >+ <td>[% budget.unreceived_orders.size | html %]</td> >+ </tr> >+ [% END %] >+ </tbody> >+ </table> >+ <form action="/cgi-bin/koha/admin/aqbudgetperiods.pl" name="f" method="post" id="move_form"> >+ <fieldset class="rows"> >+ <ol> >+ <li> >+ <label class="required" for="to_budget_period_id">Select a budget</label> >+ <select name="to_budget_period_id" id="to_budget_period_id" required="required"> >+ <option value=""></option> >+ [% FOR budget_period IN budget_periods %] >+ <option value="[% budget_period.budget_period_id | html %]">[% budget_period.budget_period_description | html %]</option> >+ [% END %] >+ </select> >+ </li> >+ <li> >+ <label for="move_remaining_unspent">Move remaining unspent funds</label> >+ <input type="checkbox" name="move_remaining_unspent" id="move_remaining_unspent" /> >+ </li> >+ </ol> >+ </fieldset> >+ <fieldset class="action"> >+ <input type="hidden" name="op" value="close_confirmed" /> >+ <input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" /> >+ <input type="submit" class="btn btn-primary" value="Move unreceived orders" /> >+ <a class="cancel" href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Cancel</a> >+ </fieldset> >+ </form> >+ </div><!-- /.page-section --> > [% END %] > [% ELSIF closed %] > <h1>Budget [% budget_period_description | html %] closed</h1> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32400
:
145040
|
145045
|
145117
|
145118
|
145119
|
145120