Skip to content

A free open source IT asset/license management system

Add rtd_location_id to tracked changes on checkin actionlog

johnson-yi5897f4d6d98d
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) {