]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/conify/global/acq/invoice_item_type.tt2
Calculate penalties when marking items lost
[working/Evergreen.git] / Open-ILS / web / templates / default / conify / global / acq / invoice_item_type.tt2
1 [% WRAPPER default/base.tt2 %]
2 [% ctx.page_title = 'Invoice Item Types' %]
3 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class="oils-header-panel">
4     <div>Invoice Item Types</div>
5     <div>
6         <button dojoType="dijit.form.Button" onClick="aiitGrid.showCreateDialog();">New Invoice Item Type</button>
7         <button dojoType="dijit.form.Button" onClick="aiitGrid.deleteSelected();">Delete Selected</button>
8     </div>
9 </div>
10 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
11     <table  jsId="aiitGrid"
12             dojoType="openils.widget.AutoGrid"
13             fieldOrder="['code', 'name', 'prorate']"
14             defaultCellWidth="'auto'"
15             query="{id: '*'}"
16             fmClass="aiit"
17             editOnEnter="true">
18     </table>
19 </div>
20
21 <script type="text/javascript">
22     dojo.require("openils.widget.AutoGrid");
23     dojo.require("dijit.form.FilteringSelect");
24     openils.Util.addOnLoad(
25         function() { aiitGrid.loadAll({"order_by": {"aiit": "name"}}); }
26     );
27 </script>
28 [% END %]