]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/conify/global/acq/claim_policy.tt2
#LP801961, error when running edi_fetcher.pl
[working/Evergreen.git] / Open-ILS / web / templates / default / conify / global / acq / claim_policy.tt2
1 [% WRAPPER default/base.tt2 %]
2 [% ctx.page_title = 'Claim Policies' %]
3
4 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
5     <div dojoType="dijit.layout.ContentPane"
6          layoutAlign="top" class="oils-header-panel">
7         <div>Claim Policies</div>
8         <div>
9             <button onclick="grid.showCreateDialog()">New Claim Policy</button>
10             <button onclick="grid.deleteSelected()">Delete Selected</button>
11         </div>
12     </div>
13     <div class="oils-acq-basic-roomy">
14         <span>Show claim policies available to</span>
15         <select
16             dojoType="openils.widget.OrgUnitFilteringSelect"
17             jsId="ownerSelect" searchAttr="shortname"
18             labelAttr="shortname">
19         </select>
20     </div>
21     <table jsId="grid"
22         dojoType="openils.widget.AutoGrid"
23         fieldOrder="['name', 'org_unit', 'description']"
24         suppressFields="['id']"
25         query="{id: '*'}"
26         defaultCellWidth="20"
27         fmClass="acqclp"
28         showPaginator="true"
29         editOnEnter="true">
30     </table>
31 </div>
32
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_CLAIM_POLICY");
38         populateGrid("[% ctx.page_args.0 %]");
39     }
40 );
41 </script>
42 [% END %]