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