1 [% WRAPPER 'default/base.tt2' %]
2 [% ctx.page_title = 'Patron Requests' %]
3 <script src='[% ctx.media_prefix %]/js/ui/default/acq/picklist/user_request.js'> </script>
4 <script>var reqId = '[% ctx.page_args.0 %]';</script>
6 <div dojoType="dijit.layout.StackContainer" id="stackContainer" doLayout="false">
7 <!-- *** List View ********************************************************************************* -->
8 <div dojoType="dijit.layout.ContentPane">
9 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
10 <div>[% ctx.page_title %]</div>
12 <button dojoType="dijit.form.Button" onClick="rGrid.setNoHoldSelected()">Set No Hold on Selected</button>
13 <button dojoType="dijit.form.Button" onClick="rGrid.cancelSelected()">Cancel Selected</button>
17 <span>Context Org Unit</span>
19 dojoType="openils.widget.OrgUnitFilteringSelect"
20 jsId='contextOrgSelector'
21 searchAttr='shortname'
22 labelAttr='shortname'>
26 dojoType="openils.widget.AutoGrid"
28 suppressFields='["id", "usr", "pickup_lib", "holdable_formats", "phone_notify", "email_notify", "lineitem", "eg_bib", "max_fee", "cancel_reason"]'
29 fieldOrder='["title", "author", "isxn", "article_title", "article_pages", "request_type", "volume", "pubdate", "publisher", "location", "other_info", "mentioned"]'
34 suppressFields="['id']"
36 showColumnPicker='true'
37 columnPickerPrefix='"acq.picklist.user_request"'>
40 <th field='title' get='getTitle' formatter='formatTitle'/>
45 <!-- *** Detail View ********************************************************************************* -->
46 <div dojoType="dijit.layout.ContentPane" style="height: 100%;">
47 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
48 <div>Patron Request</div>
50 <button dojoType="dijit.form.Button" onClick="location.href=oilsBasePath+'/acq/picklist/user_request'">[% ctx.page_title %]</button>
51 <button dojoType="dijit.form.Button" onClick="addToPicklist()">Add to Picklist</button>
52 <button dojoType="dijit.form.Button" onClick="setNoHold()">Set No Hold</button>
53 <button dojoType="dijit.form.Button" onClick="cancelRequest()">Cancel Request with Reason</button>
56 <div id="detail_content_pane" />