From d71d91ecb699e6981d4a76f300eac311a2b8be49 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 13 Apr 2017 09:55:15 -0400 Subject: [PATCH] Bug 18429 - Receiving an item should update the datelastseen MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 To test: 0 - Ensure AcqCreateItem is set to 'placing an order' 1 - Order some items, note entrydate and datelastseen match 2 - Alter those dates to be earlier than today (or wait some days) 3 - Recieve the item and note datelast seen not updated 4 - Apply patch 5 - Repeat 1-3 6 - Date last seen should be updated. Followed test plan, works as expected. Signed-off-by: Marc VĂ©ron Works as expected. Signed-off-by: Christopher Brannon Signed-off-by: Marcel de Rooy --- acqui/finishreceive.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/acqui/finishreceive.pl b/acqui/finishreceive.pl index 2c6340c..6a82f54 100755 --- a/acqui/finishreceive.pl +++ b/acqui/finishreceive.pl @@ -150,6 +150,7 @@ ModItem( { booksellerid => $booksellerid, dateaccessioned => $datereceived, + datelastseen => $datereceived, price => $unitprice, replacementprice => $order->{rrp}, replacementpricedate => $datereceived, -- 2.1.4