1 [% WRAPPER 'default/base.tt2' %]
2 [% ctx.page_title = 'Funds' %]
4 <!-- load the page-specific JS -->
5 <script src='[% ctx.media_prefix %]/js/ui/default/acq/financial/list_funds.js'> </script>
7 <table style='width:100%;'>
10 <td style='text-align:left;font-size:130%;font-weight: bold;'>Funds</td>
11 <td style='text-align:right;width:90%;'>
14 <span>Context Org Unit</span>
16 dojoType="openils.widget.OrgUnitFilteringSelect"
17 jsId='contextOrgSelector'
18 searchAttr='shortname'
19 labelAttr='shortname'>
23 Year <select dojoType='dijit.form.FilteringSelect'
24 jsId='fundFilterYearSelect' labelAttr='year' searchAttr='year'> </select>
26 <button dojoType='dijit.form.Button' onClick='lfGrid.showCreateDialog()'>New Fund</button>
27 <button dojoType='dijit.form.Button' onClick='lfGrid.deleteSelected()'>Delete Selected</button>
29 <div dojoType="dijit.form.DropDownButton">
30 <span>Fund Propagation & Rollover</span>
31 <div dojoType="dijit.TooltipDialog" execute="performRollover(arguments[0]);">
32 <table class='dijitTooltipTable'>
35 <div style='width:400px;border-bottom:2px solid #888'>
36 Propagation creates new funds for the sugsequent fiscal year based on the
37 funds for the selected fiscal year. Only funds with the propagate setting
38 enabled will be affected. No money or encumbrances are altered
44 <td><label for="rollover">Perform Fiscal Year Close-out Operation: </label></td>
46 <input dojoType="dijit.form.CheckBox" name="rollover"> </input>
51 <div style='width:400px;border-bottom:2px solid #888'>
52 The year end close out operation moves encumbrances from the selected fiscal
53 year to the analogous funds in the subsequent fiscal year and it deactivates
54 funds for the selected fiscal year. Additionally, for all funds that have
55 the "Rollver" setting enabled, this process will move all unspent money to
56 the analogous fund in the subsequent fiscal year.
61 <td><label for="dry_run">Dry Run: </label></td>
63 <input dojoType="dijit.form.CheckBox" name="dry_run" checked='checked'> </input>
68 <div style='width:400px;border-bottom:2px solid #888'>
69 When Dry Run is selected, the system will generate a summary of
70 the changes that would occur during the selected operation(s).
71 No data will be changed.
76 <td colspan='2' align='center'>
77 <button dojoType=dijit.form.Button type="submit">Process</button>
87 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
90 dojoType="openils.widget.AutoGrid"
91 fieldOrder="['id', 'name', 'code', 'year', 'org', 'currency_type', 'combined_balance']"
93 defaultCellWidth='"auto"'
99 <th field='combined_balance' name="Combined Balance" get='getBalanceInfo'></th>
104 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'/>