From 73a57f5073c757da9f82cacd078526c784e50636 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=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Kyle M Hall (cherry picked from commit 4cb7119e933009374fad8f192e1f30f819a74f88) Signed-off-by: Katrin Fischer --- acqui/finishreceive.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/acqui/finishreceive.pl b/acqui/finishreceive.pl index a16213ad8d..e797963bb1 100755 --- a/acqui/finishreceive.pl +++ b/acqui/finishreceive.pl @@ -153,6 +153,7 @@ ModItem( { booksellerid => $booksellerid, dateaccessioned => $datereceived, + datelastseen => $datereceived, price => $unitprice, replacementprice => $order->{rrp}, replacementpricedate => $datereceived, -- 2.39.5