1 [% WRAPPER 'base.tt2' %]
2 [% ctx.page_title = l('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>
11 <div style="width: 100%">
13 <span>[% l('Context Org Unit') %]</span>
15 dojoType="openils.widget.OrgUnitFilteringSelect"
16 jsId='contextOrgSelector'
17 searchAttr='shortname'
18 labelAttr='shortname'>
22 <a name="user" href="javascript:changeUserPrompt();">[% l('User') %]</a>
25 jsId="contextUsrTextbox"
26 dojoType="dijit.form.TextBox"
31 <a name="lineitem" href="javascript:changeLIPrompt();">[% l('PO Line Item') %]</a>
34 jsId="contextLITextbox"
35 dojoType="dijit.form.TextBox"
39 <button dojoType="dijit.form.Button" onClick="createRequest()">[% l('Create Request') %]</button>
42 dojoType="openils.widget.AutoGrid"
44 suppressFields='["id", "usr", "pickup_lib", "holdable_formats", "phone_notify", "email_notify", "lineitem", "eg_bib", "max_fee", "cancel_reason"]'
45 fieldOrder='["title", "author", "isxn", "article_title", "article_pages", "request_type", "volume", "pubdate", "publisher", "location", "other_info", "mentioned"]'
47 suppressEditFields='["id", "holdable_formats", "phone_notify", "email_notify", "eg_bib", "max_fee", "cancel_reason"]'
51 defaultCellWidth='"auto"'
53 showColumnPicker='true'
54 columnPersistKey='"acq.picklist.user_request"'>
57 <th field='title' get='getTitle' formatter='formatTitle'/>
62 <!-- *** Detail View ********************************************************************************* -->
63 <div dojoType="dijit.layout.ContentPane" style="height: 100%;">
64 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
65 <div>[% l('Patron Request') %]</div>
67 <button dojoType="dijit.form.Button" onClick="location.href=oilsBasePath+'/acq/picklist/user_request'">[% ctx.page_title %]</button>
68 <button dojoType="dijit.form.Button" onClick="fooPicklist()"><span id="add_to_picklist">[% l('Add to Selection List') %]</span><span id="view_picklist">[% l('View Selection List') %]</span></button>
69 <button dojoType="dijit.form.Button" onClick="setNoHold()">[% l('Set No Hold') %]</button>
70 <span dojoType="dijit.form.DropDownButton">
71 <span>[% l('Cancel Request') %]</span>
72 <span dojoType="dijit.TooltipDialog">
73 <label for="acq-ur-cancel-reason">
76 <span id="acq-ur-cancel-reason"></span>
77 <button jsId="acqUrCancelReasonSubmit"
78 dojoType="dijit.form.Button"
79 type="submit">[% l('Cancel Request') %]</button>
84 <div id="detail_content_pane" ></div>
87 <script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/acq/picklist/user_request.js'></script>