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>
13 <span>Context Org Unit</span>
15 dojoType="openils.widget.OrgUnitFilteringSelect"
16 jsId='contextOrgSelector'
17 searchAttr='shortname'
18 labelAttr='shortname'>
22 dojoType="openils.widget.AutoGrid"
24 suppressFields='["id", "usr", "pickup_lib", "holdable_formats", "phone_notify", "email_notify", "lineitem", "eg_bib", "max_fee", "cancel_reason"]'
25 fieldOrder='["title", "author", "isxn", "article_title", "article_pages", "request_type", "volume", "pubdate", "publisher", "location", "other_info", "mentioned"]'
29 defaultCellWidth='"auto"'
30 suppressFields="['id']"
32 showColumnPicker='true'
33 columnPickerPrefix='"acq.picklist.user_request"'>
36 <th field='title' get='getTitle' formatter='formatTitle'/>
41 <!-- *** Detail View ********************************************************************************* -->
42 <div dojoType="dijit.layout.ContentPane" style="height: 100%;">
43 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
44 <div>Patron Request</div>
46 <button dojoType="dijit.form.Button" onClick="location.href=oilsBasePath+'/acq/picklist/user_request'">[% ctx.page_title %]</button>
47 <button dojoType="dijit.form.Button" onClick="fooPicklist()"><span id="add_to_picklist">Add to Picklist</span><span id="view_picklist">View Picklist</span></button>
48 <button dojoType="dijit.form.Button" onClick="setNoHold()">Set No Hold</button>
49 <span dojoType="dijit.form.DropDownButton">
50 <span>Cancel Request</span>
51 <span dojoType="dijit.TooltipDialog">
52 <label for="acq-ur-cancel-reason">
55 <span id="acq-ur-cancel-reason"></span>
56 <button jsId="acqUrCancelReasonSubmit"
57 dojoType="dijit.form.Button"
58 type="submit">Cancel Request</button>
63 <div id="detail_content_pane" />