@extends('backend.layouts.app') @section('title', @$data['title']) @section('content')
@csrf

{{ @$data['title'] }}

@if(hasPermission('role_read')) {{ _trans('common.Back') }} @endif
@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
{{ _trans('common.Add department') }}
{{ _trans('common.Add designation') }}
@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('password'))
{{ $errors->first('password') }}
@endif
@if ($errors->has('password_confirmation'))
{{ $errors->first('password_confirmation') }}
@endif
{{ _trans('common.Add role') }}
@foreach($data['permissions'] as $permission) @endforeach
{{ _trans('common.Module') }}/{{ _trans('common.Sub-module') }} {{ _trans('common.Permissions') }}
{{ucfirst(str_replace('_',' ',__($permission->attribute))) }} @foreach($permission->keywords as $key=>$keyword)
@if($keyword != "") @endif
@endforeach
@if(hasPermission('user_create')) @endif
@endsection @section('script') @endsection