From 5897f4d6d98d1740a74c8b094e46b6ffef7b237c Mon Sep 17 00:00:00 2001 From: johnson-yi <63399474+johnson-yi@users.noreply.github.com> Date: Wed, 6 Sep 2023 00:36:48 +0000 Subject: [PATCH] Add rtd_location_id to tracked changes on checkin actionlog --- app/Models/Loggable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Loggable.php b/app/Models/Loggable.php index e4f8554a39..ce3a07f159 100644 --- a/app/Models/Loggable.php +++ b/app/Models/Loggable.php @@ -144,7 +144,7 @@ trait Loggable } $changed = []; - $originalValues = array_intersect_key($originalValues, array_flip(['action_date','name','status_id','location_id','expected_checkin'])); + $originalValues = array_intersect_key($originalValues, array_flip(['action_date','name','status_id','location_id','rtd_location_id','expected_checkin'])); foreach ($originalValues as $key => $value) { if ($key == 'action_date' && $value != $action_date) {