</link> is not valid HTML
[working/Evergreen.git] / Open-ILS / web / templates / default / conify / global / acq / exchange_rate.tt2
1 [% WRAPPER default/base.tt2 %]
2 <script type="text/javascript">
3     dojo.require('openils.widget.AutoGrid');
4     dojo.require('dijit.form.FilteringSelect');
5     openils.Util.addOnLoad(
6         function() {
7             erGrid.loadAll({order_by:{acqpro : 'name'}});
8         }
9     );
10 </script>
11 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
12     <div>Exchange Rates</div>
13     <div>
14         <button dojoType='dijit.form.Button' onClick='erGrid.showCreateDialog()'>New Exchange Rate</button>
15         <button dojoType='dijit.form.Button' onClick='erGrid.deleteSelected()'>Delete Selected</button>
16     </div>
17 </div>
18 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
19     <table  jsId="erGrid"
20             autoHeight='true'
21             dojoType="openils.widget.AutoGrid"
22             fieldOrder="['id', 'from_currency', 'to_currency', 'ratio']"
23             defaultCellWidth='12'
24             query="{id: '*'}"
25             fmClass='acqexr'
26             editOnEnter='true'>
27     </table>
28 </div>
29 [% END %]
30
31