]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/conify/global/acq/invoice_payment_method.tt2
Merge branch 'collab/miker/acs-ui-repairs' from working/Evergreen.git
[working/Evergreen.git] / Open-ILS / web / templates / default / conify / global / acq / invoice_payment_method.tt2
1 [% WRAPPER default/base.tt2 %]
2 [% ctx.page_title = 'Invoice Payment Methods' %]
3 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class="oils-header-panel">
4     <div>Invoice Payment Methods</div>
5     <div>
6         <button dojoType="dijit.form.Button" onClick="acqipmGrid.showCreateDialog();">New Invoice Payment Method</button>
7         <button dojoType="dijit.form.Button" onClick="acqipmGrid.deleteSelected();">Delete Selected</button>
8     </div>
9 </div>
10 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
11     <table  jsId="acqipmGrid"
12             dojoType="openils.widget.AutoGrid"
13             fieldOrder="['code', 'name']"
14             defaultCellWidth="'auto'"
15             query="{id: '*'}"
16             fmClass="acqipm"
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() { acqipmGrid.loadAll({"order_by": {"acqipm": "name"}}); }
26     );
27 </script>
28 [% END %]