]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/conify/global/acq/cancel_reason.tt2
133c2cf196e5392098de43296f0e119611430f10
[working/Evergreen.git] / Open-ILS / web / templates / default / conify / global / acq / cancel_reason.tt2
1 [% WRAPPER default/base.tt2 %]
2 [% ctx.page_titel = 'Cancel Reasons' %]
3 <script src='[% ctx.media_prefix %]/js/ui/default/conify/global/acq/cancel_reason.js'> </script>
4
5 <!-- grid -->
6
7  <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
8         <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
9             <div>PO / Item / Request Cancellation Reasons</div>
10             <div>
11                 <button dojoType='dijit.form.Button' onClick='crGrid.showCreateDialog()'>New Cancel Reason</button>
12                 <button dojoType='dijit.form.Button' onClick='crGrid.deleteSelected()'>Delete Selected</button>
13             </div>
14         </div>
15         <div>
16             <span>Context Org Unit</span>
17             <select dojoType="openils.widget.OrgUnitFilteringSelect" jsId='contextOrgSelector'
18                 searchAttr='shortname' labelAttr='shortname'> </select>
19         </div>
20         <table  jsId="crGrid"
21                 dojoType="openils.widget.AutoGrid"
22                 fieldOrder="['id', 'org_unit', 'label', 'description']"
23                 query="{id: '*'}"
24                 defaultCellWidth='"auto"'
25                 fmClass='acqcr'
26                 showPaginator='true'
27                 editOnEnter='true'>
28         </table>
29     </div>
30 </div>
31 [% END %]
32
33