A free open source IT asset/license management system
Print errors if they exist (temp)
snipe77da22f4dd7f
diff --git a/resources/views/hardware/audit.blade.php b/resources/views/hardware/audit.blade.phpindex 0522b0cad6..8093806e5f 100644--- a/resources/views/hardware/audit.blade.php+++ b/resources/views/hardware/audit.blade.php@@ -155,15 +155,8 @@</div> <!--/.col-md-7--></div>- @if ($message = session()->get('error'))- <div class="col-md-12">- <div class="alert alert alert-danger fade in">- <button type="button" class="close" data-dismiss="alert">×</button>- <i class="fas fa-exclamation-triangle faa-pulse animated"></i>- <strong>{{ trans('general.error') }}: </strong>- {{ $message }}- </div>- </div>+ @if ($errors->any())+ <?php print_r($errors, true); ?>@endif@stop