]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/acq/financial/list_funds.tt2
don't hide dialogs, they handle that for us
[working/Evergreen.git] / Open-ILS / web / templates / default / acq / financial / list_funds.tt2
1 [% WRAPPER 'default/base.tt2' %]
2 [% ctx.page_title = 'Funds' %]
3
4 <!-- load the page-specific JS -->
5 <script src='[% ctx.media_prefix %]/js/ui/default/acq/financial/list_funds.js'> </script>
6
7 <table style='width:100%;'>
8     <tr>
9         <!-- TODO CSS -->
10         <td style='text-align:left;font-size:130%;font-weight: bold;'>Funds</td>
11         <td style='text-align:right;width:90%;'>
12
13             <span>
14                 <span>Context Org Unit</span>
15                 <select 
16                     dojoType="openils.widget.OrgUnitFilteringSelect" 
17                     jsId='contextOrgSelector'
18                     searchAttr='shortname' 
19                     labelAttr='shortname'> 
20                 </select>
21             </span>
22
23             Year <select dojoType='dijit.form.FilteringSelect'
24                 jsId='fundFilterYearSelect' labelAttr='year' searchAttr='year'> </select>
25
26             <button dojoType='dijit.form.Button' onClick='lfGrid.showCreateDialog()'>New Fund</button>
27             <button dojoType='dijit.form.Button' onClick='lfGrid.deleteSelected()'>Delete Selected</button>
28
29             <div dojoType="dijit.form.DropDownButton">
30                 <span>Fund Propagation &amp; Rollover</span>
31                 <div dojoType="dijit.TooltipDialog" execute="performRollover(arguments[0]);">
32                     <table class='dijitTooltipTable'>
33                         <tr>
34                             <td colspan='2'>
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
39                                 during this process. 
40                                 <div>
41                             </td>
42                         </tr>
43                         <tr>
44                             <td><label for="rollover">Perform Fiscal Year Close-out Operation: </label></td>
45                             <td>
46                                 <input dojoType="dijit.form.CheckBox" name="rollover"> </input>
47                             </td>
48                         </tr>
49                         <tr>
50                             <td colspan='2'>
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.
57                                 </div>
58                             </td>
59                         </tr>
60                         <tr>
61                             <td><label for="dry_run">Dry Run: </label></td>
62                             <td>
63                                 <input dojoType="dijit.form.CheckBox" name="dry_run" checked='checked'> </input>
64                             </td>
65                         </tr>
66                         <tr>
67                             <td colspan='2'>
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.
72                                 </div>
73                             </td>
74                         </tr>
75                         <tr>
76                             <td colspan='2' align='center'>
77                                 <button dojoType=dijit.form.Button type="submit">Process</button>
78                             </td>
79                         </tr>
80                     </table>
81                 </div>
82             </div> 
83         </td>
84     </tr>
85 </table>
86
87 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
88     <table  jsId="lfGrid"
89             autoHeight='true'
90             dojoType="openils.widget.AutoGrid"
91             fieldOrder="['id', 'name', 'code', 'year', 'org', 'currency_type', 'combined_balance']"
92             query="{id: '*'}"
93             defaultCellWidth='"auto"'
94             fmClass='acqf'
95             showPaginator='true'
96             editOnEnter='true'>
97         <thead>
98             <tr>
99                 <th field='combined_balance' name="Combined Balance"  get='getBalanceInfo'></th>
100             </tr>
101         </thead>
102     </table>
103 </div>
104 <div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'/>
105
106
107 [% END %]