37 lines
1.9 KiB
PHP
37 lines
1.9 KiB
PHP
|
|
<div class="modal fade common-validation-modal" id="department-create-modal">
|
||
|
|
<div class="modal-dialog modal-dialog-centered">
|
||
|
|
<div class="modal-content">
|
||
|
|
<div class="modal-header">
|
||
|
|
<h1 class="modal-title fs-5">{{ __('Create Department') }}</h1>
|
||
|
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||
|
|
</div>
|
||
|
|
<div class="modal-body">
|
||
|
|
<div class="personal-info">
|
||
|
|
<form action="{{ route('hrm.department.store') }}" method="post" enctype="multipart/form-data"
|
||
|
|
class="ajaxform_instant_reload">
|
||
|
|
@csrf
|
||
|
|
<div class="row">
|
||
|
|
<div class="col-lg-12 mb-2">
|
||
|
|
<label>{{ __('Name') }}</label>
|
||
|
|
<input type="text" name="name" required class="form-control" placeholder="{{ __('Enter Department Name') }}">
|
||
|
|
</div>
|
||
|
|
<div class="col-lg-12 mt-1">
|
||
|
|
<label>{{__('Description')}}</label>
|
||
|
|
<textarea name="description" class="form-control" placeholder="{{ __('Enter Description') }}"></textarea>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div class="col-lg-12">
|
||
|
|
<div class="button-group text-center mt-5">
|
||
|
|
<button type="reset" class="theme-btn border-btn m-2">{{ __('Reset') }}</button>
|
||
|
|
@usercan('department.create')
|
||
|
|
<button class="theme-btn m-2 submit-btn">{{ __('Save') }}</button>
|
||
|
|
@endusercan
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</form>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|