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

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

@else

{{ @trans('kua_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
@if ($errors->has('client_branch_id'))
{{ $errors->first('client_branch_id') }}
@endif
@endsection @push('pageJs') {!! JsValidator::formRequest('App\Http\Requests\Client_user\StoreClientUser', '#storeClientUserForm') !!} @endpush