]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/conify/global/config/billing_type.tt2
grid width tweaks
[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                 <button dojoType='dijit.form.Button' onClick='btGrid.deleteSelected()'>Delete Selected</button>
12             </div>
13         </div>
14         <div>
15             <span>Context Org Unit</span>
16             <select dojoType="openils.widget.OrgUnitFilteringSelect" jsId='btContextOrgSelect'
17                 searchAttr='shortname' labelAttr='shortname'> </select>
18         </div>
19         <table  jsId="btGrid"
20                 dojoType="openils.widget.AutoGrid"
21                 fieldOrder="['id', 'name', 'owner', 'default_price']"
22                 query="{id: '*'}"
23                 defaultCellWidth='20'
24                 fmClass='cbt'
25                 editOnEnter='true'>
26             <thead>
27                 <tr><th field='owner' get='getOrgInfo'/></tr>
28             </thead>
29         </table>
30     </div>
31 </div>
32 [% END %]
33
34