1 [% WRAPPER 'base.tt2' %]
2 [% ctx.page_title = 'Patron Requests' %]
3 <script type="text/javascript">var reqId = '[% ctx.page_args.0 %]';</script>
5 <div dojoType="dijit.layout.StackContainer" id="stackContainer" doLayout="false">
6 <!-- *** List View ********************************************************************************* -->
7 <div dojoType="dijit.layout.ContentPane">
8 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
9 <div>[% ctx.page_title %]</div>
12 <span>Context Org Unit</span>
14 dojoType="openils.widget.OrgUnitFilteringSelect"
15 jsId='contextOrgSelector'
16 searchAttr='shortname'
17 labelAttr='shortname'>
21 dojoType="openils.widget.AutoGrid"
23 suppressFields='["id", "usr", "pickup_lib", "holdable_formats", "phone_notify", "email_notify", "lineitem", "eg_bib", "max_fee", "cancel_reason"]'
24 fieldOrder='["title", "author", "isxn", "article_title", "article_pages", "request_type", "volume", "pubdate", "publisher", "location", "other_info", "mentioned"]'
28 defaultCellWidth='"auto"'
29 suppressFields="['id']"
31 showColumnPicker='true'
32 columnPickerPrefix='"acq.picklist.user_request"'>
35 <th field='title' get='getTitle' formatter='formatTitle'/>
40 <!-- *** Detail View ********************************************************************************* -->
41 <div dojoType="dijit.layout.ContentPane" style="height: 100%;">
42 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
43 <div>Patron Request</div>
45 <button dojoType="dijit.form.Button" onClick="location.href=oilsBasePath+'/acq/picklist/user_request'">[% ctx.page_title %]</button>
46 <button dojoType="dijit.form.Button" onClick="fooPicklist()"><span id="add_to_picklist">Add to Selection List</span><span id="view_picklist">View Selection List</span></button>
47 <button dojoType="dijit.form.Button" onClick="setNoHold()">Set No Hold</button>
48 <span dojoType="dijit.form.DropDownButton">
49 <span>Cancel Request</span>
50 <span dojoType="dijit.TooltipDialog">
51 <label for="acq-ur-cancel-reason">
54 <span id="acq-ur-cancel-reason"></span>
55 <button jsId="acqUrCancelReasonSubmit"
56 dojoType="dijit.form.Button"
57 type="submit">Cancel Request</button>
62 <div id="detail_content_pane" />
65 <script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/acq/picklist/user_request.js'></script>