1 [% WRAPPER default/base.tt2 %]
3 var poId = [% ctx.page_args.0 %];
6 <script src='[% ctx.media_prefix %]/js/ui/default/acq/po/view_po.js'> </script>
8 <div id='oils-acq-list-header' class='container'>
9 <div id='oils-acq-list-header-label'>PO Details</div>
12 <div dojoType="dijit.layout.ContentPane" layoutAlign="top">
13 <div dojoType="dijit.layout.TabContainer">
15 <div dojoType="dijit.layout.ContentPane" class='oils-acq-detail-content-pane' title="Summary" selected='true'>
16 <script type='dojo/connect' event='onShow'>loadPOGrid();</script>
18 <div dojoType="dijit.layout.ContentPane" layoutAlign="top">
19 <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:600px;'>
20 <table jsId="poGrid" dojoType="dojox.grid.DataGrid" query="{id: '*'}" rowSelector='20px'>
23 <th field="id">ID</th>
24 <th field="owner" get='getPOOwner'>Owner</th>
25 <th field="ordering_agency" get='getOrgInfo'>Ordering Agency</th>
26 <th field="create_time" width='auto' get='getDateTimeField'>Create Time</th>
27 <th field="edit_time" width='auto' get='getDateTimeField'>Edit Time</th>
28 <th field="provider" get='getProvider'>Provider</th>
29 <th field="lineitem_count"># Lineitems</th>
30 <th field="state">State</th>
37 <div dojoType="dijit.layout.ContentPane" class='oils-acq-detail-content-pane' title="Line Items">
38 <script type='dojo/connect' event='onShow'>loadLIGrid();</script>
39 [% grid_jsid = 'liGrid'; domprefix = 'oils-acq-lineitem' %]
40 [% INCLUDE 'default/acq/common/jubgrid.tt2' %]