@extends('mainlayout.layout') @section('title', config('app.name') . ' | Add User') @push('css') @endpush @section('content') @php $selectedRole = old('role', ''); $setPassword = old('password_option', 'invitation') === 'set_password'; @endphp
All usersUser management

Add User

Create a user account and assign the access they need.

@include('superadmin.property.partials.workspace_feedback')
@csrf

User Details

Name and contact information for the new account.

@foreach(['first_name' => ['First name', 'text', true, 125], 'middle_name' => ['Middle name', 'text', false, 125], 'last_name' => ['Last name', 'text', true, 125], 'phone' => ['Phone number', 'tel', true, 25], 'email' => ['Email address', 'email', true, 255]] as $name => $field)
@error($name)
{{ $message }}
@enderror
@endforeach

Role & Access

Choose the role for this account.

@error('role')
{{ $message }}
@enderror
@if(Auth::user()->hasRole('superadmin'))
@error('propertyowner')
{{ $message }}
@enderror
@endif

Account Setup

Send an invitation or set a password for this account.

Use at least 8 characters.@error('password')
{{ $message }}
@enderror
@endsection @push('scripts') @endpush