var actLinkInvoice = nodeByName('action_link_invoice', row);
var actViewInvoice = nodeByName('action_view_invoice', row);
+ nodeByName('action_view_history', row).onclick =
+ function() { location.href = oilsBasePath + '/acq/lineitem/history/' + li.id(); };
+
var state_cell = nodeByName("li_state", row);
if (li.state() == "cancelled") {
this.printPO();
break;
+ case 'po_history':
+ location.href = oilsBasePath + '/acq/po/history/' + this.isPO;
+ break;
+
case 'receive_po':
this.receivePO();
break;
<option mask='po' value='receive_po'>Mark Purchase Order as Received</option>
<option mask='po' value='rollback_receive_po'>Un-Receive Purchase Order</option>
<option mask='po' value='print_po'>Print Purchase Order</option>
+ <option mask='po' value='po_history'>View PO History</option>
</select>
<span id="acq-lit-export-attr-holder" class="hidden">
<input dojoType="dijit.form.FilteringSelect" id="acq-lit-export-attr" jsId="acqLitExportAttrSelector" labelAttr="description" searchAttr="description" />
<option name='action_view_invoice' disabled='disabled'>View Invoice(s)</option>
<option name='action_view_claim_policy'>Apply Claim Policy</option>
<option name='action_manage_claims' disabled='disabled'>Claims</option>
+ <option name='action_view_history'>View History</option>
</select>
</td>
<td><span name='li_state'></span></td>