From 975b4dee2f62d72d3a8f50a52a4c3dd87f37da6b Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 2 Aug 2022 19:58:17 -0700 Subject: [PATCH 1/3] Added deleted header Signed-off-by: snipe --- app/Http/Controllers/ReportsController.php | 4 ++++ resources/views/reports/custom.blade.php | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/app/Http/Controllers/ReportsController.php b/app/Http/Controllers/ReportsController.php index 06629c175a..e596eeffa2 100644 --- a/app/Http/Controllers/ReportsController.php +++ b/app/Http/Controllers/ReportsController.php @@ -552,6 +552,10 @@ class ReportsController extends Controller $header[] = trans('general.updated_at'); } + if ($request->filled('deleted_at')) { + $header[] = trans('general.deleted'); + } + if ($request->filled('last_audit_date')) { $header[] = trans('general.last_audit'); } diff --git a/resources/views/reports/custom.blade.php b/resources/views/reports/custom.blade.php index 4653fb1faa..c81c7c8041 100644 --- a/resources/views/reports/custom.blade.php +++ b/resources/views/reports/custom.blade.php @@ -178,6 +178,13 @@ {{ trans('general.updated_at') }} +
+ +
+