@extends('layouts/contentLayoutMaster') @section('title', 'Create User') @section('vendor-style') {{-- Page Css files --}} @endsection @section('page-style') {{-- Page Css files --}} @endsection @php $configData = Helper::applClasses(); $vendor_users = Auth::user(); $roles = $vendor_users->roles()->pluck('name')->implode(' '); @endphp @section('content') {{ csrf_field() }} Vendor* (Select for Vendor Users) Vendor Select Vendor @if($roles == 'VENDOR_ADMIN') @if ($vendors) @foreach ($vendors as $vendor) @if($vendor->id == $vendor_users->vendor_id) {{ $vendor->name }} @endif @endforeach @endif @else @if ($vendors) @foreach ($vendors as $vendor) {{ $vendor->name }} @endforeach @endif @endif First Name * @if($errors->has('first_name')) {{ $errors->first('first_name') }} @endif Middle Name @if($errors->has('middle_name')) {{ $errors->first('middle_name') }} @endif Last Name * @if($errors->has('last_name')) {{ $errors->first('last_name') }} @endif E-mail * @if($errors->has('email')) {{ $errors->first('email') }} @endif Country Code India (+91) UK (+44) USA (+1) @if($errors->has('country_code')) {{ $errors->first('country_code') }} @endif Mobile * @if($errors->has('mobile')) {{ $errors->first('mobile') }} @endif Password * (Should contain atleast a small, a caps, a digit and a special character.) @if($errors->has('password')) {{ $errors->first('password') }} @endif Status Active Deactive Save Changes Reset @endsection @section('vendor-script') {{-- Vendor js files --}} @endsection @section('page-script') {{-- Page js files --}} @if($vendor_id != NULL) @endif @endsection
{{ $errors->first('first_name') }}
{{ $errors->first('middle_name') }}
{{ $errors->first('last_name') }}
{{ $errors->first('email') }}
{{ $errors->first('country_code') }}
{{ $errors->first('mobile') }}
{{ $errors->first('password') }}