From: erickson Date: Thu, 6 May 2010 14:55:11 +0000 (+0000) Subject: added links to LI and PO history pages X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b8d7c543ee2a2ed8a6e1c6beb8b4519ddace8e2d;p=evergreen%2Ftadl.git added links to LI and PO history pages git-svn-id: svn://svn.open-ils.org/ILS/trunk@16394 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/js/ui/default/acq/common/li_table.js b/Open-ILS/web/js/ui/default/acq/common/li_table.js index 73c5cb532a..d05fb4758c 100644 --- a/Open-ILS/web/js/ui/default/acq/common/li_table.js +++ b/Open-ILS/web/js/ui/default/acq/common/li_table.js @@ -432,6 +432,9 @@ function AcqLiTable() { 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") { @@ -1872,6 +1875,10 @@ function AcqLiTable() { this.printPO(); break; + case 'po_history': + location.href = oilsBasePath + '/acq/po/history/' + this.isPO; + break; + case 'receive_po': this.receivePO(); break; diff --git a/Open-ILS/web/templates/default/acq/common/li_table.tt2 b/Open-ILS/web/templates/default/acq/common/li_table.tt2 index 5cacf1dc54..b2526585fa 100644 --- a/Open-ILS/web/templates/default/acq/common/li_table.tt2 +++ b/Open-ILS/web/templates/default/acq/common/li_table.tt2 @@ -29,6 +29,7 @@ +