]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/conify/global/config/billing_type.tt2
port the billing type UI to autogrid
[working/Evergreen.git] / Open-ILS / web / templates / default / conify / global / config / billing_type.tt2
1 [% WRAPPER default/base.tt2 %]
2 <script src='[% ctx.media_prefix %]/js/ui/default/conify/global/config/billing_type.js'> </script>
3
4 <!-- grid -->
5
6  <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
7         <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
8             <div>Billing Types</div>
9             <div>
10                 <button dojoType='dijit.form.Button' onClick='btGrid.showCreateDialog()'>New Billing Type</button>
11             </div>
12         </div>
13         <div>
14             <span>Context Org Unit</span>
15             <select dojoType="openils.widget.OrgUnitFilteringSelect" jsId='btContextOrgSelect' 
16                 searchAttr='shortname' labelAttr='shortname'> </select>
17         </div>
18         <table  jsId="btGrid"
19                 dojoType="openils.widget.AutoGrid"
20                 fieldOrder="['id', 'name', 'owner', 'default_price']"
21                 query="{id: '*'}"
22                 defaultCellWidth='20'
23                 fmClass='cbt'
24                 editOnEnter='true'>
25             <thead>
26                 <tr><th field='owner' get='getOrgInfo'/>
27                 </tr>
28             </thead>
29         </table>
30     </div>
31 </div>
32 [% END %]
33
34