@extends('backend.layouts.app') @section('title', @$data['title']) @section('content') {!! breadcrumb([ 'title' => @$data['title'], route('admin.dashboard') => _trans('common.Dashboard'), '#' => @$data['title'], ]) !!}
@csrf @method('PATCH')
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
@if ($errors->has('phone'))
{{ $errors->first('phone') }}
@endif
@if ($errors->has('joining_date'))
{{ $errors->first('joining_date') }}
@endif
@if (hasPermission('department_create')) [ {{ _trans('common.Department') }} ] @endif
@if (hasPermission('designation_create')) [ {{ _trans('common.Designation') }} ] @endif
@if ($errors->has('address'))
{{ $errors->first('address') }}
@endif
@if ($errors->has('birth_date'))
{{ $errors->first('birth_date') }}
@endif
@if ($errors->has('religion'))
{{ $errors->first('religion') }}
@endif
@if ($errors->has('marital_status'))
{{ $errors->first('marital_status') }}
@endif
@if ($errors->has('blood_group'))
{{ $errors->first('blood_group') }}
@endif
@if ($errors->has('basic_salary'))
{{ $errors->first('basic_salary') }}
@endif
@if ($errors->has('timezone'))
{{ $errors->first('timezone') }}
@endif
@if ($errors->has('is_free_location'))
{{ $errors->first('is_free_location') }}
@endif
[ {{ _trans('common.Add Role') }} ]
@foreach ($data['permissions'] as $permission) @endforeach
{{ _trans('common.Module') }}/ {{ _trans('common.Sub Module') }} {{ _trans('common.Permissions') }}

@foreach ($permission->keywords as $key => $keyword)
@if ($keyword != '') permissions) ? 'checked' : '' }}> @endif
@endforeach
@if (hasPermission('user_create')) @endif
@endsection @section('script') @endsection