</link> is not valid HTML
[working/Evergreen.git] / Open-ILS / web / templates / default / conify / global / acq / claim_type.tt2
1 [% WRAPPER default/base.tt2 %]
2 <script type="text/javascript" src="[% ctx.media_prefix %]/js/ui/default/conify/global/acq/claim_grid.js"></script>
3 <script type="text/javascript">
4 openils.Util.addOnLoad(
5     function() {
6         prepareOwnerSelector("ADMIN_ACQ_CLAIM_TYPE");
7         populateGrid();
8     }
9 );
10 </script>
11 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
12     <div dojoType="dijit.layout.ContentPane"
13          layoutAlign="top" class="oils-header-panel">
14         <div>Claim Types</div>
15         <div>
16             <button onclick="grid.showCreateDialog()">New Claim Type</button>
17             <button onclick="grid.deleteSelected()">Delete Selected</button>
18         </div>
19     </div>
20     <div class="oils-acq-basic-roomy">
21         <span>Show claim types available to</span>
22         <select
23             dojoType="openils.widget.OrgUnitFilteringSelect"
24             jsId="ownerSelect" searchAttr="shortname"
25             labelAttr="shortname">
26         </select>
27     </div>
28     <table jsId="grid"
29         dojoType="openils.widget.AutoGrid"
30         fieldOrder="['code', 'org_unit', 'description']"
31         suppressFields="['id']"
32         query="{id: '*'}"
33         defaultCellWidth="20"
34         fmClass="acqclt"
35         showPaginator="true"
36         editOnEnter="true">
37     </table>
38 </div>
39 [% END %]