Files
kulakpos_web/Modules/HrmAddon/resources/views/employees/bulk-upload/employees-import.blade.php
eko54r 3e1b64e008
Some checks failed
Build, Push and Deploy / build-and-push (push) Failing after 3m30s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 15s
Build, Push and Deploy / deploy-staging (push) Has been skipped
Build, Push and Deploy / deploy-production (push) Has been skipped
update addon HRM
2026-05-04 23:04:09 +07:00

153 lines
11 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<div class="modal fade" id="employees-import-modal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-xl">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">{{__('Bulk Upload')}}</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<!-- Modal Body -->
<div class="modal-body">
<div class="erp-table-section">
<div class="container-fluid">
<div class="border-0">
<div class="card-bodys">
<form action="{{ route('hrm.employees.bulk-store') }}" method="post" enctype="multipart/form-data" class="ajaxform">
@csrf
<div class="bulk-upload-container w-100">
<div class="d-flex justify-content-between align-items-center w-100">
<div class="bulk-input w-100">
<div class="row align-items-center">
<div class="col-lg-12">
<div class="custom-upload-wrapper">
<div class="custom-file-box">
<div class="custom-file-content">
<svg width="30" height="30" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 5V19M5 12H19" stroke="#4B5563" stroke-width="2.0" stroke-linecap="round"/>
</svg>
<span class="custom-upload-text">{{ __('Add File') }}</span>
</div>
<p class="preview-file d-none"></p>
<input type="file" name="file" class="preview-file-input" required>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="d-flex align-items-center justify-content-center gap-2 flex-wrap">
<button type="submit" class="add-order-btn process-csv-btn rounded-2 border-0 submit-btn mt-3">{{__('Submit')}}</button>
<a href="{{ asset('assets/employee-bulk-upload.xlsx') }}" download="employee-bulk-upload.xlsx" class="download-file-btn mt-3"><i class="fas fa-download"></i> {{__('Download Sample File')}}</a>
</div>
</div>
<div class="bulk-upload-container mt-3">
<div class="instruction-header">
<h5>{{__('Instructions')}}</h5>
<div class="mt-3">
<h6><strong>{{__('Note')}}: </strong> {{__('Please follow the instructions below to upload your file.')}}</h6>
<ul>
<li><b>{{__('1.')}}</b> {{__('Download the sample file first and add all your purchases data to it.')}}</li>
<li><b>{{__('2.')}}</b> <span class="text-danger">*</span> {{__('Indicates a required field. If you do not provide the required fields, the system will ignore except party information.')}}</li>
<li><b>{{__('3.')}}</b> {{__('After adding all your data, please save the file and then upload the updated version.')}}</li>
</ul>
</div>
</div>
</div>
{{-- Fields Documentation Table --}}
<div class="responsive-table mt-4">
<table class="table" id="datatable">
<thead>
<tr>
<th>{{ __('SL') }}.</th>
<th class="text-start">{{ __('Field Name') }}</th>
<th class="text-start">{{ __('Description') }}</th>
</tr>
</thead>
<tbody id="business-category-data">
<tr>
<td>{{__('1.')}}</td>
<td class="text-start">{{__('Employee Name')}} <span class="text-danger fw-bold">*</span></td>
<td class="text-start">{{__('Enter the full name of the employee')}} ({{__('e.g.,')}} <b>{{__('James')}}</b>).</td>
</tr>
<tr>
<td>{{__('2.')}}</td>
<td class="text-start">{{__('Gender')}}<span class="text-danger fw-bold">*</span></td>
<td class="text-start">
{{__('Enter the gender of the employee')}} ({{__('e.g.,')}} <b>{{__('male, female, or other')}}</b>).
</td>
</tr>
<tr>
<td>{{__('3.')}}</td>
<td class="text-start">{{__('Phone Number')}} <span class="text-danger fw-bold">*</span></td>
<td class="text-start">
{{__('Enter the employees valid phone number')}} ({{__('e.g.,')}} <b>{{__('01*******')}}</b>).
</td>
</tr>
<tr>
<td>{{__('4.')}}</td>
<td class="text-start">{{__('Designation')}}</td>
<td class="text-start">
{{__('Enter the employees job title or position within the organization.')}} ({{__('e.g.,')}} <b>{{__('Ceo')}}</b>)
</td>
</tr>
<tr>
<td>{{__('5.')}}</td>
<td class="text-start">{{__('Department')}}</td>
<td class="text-start">
{{__('Enter the department where the employee works.')}} ({{__('e.g.,')}} <b>{{__('It')}}</b>)
</td>
</tr>
<tr>
<td>{{__('6.')}}</td>
<td class="text-start">{{__('Email')}}</td>
<td class="text-start">
{{__('Enter a valid and unique email address for the employee.')}} ({{__('e.g.,')}} <b>{{__('demo@gmail.com')}}</b>).
<br><small>{{__('Duplicate email addresses will be ignored during upload.')}}</small>
</td>
</tr>
<tr>
<td>{{__('7.')}}</td>
<td class="text-start">{{__('Birth Date')}}</td>
<td class="text-start">
{{__('Enter the employees date of birth.')}} ({{__('e.g.,')}} <b>{{__('01/01/2026')}}</b>)
</td>
</tr>
<tr>
<td>{{__('8.')}}</td>
<td class="text-start">{{__('Joining Date')}}</td>
<td class="text-start">
{{__('Enter the employees joining date.')}} ({{__('e.g.,')}} <b>{{__('01/01/2026')}}</b>)
</td>
</tr>
<tr>
<td>{{__('9.')}}</td>
<td class="text-start">{{__('Salary')}}</td>
<td class="text-start">{{__('Enter the employees salary amount.')}} ({{__('e.g.,')}} <b>{{__('500')}}</b>)</td>
</tr>
</tbody>
</table>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>