@extends('layouts.admin.admin_layout') @section('title', trans('applang.create_new_user')) @section('vendor-css') @endsection @section('page-css') @endsection @section('content')
@csrf
@error('first_name') {{ $message }} @enderror
@error('middle_name') {{ $message }} @enderror
@error('last_name') {{ $message }} @enderror
@if ($errors->has('gender')) {{ $errors->first('gender') }} @endif
@if ($errors->has('birth_date')) {{ $errors->first('birth_date') }} @endif
@error('email') {{ $message }} @enderror
@error('phone') {{ $message }} @enderror
@error('address_1') {{ $message }} @enderror
@error('address_2') {{ $message }} @enderror
@if ($errors->has('branch_id')) {{ $errors->first('branch_id') }} @endif
@if ($errors->has('status')) {{ $errors->first('status') }} @endif
@if ($errors->has('department_id')) {{ $errors->first('department_id') }} @endif
@if ($errors->has('job_id')) {{ $errors->first('job_id') }} @endif
@error('password') {{ $message }} @enderror
@if ($errors->has('system_not_user')) {{ $errors->first('system_not_user') }} @endif
@if ($errors->has('roles_name')) {{ $errors->first('roles_name') }} @endif @if ($errors->has('system_user')) {{ $errors->first('system_user') }} @endif
@livewire('admin.create-user-roles-and-permissions', [ 'roles' => $roles, 'permissions' => $permissions, 'categories' => $categories, ])
{{trans('applang.back_btn')}}
@endsection @section('page-vendor-js') @endsection @section('page-js') @endsection