@extends('layouts.master') @section('content')
{{ $title }}
@if(isset($error) || session('error'))
{{ $error ?? session('error') }}
@endif @if(session('success'))
{{ session('success') }}
@endif
@csrf @method('PUT')
Name: * @if ($errors->has('name')) {{ $errors->first('name') }} @endif
Email: * @if ($errors->has('email')) {{ $errors->first('email') }} @endif
Role: * {!! Form::select('roles[]', $roles,[], array('class' => 'form-control', 'required')) !!} @if ($errors->has('roles')) {{ $errors->first('roles') }} @endif
Tick the payroll or payrolls that {{$model->name}} must access:
@foreach($payrolls as $value)
@endforeach @if ($errors->has('payrolls')) {{ $errors->first('payrolls') }} @endif
Status:*
Instructions:
  • Name: Enter the user's full name.
  • Email: Enter a valid email address. The email address is the username.
  • Password: Create a password for the user. *
  • Confirm Password: Re-enter the password to confirm. *
  • Password Complexity: Password must be at least 8 characters long and must contain at least one uppercase letter, one lowercase letter, one digit, and one special character.
  • Password Visibility: Click the "Show" button to view the password.
  • Role: Select the role(s) for the user. *
  • Status: Select the status of the user (Active or Inactive). *
  • Payrolls that User can Access: Check the payrolls that the user can access.
@endsection @section('scripts') @endsection