]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/conify/global/acq/invoice_payment_method.tt2
I18N: Make everything in tt2 files translatable.
[Evergreen.git] / Open-ILS / src / templates / conify / global / acq / invoice_payment_method.tt2
1 [% WRAPPER base.tt2 %]
2 [% ctx.page_title = l('Invoice Payment Methods') %]
3 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class="oils-header-panel">
4     <div>[% l('Invoice Payment Methods') %]</div>
5     <div>
6         <button dojoType="dijit.form.Button" onClick="acqipmGrid.showCreateDialog();">[% l('New Invoice Payment Method') %]</button>
7         <button dojoType="dijit.form.Button" onClick="acqipmGrid.deleteSelected();">[% l('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 %]