From e486fe2794dd6908a2952653b9911060d77f84de Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 5 Sep 2023 16:10:20 +0100 Subject: [PATCH] Removed soft-delete query Signed-off-by: snipe --- app/Http/Transformers/ActionlogsTransformer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Transformers/ActionlogsTransformer.php b/app/Http/Transformers/ActionlogsTransformer.php index 926116fe1e..4ab7ae02ee 100644 --- a/app/Http/Transformers/ActionlogsTransformer.php +++ b/app/Http/Transformers/ActionlogsTransformer.php @@ -161,7 +161,7 @@ class ActionlogsTransformer { $location = Location::withTrashed()->get(); $supplier = Supplier::withTrashed()->get(); $model = AssetModel::withTrashed()->get(); - $company = Company::withTrashed()->get(); + $company = Company::get(); if(array_key_exists('rtd_location_id',$clean_meta)) {