@csrf
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if ($errors->has('confirm-password')) {{ $errors->first('confirm-password') }} @endif
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if(in_array('Admin',auth::user()->roles->pluck('name')->all()))
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@endif
@if ($errors->has('prepared_by')) {{ $errors->first('prepared_by') }} @endif
@if ($errors->has('company_id')) {{ $errors->first('company_id') }} @endif
@if ($errors->has('user_designation')) {{ $errors->first('user_designation') }} @endif
@if ($errors->has('phone_no')) {{ $errors->first('phone_no') }} @endif
@if ($errors->has('whatsapp_no')) {{ $errors->first('whatsapp_no') }} @endif
Example invalid form file
Example invalid form file
{{--
--}}