1 [% WRAPPER default/base.tt2 %]
2 <script>var providerId = [% ctx.page_args.0 %]</script>
3 <script src='[% ctx.media_prefix %]/js/ui/default/acq/financial/view_provider.js'> </script>
5 <div dojoType="dijit.layout.ContentPane" layoutAlign="top">
6 <div dojoType="dijit.layout.TabContainer">
7 <div dojoType="dijit.layout.ContentPane"
8 class='oils-acq-detail-content-pane' title="Summary" selected='true' style='height:400px;'>
10 var providerGridLayout = [{
12 {name: 'ID', field: 'id'},
13 {name: 'Name', field: "name", width:'auto'},
14 {name: 'Code', field:'code'},
15 {name: 'Owner', get:getOrgInfo},
16 {name: 'Currency Type', field: "currency_type"},
20 <div jsId='providerGrid' dojoType="dojox.Grid" structure='providerGridLayout'> </div>
24 Provider order record data types
26 <div dojoType="dijit.layout.ContentPane"
27 class='oils-acq-detail-content-pane' title="Order Record Format" style='height:400px;'>
29 <div class='oils-acq-actions-div' style='margin:8px;'>
32 Dropdown menu for creating a new order record data type
34 <div dojoType="dijit.form.DropDownButton">
35 <span>Create Order Record Field</span>
36 <div dojoType="dijit.TooltipDialog" execute="createOrderRecordField(arguments[0]);">
37 <script type='dojo/connect' event='onOpen'>setORDesc();</script>
38 <table class='dijitTooltipTable'>
40 <td><label for="code">Code: </label></td>
42 <select id='oils-acq-provider-or-code' name="code" dojoType="dijit.form.ComboBox">
43 <script type='dojo/connect' event='onChange'>setORDesc();</script>
44 <option value='fund_code'>Fund Code</option>
45 <option value='shelving_location'>Shelving Location</option>
46 <option value='quantity'>Quantity</option>
47 <option value='order_date'>Order Date</option>
48 <option value='volume_count'>Volume Count </option>
49 <option value='currency_type'>Currency Type</option>
50 <option value='internal_notes'>Internal Notes </option>
51 <option value='vendor_notes'>Vendor Notes</option>
52 <option value='estimated_price'>Estimated Price</option>
57 <td><label for="description">Description: </label></td>
58 <td><input id='oils-acq-provider-or-desc' dojoType="dijit.form.TextBox" name="description"> </input></td>
61 <td><label for="amount">Tag: </label></td>
62 <td><input dojoType="dijit.form.TextBox" name="tag"></input></td>
65 <td><label for="amount">Subfield: </label></td>
66 <td><input dojoType="dijit.form.TextBox" name="subfield"></input></td>
69 <td><label for="ident">Identifer Field?: </label></td>
71 <select dojoType="dijit.form.FilteringSelect" name="ident">
72 <option value='f' selected='selected'>False</option>
73 <option value='t'>True</option>
78 <td><label for="amount">XPath (advanced): </label></td>
79 <td><input dojoType="dijit.form.TextBox" name="xpath"></input></td>
82 <td colspan='2' align='center'>
83 <button dojoType=dijit.form.Button type="submit">Apply</button>
91 Delete order record data types button
93 <button dojoType="dijit.form.Button" onclick='deleteORDataFields();'>
98 <script type='dojo/connect' event='onShow'>loadPADGrid();</script>
100 var padGridLayout = [{
102 {name: 'ID', field: 'id'},
103 {name: 'Code', field:'code', width:'auto'},
104 {name: 'Description', field: "description", width:'auto'},
105 {name: 'Tag', get:getTag},
106 {name: 'Subfield', get:getSubfield},
107 {name: 'Identifier', field:'ident'},
108 {name: 'XPath', field:'xpath', width:'auto'}
112 <div jsId='padGrid' dojoType="dojox.Grid" structure='padGridLayout'> </div>