@extends('layouts.layout-admin') @section('content') {{ __('Create User') }} {{ __('Home') }} {{ __('Create User') }} {{ __('Create Users') }} @csrf {{ __('Name') }} * @if($errors->has('user_name')) {{ $errors->first('user_name') }} @endif {{ __('Email') }}* @if($errors->has('email')) {{ $errors->first('email') }} @endif {{ __('Password') }} * @if($errors->has('password')) {{ $errors->first('password') }} @endif Role * -- Select Role -- @foreach($roles as $role) {{$role->name}} @endforeach @if($errors->has('role')) {{ $errors->first('role') }} @endif Supplier Name * -- Select Supplier -- @foreach($supplierList as $supplier) {{$supplier->supplier_company}} ({{$supplier->supplier_code}}) @endforeach {{ __('Add User') }} {{ __('Cancel') }} @endsection @section('scripts') @endsection
{{ $errors->first('user_name') }}
{{ $errors->first('email') }}
{{ $errors->first('password') }}
{{ $errors->first('role') }}