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