@extends('admin.layouts.main') @section('title') @if($edit) Edit Client User @else Add Client User @endif @endsection @section('content')
@include("admin.common.sidebar")
@csrf
@if($id)

{{ @trans('client_user.edit_client_user') }}

@else

{{ @trans('client_user.add_client_user') }}

@endif
@if($errors->has('first_name'))
{{ $errors->first('first_name')}}
@endif
@if($errors->has('last_name'))
{{ $errors->first('last_name')}}
@endif
@if($errors->has('email'))
{{ $errors->first('email')}}
@endif
@if($errors->has('mobile'))
{{ $errors->first('mobile')}}
@endif
@if($errors->has('departments'))
{{ $errors->first('departments')}}
@endif
@endsection @push('pageJs') {!! JsValidator::formRequest('App\Http\Requests\Client_user\StoreClientUser', '#storeClientUserForm') !!} @endpush