From 44349db59721b8861fc13258d8a106bc08c202ea Mon Sep 17 00:00:00 2001 From: Ivan Nieto Vivanco Date: Wed, 26 Jan 2022 22:58:02 -0600 Subject: [PATCH 1/2] Fixes the appearance of some error messages --- resources/views/depreciations/edit.blade.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/views/depreciations/edit.blade.php b/resources/views/depreciations/edit.blade.php index 3a011cfb16..f2e2447255 100755 --- a/resources/views/depreciations/edit.blade.php +++ b/resources/views/depreciations/edit.blade.php @@ -16,11 +16,12 @@ {{ trans('admin/depreciations/general.number_of_months') }}
-
- +
+ + {!! $errors->first('months', '') !!}
- {!! $errors->first('months', '') !!} +
From a87478d3ac1f7cd8c69ad6d8fdcc5abeec55777c Mon Sep 17 00:00:00 2001 From: Ivan Nieto Vivanco Date: Wed, 26 Jan 2022 23:02:27 -0600 Subject: [PATCH 2/2] Set the actual field we are evaluating as required (months) --- resources/views/depreciations/edit.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/depreciations/edit.blade.php b/resources/views/depreciations/edit.blade.php index f2e2447255..26adbb4559 100755 --- a/resources/views/depreciations/edit.blade.php +++ b/resources/views/depreciations/edit.blade.php @@ -17,7 +17,7 @@
- + {!! $errors->first('months', '') !!}