From 0c86b67ed67b0a681683336739764535ece0e402 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 18 Oct 2023 14:13:35 +0100 Subject: [PATCH] Added error reporting to UI Signed-off-by: snipe --- resources/views/reports/custom.blade.php | 110 +++++++++++++++++------ 1 file changed, 81 insertions(+), 29 deletions(-) diff --git a/resources/views/reports/custom.blade.php b/resources/views/reports/custom.blade.php index 5b0bd384ee..959be57c9c 100644 --- a/resources/views/reports/custom.blade.php +++ b/resources/views/reports/custom.blade.php @@ -259,79 +259,131 @@
-
+
-
+
-
- +
+ to - +
+ + @if ($errors->has('purchase_start') || $errors->has('purchase_end')) +
+ {!! $errors->first('purchase_start', '') !!} + {!! $errors->first('purchase_end', '') !!} +
+ @endif +
-
+
-
- +
+ to - +
+ + @if ($errors->has('created_start') || $errors->has('created_end')) +
+ {!! $errors->first('created_start', '') !!} + {!! $errors->first('created_end', '') !!} +
+ @endif
-
+
-
- +
+ to - +
+ + @if ($errors->has('checkout_date_start') || $errors->has('checkout_date_end')) +
+ {!! $errors->first('checkout_date_start', '') !!} + {!! $errors->first('checkout_date_end', '') !!} +
+ @endif +
-
+
-
- +
+ {{ strtolower(trans('general.to')) }} - +
+ + @if ($errors->has('checkin_date_start') || $errors->has('checkin_date_end')) +
+ {!! $errors->first('checkin_date_start', '') !!} + {!! $errors->first('checkin_date_end', '') !!} +
+ @endif
-
+
-
- +
+ to - +
+ + @if ($errors->has('expected_checkin_start') || $errors->has('expected_checkin_end')) +
+ {!! $errors->first('expected_checkin_start', '') !!} + {!! $errors->first('expected_checkin_end', '') !!} +
+ @endif +
-
+
-
- +
+ to - +
+ + @if ($errors->has('last_audit_start') || $errors->has('last_audit_end')) +
+ {!! $errors->first('last_audit_start', '') !!} + {!! $errors->first('last_audit_end', '') !!} +
+ @endif
-
+
-
- +
+ to - +
+ + @if ($errors->has('next_audit_start') || $errors->has('next_audit_end')) +
+ {!! $errors->first('next_audit_start', '') !!} + {!! $errors->first('next_audit_end', '') !!} +
+ @endif