@extends('layouts.app') @section('title') {{'User Create'}} @endsection @section('content')
{{ csrf_field() }}
@php $user_types = DB::table('user_types') ->select('user_types.*') ->orderBy('id', 'ASC') ->get(); //dd($user_types); @endphp
@php $parents = DB::table('users') ->select('users.*') ->where('user_types','!=', 6 ) ->orderBy('id', 'ASC') ->get(); @endphp
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('designation')) {{ $errors->first('designation') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@endsection