New-OMIS/Modules/Employee/resources/views/partials/action.blade.php

148 lines
5.5 KiB
PHP
Raw Normal View History

2024-04-07 07:58:06 +00:00
<div class="row">
<div class="col-lg-12">
<div class="card">
2024-04-07 11:54:18 +00:00
<div class="card-header card-primary">
2024-04-07 07:58:06 +00:00
<h4 class="card-title mb-0">Personal Details</h4>
</div>
2024-04-07 11:54:18 +00:00
<div class="card-body row gy-4">
2024-04-07 07:58:06 +00:00
<div class="col-md-4">
{{ html()->label('First name')->class('form-label') }}
{{ html()->text('first_name')->class('form-control')->placeholder('Enter First Name')->required() }}
</div>
<div class="col-md-4">
{{ html()->label('Middle name')->class('form-label') }}
{{ html()->text('middle_name')->class('form-control')->placeholder('Enter Middle Name') }}
</div>
<div class="col-md-4">
2024-04-07 11:54:18 +00:00
{{ html()->label('Last name')->class('form-label') }}
{{ html()->text('last_name')->class('form-control')->placeholder('Enter Last Name')->required() }}
{{ html()->div('Please enter last name')->class('invalid-feedback') }}
2024-04-07 07:58:06 +00:00
</div>
<div class="col-md-4">
2024-04-07 11:54:18 +00:00
{{ html()->label('Gender')->class('form-label') }}
{{ html()->select('gender', ['male', 'female'])->class('form-select')->placeholder('Select Gender') }}
2024-04-07 07:58:06 +00:00
</div>
2024-04-07 11:54:18 +00:00
<div class="col-md-4">
{{ html()->label('Date of Birth')->class('form-label') }}
{{ html()->date('dob')->class('form-control')->placeholder('Choose Date of Birth')->required() }}
{{ html()->div('Please choose dob')->class('invalid-feedback') }}
</div>
2024-04-07 07:58:06 +00:00
2024-04-07 11:54:18 +00:00
<div class="col-md-4">
{{ html()->label('Nationality')->class('form-label') }}
{{ html()->select('nationality', ['Nepal', 'Other'])->class('form-control')->placeholder('Select Nationality') }}
</div>
<div class="col-md-4">
{{ html()->label('Email')->class('form-label') }}
{{ html()->email('email')->class('form-control')->placeholder('Enter Email')->required() }}
{{ html()->div('Please enter email')->class('invalid-feedback') }}
</div>
<div class="col-md-4">
{{ html()->label('Phone Number')->class('form-label') }}
{{ html()->text('phone')->class('form-control')->placeholder('Enter Phone Number') }}
</div>
<div class="col-md-4">
{{ html()->label('Upload Profile Pic')->class('form-label') }}
{{ html()->file('profile_pic')->class('form-control') }}
2024-04-07 07:58:06 +00:00
2024-04-07 11:54:18 +00:00
</div>
2024-04-07 07:58:06 +00:00
</div>
<!-- end card body -->
</div>
<!-- end card -->
<div class="card">
2024-04-07 11:54:18 +00:00
<div class="card-header card-primary">
<h5 class="card-title mb-0">Address Detail</h5>
2024-04-07 07:58:06 +00:00
</div>
2024-04-07 11:54:18 +00:00
<div class="card-body row gy-2">
{{-- <div class="col-md-4">
{{ html()->label('Country')->class('form-label') }}
{{ html()->select('country_id', ['Nepal'])->class('form-select')->placeholder('Select Country') }}
</div> --}}
2024-04-07 07:58:06 +00:00
2024-04-07 11:54:18 +00:00
<div class="col-md-4">
{{ html()->label('State')->class('form-label') }}
{{ html()->select('state_id', ['Nepal'])->class('form-select')->placeholder('Select State') }}
</div>
2024-04-07 07:58:06 +00:00
2024-04-07 11:54:18 +00:00
<div class="col-md-4">
{{ html()->label('District name')->class('form-label') }}
{{ html()->select('district_id', [])->class('form-select')->placeholder('Select District') }}
</div>
2024-04-07 07:58:06 +00:00
2024-04-07 11:54:18 +00:00
<div class="col-md-4">
{{ html()->label('City')->class('form-label') }}
{{ html()->text('last_name')->class('form-control')->placeholder('Enter City Name') }}
</div>
2024-04-07 07:58:06 +00:00
2024-04-07 11:54:18 +00:00
<div class="col-md-4">
{{ html()->label('municipality')->class('form-label') }}
{{ html()->select('municipality_id', [])->class('form-select')->placeholder('Select Municipality') }}
</div>
2024-04-07 07:58:06 +00:00
2024-04-07 11:54:18 +00:00
<div class="col-md-4">
{{ html()->label('Ward')->class('form-label') }}
{{ html()->text('ward')->class('form-control')->placeholder('Enter Ward no') }}
2024-04-07 07:58:06 +00:00
</div>
2024-04-07 11:54:18 +00:00
<div class="col-md-4">
{{ html()->label('Permanent Address')->class('form-label') }}
{{ html()->text('perm_address')->class('form-control')->placeholder('Enter Permanent Address') }}
2024-04-07 07:58:06 +00:00
</div>
2024-04-07 11:54:18 +00:00
<div class="col-md-4">
{{ html()->label('Temporary Address')->class('form-label') }}
{{ html()->text('temp_address')->class('form-control')->placeholder('Enter Temporary Address') }}
</div>
2024-04-07 07:58:06 +00:00
</div>
</div>
<div class="card">
2024-04-07 11:54:18 +00:00
<div class="card-header card-primary">
<h5 class="card-title mb-0">Organization Detail</h5>
2024-04-07 07:58:06 +00:00
</div>
2024-04-07 11:54:18 +00:00
<div class="card-body row gy-2">
<div class="col-md-4">
{{ html()->label('Department')->class('form-label') }}
{{ html()->select('department_id', ['Nepal'])->class('form-select')->placeholder('Select Department') }}
2024-04-07 07:58:06 +00:00
</div>
2024-04-07 11:54:18 +00:00
<div class="col-md-4">
{{ html()->label('Designation')->class('form-label') }}
{{ html()->select('designation_id', ['Nepal'])->class('form-select')->placeholder('Select Designation') }}
2024-04-07 07:58:06 +00:00
</div>
2024-04-07 11:54:18 +00:00
<div class="col-md-4">
{{ html()->label('Join Date')->class('form-label') }}
{{ html()->date('join_date')->class('form-control')->placeholder('Choose Join Date') }}
2024-04-07 07:58:06 +00:00
</div>
2024-04-07 11:54:18 +00:00
<div class="col-md-8">
{{ html()->label('Remarks')->class('form-label') }}
{{ html()->textarea('remark')->class('form-control')->placeholder('Enter Remarks') }}
2024-04-07 07:58:06 +00:00
</div>
2024-04-07 11:54:18 +00:00
2024-04-07 07:58:06 +00:00
</div>
</div>
<!-- end card -->
2024-04-07 11:54:18 +00:00
<div class="mb-4 text-end">
<button type="submit" class="btn btn-success w-sm">Save</button>
</div>
2024-04-07 07:58:06 +00:00
</div>
2024-04-07 11:54:18 +00:00
2024-04-07 07:58:06 +00:00
</div>