@extends('layouts/contentNavbarLayout') @section('title', 'Community User(Manager) View') @section('page-style') @endsection @section('content')

Home / Community User(Manager) View

Community User(Manager) View
Personal Information
{!! Form::label('name', 'Full Name', ['class' => 'form-label']) !!} {!! Form::text('name', @$user->name, ['class' => 'form-control', 'id' => 'name', 'placeholder' => 'john bell']) !!}
{!! Form::label('username', 'Username', ['class' => 'form-label']) !!} {!! Form::text('username', @$user->username, ['class' => 'form-control', 'id' => 'username', 'placeholder' => 'Username']) !!}
{!! Form::label('phone_number', 'Phone Number', ['class' => 'form-label']) !!} {!! Form::tel('phone_number', @$user->phone_number, ['class' => 'form-control', 'id' => 'phone_number', 'placeholder' => '1231231231']) !!}
{!! Form::label('profile_pic', 'Profile Picture:', ['class' => 'form-label']) !!} {!! Form::file('profile_pic', ['class' => 'form-control', 'id' => 'profile_pic']) !!}
Login Credentials
{!! Form::label('email', 'Email Address', ['class' => 'form-label']) !!} {!! Form::email('email', @$user->email, ['class' => 'form-control', 'id' => 'email', 'placeholder' => 'abc@xyz.com']) !!}
{!! Form::label('password', 'Password', ['class' => 'form-label']) !!} {!! Form::password('password', ['class' => 'form-control', 'id' => 'myPassword', 'placeholder' => 'Password']) !!}
{!! Form::label('password_confirmation', 'Confirm Password', ['class' => 'form-label']) !!} {!! Form::password('password_confirmation', ['class' => 'form-control', 'id' => 'confirmPassword', 'placeholder' => 'Confirm Password']) !!}
Role and Permissions
{!! Form::label('user_type', 'Role', ['class' => 'form-label']) !!} {!! Form::select('user_type', ['' => 'Select Role', '4' => 'Security Guard', '3' => 'Maintenance Staff', '2' => 'Assistant Manager'], @$user->user_type, ['id' => 'largeSelect', 'class' => 'form-select form-select-lg', 'required']) !!}
{{--
{!! Form::label('permissions', 'Permissions', ['class' => 'form-label']) !!}
--}} {{--
{!! Form::checkbox('permissions[]', 'scan QR codes') !!} Scan QR codes
{!! Form::checkbox('permissions[]', 'update vehicle information') !!} Update vehicle information
{!! Form::checkbox('permissions[]', 'view resident details') !!} View resident details
--}}
Work Information
{!! Form::label('department_section', 'Department/Section', ['class' => 'form-label']) !!} {!! Form::select('department_section', ['' => 'Select Role', 'Security' => 'Security', 'Maintenance' => 'Maintenance'], @$user->department_section, ['id' => 'largeSelect', 'class' => 'form-select form-select-lg']) !!}
{!! Form::label('employee_resident_id', 'Employee ID', ['class' => 'form-label']) !!} {!! Form::text('employee_resident_id', $employee_id, ['class' => 'form-control', 'id' => 'employee_resident_id', 'placeholder' => 'Employee ID', 'readonly']) !!}
{!! Form::label('office_location', 'Office Location', ['class' => 'form-label']) !!} {!! Form::text('office_location', @$user->office_location, ['class' => 'form-control', 'id' => 'office_location', 'placeholder' => 'Office Location']) !!}
Emergency Contact
{!! Form::label('contact_name', 'Contact Name', ['class' => 'form-label']) !!} {!! Form::text('contact_name', @$user->contact_name, ['class' => 'form-control', 'id' => 'contact_name', 'placeholder' => 'Contact Name']) !!}
{!! Form::label('contact_relationship', 'Contact Relationship', ['class' => 'form-label']) !!} {!! Form::text('contact_relationship', @$user->contact_relationship, ['class' => 'form-control', 'id' => 'contact_relationship', 'placeholder' => 'Contact Relationship']) !!}
{!! Form::label('emergency_contact_number', 'Contact Phone', ['class' => 'form-label']) !!} {!! Form::tel('emergency_contact_number', @$user->emergency_contact_number, ['class' => 'form-control', 'id' => 'emergency_contact_number', 'placeholder' => 'Contact Phone']) !!}
Account Status
{!! Form::label('status', 'Active User', ['class' => 'form-check-label']) !!} {!! Form::checkbox('status', 1, @$user->status, ['class' => 'form-check-input', 'id' => 'status']) !!}
Notes
{!! Form::textarea('notes', @$user->notes, ['class' => 'form-control', 'placeholder' => "John Doe's note", 'aria-label' => "With textarea", 'style' => 'height: 120px;']) !!}
@endsection @section('page-script') @endsection