Remove block on mark-receive from non-PO UI
authorBill Erickson <berick@esilibrary.com>
Tue, 30 Aug 2011 17:56:44 +0000 (13:56 -0400)
committerMike Rylander <mrylander@gmail.com>
Sun, 1 Apr 2012 02:42:38 +0000 (22:42 -0400)
Allow lineitem mark-received action to take place from lineitem table UI
even when not viewing a PO (e.g. from search results)

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/js/ui/default/acq/common/li_table.js

index c9b70d4..9e3e350 100644 (file)
@@ -2323,10 +2323,6 @@ function AcqLiTable() {
     }
 
     this.issueReceive = function(obj, rollback) {
-        /* (For now) there shall be no marking LI or LIDs (un)received
-         * except from the actual "view PO" interface. */
-        if (!this.isPO) return;
-
         var part =
             {"jub": "lineitem", "acqlid": "lineitem_detail"}[obj.classname];
         var method =