| Current File : /var/www/hrms.uiet.co.in/storage/framework/views/9498e664db45421c96b73adbcd55c1983f61a037.php |
<div class="content d-flex flex-column flex-column-fluid" id="kt_content">
<!--begin::Container-->
<?php if(!$isSuperadmin): ?>
<div id="kt_content_container" class="container-fluid">
<!--begin::Navbar-->
<div class="card mb-5 mb-xxl-8">
<div class="card-body pt-9 pb-0">
<!--begin::Details-->
<div class="d-flex flex-wrap flex-sm-nowrap mb-6">
<!--begin: Pic-->
<div class="me-7 mb-4">
<div class="symbol symbol-90px symbol-lg-150px symbol-fixed position-relative">
<?php if($empdata['photo'] != null): ?>
<img src=" <?php echo e(\Illuminate\Support\Facades\Storage::url($empdata['photo'])); ?>" />
<?php elseif($empdata['getEmployeereg']['gender'] == 'Male' && $empdata['photo'] == null): ?>
<img src="<?php echo e(asset('assets/icons/employee_male.png')); ?>" alt="image" />
<?php elseif($empdata['getEmployeereg']['gender'] == 'Female' && $empdata['photo'] == null): ?>
<img src="<?php echo e(asset('assets/icons/employee_female.png')); ?>" alt="image" />
<?php endif; ?>
</div>
</div>
<!--end::Pic-->
<!--begin::Info-->
<div class="flex-grow-1">
<!--begin::Title-->
<div class="d-flex justify-content-between align-items-start flex-wrap mb-2">
<!--begin::User-->
<div class="d-flex flex-column">
<div class="d-flex align-items-center mb-2">
<a href="#" class="text-gray-800 text-hover-primary fs-2 fw-bolder me-1">
<?php echo e($empdata['name']); ?>
</a>
<a href="#">
<!--begin::Svg Icon | path: icons/duotune/general/gen026.svg-->
<span class="svg-icon svg-icon-1 svg-icon-success">
<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px"
viewBox="0 0 24 24">
<path
d="M10.0813 3.7242C10.8849 2.16438 13.1151 2.16438 13.9187 3.7242V3.7242C14.4016 4.66147 15.4909 5.1127 16.4951 4.79139V4.79139C18.1663 4.25668 19.7433 5.83365 19.2086 7.50485V7.50485C18.8873 8.50905 19.3385 9.59842 20.2758 10.0813V10.0813C21.8356 10.8849 21.8356 13.1151 20.2758 13.9187V13.9187C19.3385 14.4016 18.8873 15.491 19.2086 16.4951V16.4951C19.7433 18.1663 18.1663 19.7433 16.4951 19.2086V19.2086C15.491 18.8873 14.4016 19.3385 13.9187 20.2758V20.2758C13.1151 21.8356 10.8849 21.8356 10.0813 20.2758V20.2758C9.59842 19.3385 8.50905 18.8873 7.50485 19.2086V19.2086C5.83365 19.7433 4.25668 18.1663 4.79139 16.4951V16.4951C5.1127 15.491 4.66147 14.4016 3.7242 13.9187V13.9187C2.16438 13.1151 2.16438 10.8849 3.7242 10.0813V10.0813C4.66147 9.59842 5.1127 8.50905 4.79139 7.50485V7.50485C4.25668 5.83365 5.83365 4.25668 7.50485 4.79139V4.79139C8.50905 5.1127 9.59842 4.66147 10.0813 3.7242V3.7242Z"
fill="#00A3FF" />
<path class="permanent"
d="M14.8563 9.1903C15.0606 8.94984 15.3771 8.9385 15.6175 9.14289C15.858 9.34728 15.8229 9.66433 15.6185 9.9048L11.863 14.6558C11.6554 14.9001 11.2876 14.9258 11.048 14.7128L8.47656 12.4271C8.24068 12.2174 8.21944 11.8563 8.42911 11.6204C8.63877 11.3845 8.99996 11.3633 9.23583 11.5729L11.3706 13.4705L14.8563 9.1903Z"
fill="white" />
</svg>
</span>
<!--end::Svg Icon-->
</a>
</div>
<div class="d-flex flex-wrap fw-bold fs-6 mb-4 pe-2">
<a href="javascript:void(0);"
class="d-flex align-items-center text-gray-900 text-hover-primary me-5 mb-2">
<!--begin::Svg Icon | path: icons/duotune/communication/com005.svg-->
<span class="svg-icon svg-icon-4 me-1">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
viewBox="0 0 24 24" fill="none">
<path
d="M20 14H18V10H20C20.6 10 21 10.4 21 11V13C21 13.6 20.6 14 20 14ZM21 19V17C21 16.4 20.6 16 20 16H18V20H20C20.6 20 21 19.6 21 19ZM21 7V5C21 4.4 20.6 4 20 4H18V8H20C20.6 8 21 7.6 21 7Z"
fill="black" />
<path opacity="0.3"
d="M17 22H3C2.4 22 2 21.6 2 21V3C2 2.4 2.4 2 3 2H17C17.6 2 18 2.4 18 3V21C18 21.6 17.6 22 17 22ZM10 7C8.9 7 8 7.9 8 9C8 10.1 8.9 11 10 11C11.1 11 12 10.1 12 9C12 7.9 11.1 7 10 7ZM13.3 16C14 16 14.5 15.3 14.3 14.7C13.7 13.2 12 12 10.1 12C8.10001 12 6.49999 13.1 5.89999 14.7C5.59999 15.3 6.19999 16 7.39999 16H13.3Z"
fill="black" />
</svg>
</span>
<?php echo e($empdata['user_id']); ?>
</a>
<a href="javascript:void(0);"
class="d-flex align-items-center text-gray-900 text-hover-primary mb-2 me-5">
<!--begin::Svg Icon | path: icons/duotune/communication/com011.svg-->
<span class="svg-icon svg-icon-4 me-1">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
viewBox="0 0 24 24" fill="none">
<path opacity="0.3"
d="M21 19H3C2.4 19 2 18.6 2 18V6C2 5.4 2.4 5 3 5H21C21.6 5 22 5.4 22 6V18C22 18.6 21.6 19 21 19Z"
fill="black" />
<path
d="M21 5H2.99999C2.69999 5 2.49999 5.10005 2.29999 5.30005L11.2 13.3C11.7 13.7 12.4 13.7 12.8 13.3L21.7 5.30005C21.5 5.10005 21.3 5 21 5Z"
fill="black" />
</svg>
</span>
<?php echo e($empdata['getEmployeereg']['email_id']); ?>
</a>
<a href="javascript:void(0);"
class="d-flex align-items-center text-gray-900 text-hover-primary mb-2 me-5">
<!--begin::Svg Icon | path: icons/duotune/communication/com011.svg-->
<span class="svg-icon svg-icon-4 me-1">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
viewBox="0 0 24 24" fill="none">
<path
d="M6.28548 15.0861C7.34369 13.1814 9.35142 12 11.5304 12H12.4696C14.6486 12 16.6563 13.1814 17.7145 15.0861L19.3493 18.0287C20.0899 19.3618 19.1259 21 17.601 21H6.39903C4.87406 21 3.91012 19.3618 4.65071 18.0287L6.28548 15.0861Z"
fill="black" />
<rect opacity="0.3" x="8" y="3" width="8" height="8"
rx="4" fill="black" />
</svg>
</span>
<?php echo e($empdata['getEmployeereg']['gender']); ?>
</a>
<a href="javascript:void(0);"
class="d-flex align-items-center text-gray-900 text-hover-primary mb-2 me-5">
<!--begin::Svg Icon | path: icons/duotune/communication/com011.svg-->
<span class="svg-icon svg-icon-4 me-1">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
viewBox="0 0 24 24" fill="none">
<path opacity="0.3"
d="M18.937 11.985L12.015 5.06303C11.9228 4.96752 11.8124 4.89131 11.6904 4.8389C11.5684 4.7865 11.4372 4.75888 11.3044 4.75773C11.1716 4.75657 11.04 4.78191 10.9171 4.83219C10.7942 4.88247 10.6825 4.9568 10.5886 5.0507C10.4947 5.14459 10.4205 5.25617 10.3702 5.37907C10.3199 5.50196 10.2946 5.63362 10.2958 5.7664C10.2969 5.89917 10.3245 6.03038 10.3769 6.15238C10.4293 6.27439 10.5055 6.38484 10.601 6.47709L11.293 7.16898L5.693 12.7691C5.50663 12.9552 5.37581 13.1894 5.31522 13.4457C5.25464 13.702 5.26669 13.9702 5.35001 14.22L6.10401 16.4821L2.28901 20.297C2.1935 20.3893 2.11733 20.4996 2.06492 20.6216C2.01251 20.7436 1.98493 20.8748 1.98377 21.0076C1.98262 21.1404 2.00789 21.272 2.05817 21.3949C2.10845 21.5178 2.18273 21.6295 2.27662 21.7234C2.37051 21.8173 2.48215 21.8915 2.60505 21.9418C2.72795 21.9921 2.85963 22.0174 2.99241 22.0163C3.12519 22.0151 3.25642 21.9875 3.37843 21.9351C3.50043 21.8827 3.61076 21.8066 3.70301 21.7111L7.51801 17.896L9.78001 18.6501C10.0298 18.7334 10.298 18.7454 10.5543 18.6849C10.8106 18.6243 11.0449 18.4934 11.231 18.307L16.831 12.7071L17.523 13.3991C17.6153 13.4946 17.7256 13.5707 17.8476 13.6231C17.9696 13.6755 18.1008 13.7031 18.2336 13.7043C18.3664 13.7054 18.4981 13.6801 18.6209 13.6298C18.7438 13.5795 18.8555 13.5053 18.9494 13.4114C19.0433 13.3175 19.1175 13.2059 19.1678 13.083C19.2181 12.9601 19.2434 12.8284 19.2423 12.6956C19.2411 12.5628 19.2135 12.4316 19.1611 12.3096C19.1087 12.1876 19.0325 12.0773 18.937 11.985Z"
fill="black" />
<path
d="M21.707 7.861C21.5195 8.04847 21.2652 8.15385 21 8.15385C20.7348 8.15385 20.4805 8.04847 20.293 7.861L19.6 7.16898L16.861 9.9091L14.091 7.13908L16.831 4.40006L16.139 3.70707C15.9568 3.51847 15.8561 3.26577 15.8583 3.00358C15.8606 2.74138 15.9658 2.49062 16.1512 2.30521C16.3366 2.11981 16.5874 2.01465 16.8496 2.01237C17.1118 2.01009 17.3644 2.11085 17.553 2.29301L21.707 6.44706C21.8945 6.63459 21.9998 6.88893 21.9998 7.15409C21.9998 7.41925 21.8945 7.67347 21.707 7.861ZM8.00699 15.99L10.084 16.683L12.684 14.0771L9.91501 11.308L7.30899 13.908L8.00699 15.99Z"
fill="black" />
</svg>
</span>
<?php echo e($empdata['getEmployeereg']['blood_group']); ?>
</a>
<a href="javascript:void(0);"
class="d-flex align-items-center text-gray-900 text-hover-primary mb-2 me-5">
<!--begin::Svg Icon | path: icons/duotune/communication/com011.svg-->
<span class="svg-icon svg-icon-4 me-1">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
viewBox="0 0 24 24" fill="none">
<path
d="M8.7 4.19995L4 6.30005V18.8999L8.7 16.8V19L3.1 21.5C2.6 21.7 2 21.4 2 20.8V6C2 5.4 2.3 4.89995 2.9 4.69995L8.7 2.09998V4.19995Z"
fill="black" />
<path
d="M15.3 19.8L20 17.6999V5.09992L15.3 7.19989V4.99994L20.9 2.49994C21.4 2.29994 22 2.59989 22 3.19989V17.9999C22 18.5999 21.7 19.1 21.1 19.3L15.3 21.8998V19.8Z"
fill="black" />
<path opacity="0.3"
d="M15.3 7.19995L20 5.09998V17.7L15.3 19.8V7.19995Z"
fill="black" />
<path opacity="0.3"
d="M8.70001 4.19995V2L15.4 5V7.19995L8.70001 4.19995ZM8.70001 16.8V19L15.4 22V19.8L8.70001 16.8Z"
fill="black" />
<path opacity="0.3" d="M8.7 16.8L4 18.8999V6.30005L8.7 4.19995V16.8Z"
fill="black" />
</svg>
</span>
<?php echo e($empdata['getEmployeereg']['location']); ?>
</a>
</div>
</div>
<div class="d-flex align-items-center flex-column mt-2">
<div
class="border border-dashed border-dark border-1 bg-light-warning rounded w-300px py-2 px-4 me-6 mb-3">
<div class="fs-3 fw-bolder text-center" data-kt-countup="true">
<?php echo e(\Carbon\Carbon::parse($empdata['getEmployeereg']['date_of_birth'])->format('d-F-Y')); ?>
</div>
<div class="fw-bold fs-6 text-gray-800 text-center">Date Of Birth</div>
</div>
</div>
<!--end::Actions-->
</div>
<!--end::Title-->
<!--begin::Stats-->
<div class="d-flex flex-wrap justify-content-between">
<!--begin::Info-->
<div class="d-flex flex-column flex-grow-1 pe-8">
<div class="d-flex flex-wrap">
<div
class="border border-dashed border-dark border-1 bg-light-info rounded min-w-125px py-3 px-4 me-6 mb-3">
<div class="fs-3 fw-bolder" data-kt-countup="true"
data-kt-countup-value="100">
<?php echo e($empdata['getEmployeereg']['designation']); ?>
</div>
<div class="fw-bold fs-6 text-gray-800">Designation</div>
</div>
<div
class="border border-dashed border-dark border-1 bg-light-warning rounded min-w-125px py-3 px-4 me-6 mb-3">
<div class="fs-3 fw-bolder" data-kt-countup="true"
data-kt-countup-value="100">
<?php echo e($empdata['role_name']); ?>
</div>
<div class="fw-bold fs-6 text-gray-800">Role</div>
</div>
<?php if($empdata['department_name']): ?>
<div
class="border border-dashed border-dark border-1 bg-light-success rounded min-w-125px py-3 px-4 me-6 mb-3">
<div class="fs-3 fw-bolder" data-kt-countup="true"
data-kt-countup-value="100">
<?php echo e($empdata['department_name']); ?>
</div>
<div class="fw-bold fs-6 text-gray-800">Department</div>
</div>
<?php endif; ?>
</div>
</div>
<!--end::Info-->
<div class="d-flex align-items-center flex-column mt-2">
<div
class="border border-dashed border-dark border-1 bg-light-primary rounded w-300px py-2 px-4 me-6 mb-3">
<div class="fs-3 fw-bolder text-center" data-kt-countup="true">
<?php echo e(\Carbon\Carbon::parse($empdata['getEmployeereg']['date_of_joining'])->format('d-F-Y')); ?>
</div>
<div class="fw-bold fs-6 text-gray-800 text-center">Date Of Joining</div>
</div>
</div>
<div class="d-flex align-items-center flex-column mt-2">
<div
class="border border-dashed border-dark border-1 bg-light-danger rounded w-200px py-2 px-4 me-6 mb-3">
<div class="fs-3 fw-bolder text-center" data-kt-countup="true">
<?php echo e(\Carbon\Carbon::parse($empdata['getEmployeereg']['date_of_joining'])->diffInYears()); ?>
Years
</div>
<div class="fw-bold fs-6 text-gray-800 text-center">Employment Tenure</div>
</div>
</div>
<!--begin::Progress-->
<!--end::Progress-->
</div>
<!--end::Stats-->
</div>
<!--end::Info-->
</div>
<!--end::Details-->
<div class="separator"></div>
</div>
</div>
<div class="row g-6 g-xxl-8">
<div class="col-xl-12">
<div class="card mb-5 mb-xxl-8">
<div class="card">
<div class="card-header card-header-stretch overflow-auto">
<ul class="nav nav-stretch nav-line-tabs fw-bold border-transparent flex-nowrap"
role="tablist" id="kt_layout_builder_tabs">
<li class="nav-item">
<a class="nav-link <?php if($pageno == '1'): ?> text-dark active <?php endif; ?>"
wire:click="gotopage('1')" href="#employee_profile" role="tab">Profile
Information</a>
</li>
<li class="nav-item">
<a class="nav-link <?php if($pageno == '2'): ?> text-dark active <?php endif; ?>"
wire:click="gotopage('2')" href="#employee_bank_info" role="tab">Bank
Information</a>
</li>
<li class="nav-item">
<a class="nav-link <?php if($pageno == '3'): ?> text-dark active <?php endif; ?>"
wire:click="gotopage('3')" href="#kt_view_builder_family"
role="tab">Family Details</a>
</li>
<li class="nav-item">
<a class="nav-link <?php if($pageno == '4'): ?> text-dark active <?php endif; ?>"
wire:click="gotopage('4')" href="#kt_view_builder_previous"
role="tab">Previous Employee</a>
</li>
<li class="nav-item">
<a class="nav-link <?php if($pageno == '5'): ?> text-dark active <?php endif; ?>"
wire:click="gotopage('5')" href="#kt_view_builder_nominee"
role="tab">Employee Nominee</a>
</li>
<li class="nav-item">
<a class="nav-link <?php if($pageno == '6'): ?> text-dark active <?php endif; ?>"
wire:click="gotopage('6')" href="#kt_view_builder_tax"
role="tab">Tax Declaration</a>
</li>
<li class="nav-item">
<a class="nav-link <?php if($pageno == '7'): ?> text-dark active <?php endif; ?>"
wire:click="gotopage('7')" href="#kt_view_builder_documents"
role="tab">Documents</a>
</li>
</ul>
</div>
<div class="card-body">
<div class="tab-content pt-3">
<div class="tab-pane <?php if($pageno == '1'): ?> active <?php endif; ?>"
id="employee_profile">
<div class="card bg-white" style="min-height: 300px;">
<div class="row p-6">
<div class="col-md-3">
<div class="row">
<div class="col-md-12 justify-content-center">
<center>
<?php if($empdata['photo'] != null): ?>
<img
src=" <?php echo e(\Illuminate\Support\Facades\Storage::url($empdata['photo'])); ?>" />
<?php elseif($empdata['getEmployeereg']['gender'] == 'Male' && $empdata['photo'] == null): ?>
<img src="<?php echo e(asset('assets/icons/employee_male.png')); ?>"
alt="image" />
<?php elseif($empdata['getEmployeereg']['gender'] == 'Female' && $empdata['photo'] == null): ?>
<img src="<?php echo e(asset('assets/icons/employee_female.png')); ?>"
alt="image" />
<?php endif; ?>
</center>
</div>
<div class=" col-md-12 mt-15">
<input class="form-control border-1 border-dark custominput"
type="file"
<?php if($isProfileDisabled): ?> disabled <?php endif; ?>
name="photo" autocomplete="off"
wire:model.defer="photo" />
<?php $__errorArgs = ['photo'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
</div>
<div class="col-md-9">
<div class="row">
<div class="col-md-4 mb-5">
<label class="col-form-label fw-bold fs-6">
<span class="required">Primary Mobile No.</span>
</label>
<div class=" fv-row">
<input class="form-control custominput" type="number"
<?php if($isProfileDisabled): ?> disabled <?php endif; ?>
placeholder="XXXXXXXXX" name="mobile"
autocomplete="off" wire:model.defer="mobile" />
<?php $__errorArgs = ['mobile'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
<div class="col-md-4 mb-5">
<label class="col-form-label fw-bold fs-6">
<span>Alternate Mobile No.</span>
</label>
<div class=" fv-row">
<input class="form-control custominput" type="number"
<?php if($isProfileDisabled): ?> disabled <?php endif; ?>
placeholder="XXXXXXXXX" name="alt_mobile"
autocomplete="off" wire:model.defer="alt_mobile" />
<?php $__errorArgs = ['alt_mobile'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
<div class="col-md-4 mb-5">
<label class="col-form-label fw-bold fs-6">
<span class="required">Blood Group</span>
</label>
<div class=" fv-row">
<select
class="form-select custominput border-dark border-1"
name="blood_group" autocomplete="off"
<?php if($isProfileDisabled): ?> disabled <?php endif; ?>
wire:model.defer="blood_group">
<option value="">Select</option>
<?php $__currentLoopData = $bloodgrp; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $blood): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($blood->blood_group); ?>">
<?php echo e($blood->blood_group); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
<?php $__errorArgs = ['blood_group'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
<div class="col-md-6 mb-5">
<label class="col-form-label fw-bold fs-6">
<span class="required">Present Address</span>
</label>
<div class=" fv-row">
<textarea class="form-control border-dark border-1 custominput" name="present_address" autocomplete="off"
style="height: 100px;" <?php if($isProfileDisabled): ?> disabled <?php endif; ?> wire:model.defer="present_address"></textarea>
<?php $__errorArgs = ['present_address'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
<div class="col-md-6 mb-5">
<label class="col-form-label fw-bold fs-6">
<span class="required">Permanent Address</span>
<input type="checkbox" class="form-control" <?php if($isProfileDisabled): ?> disabled <?php endif; ?> wire:model="isSameAsPermanent"/> <small>Same
as permananet address</small>
</label>
<div class=" fv-row">
<textarea class="form-control border-dark border-1 custominput" <?php if($isProfileDisabled): ?> disabled <?php endif; ?>
name="permanent_address" autocomplete="off" style="height: 100px;" wire:model.defer="permanent_address"></textarea>
<?php $__errorArgs = ['permanent_address'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
</div>
</div>
</div>
<div class="row px-6 py-2">
<div class="col-md-12 ">
<?php if($isProfileDisabled): ?>
<button type="button" wire:click="profileeditclick"
class="btn btn-info float-end">
<span class="indicator-label">Edit</span>
<span class="indicator-progress" wire:loading
wire:target="profileeditclick">Please wait...
<span
class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
</button>
<?php else: ?>
<button type="button" wire:click="profilesubmit"
class="btn btn-info float-end">
<span class="indicator-label">Save</span>
<span class="indicator-progress" wire:loading
wire:target="profilesubmit">Please wait...
<span
class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
</button>
<?php endif; ?>
</div>
</div>
</div>
</div>
<div class="tab-pane <?php if($pageno == '2'): ?> active <?php else: ?> <?php endif; ?>"
id="employee_bank_info">
<div class="card bg-white" style="min-height: 300px;">
<div class="row p-6">
<div class="col-md-4 mb-5">
<label class="col-form-label fw-bold fs-6">
<span class="required">Bank Account Type</span>
</label>
<div class=" fv-row">
<select class="form-select custominput border-dark border-1"
name="bank_ac_type" autocomplete="off"
<?php if($isBankDisabled): ?> disabled <?php endif; ?>
wire:model.defer="bank_ac_type">
<option value="">Select</option>
<option value="Current">Current</option>
<option value="Savings">Savings</option>
</select>
<?php $__errorArgs = ['bank_ac_type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
<div class="col-md-4 mb-5">
<label class="col-form-label fw-bold fs-6">
<span class="required">Bank Account No.</span>
</label>
<div class=" fv-row">
<input class="form-control custominput" type="number"
<?php if($isBankDisabled): ?> disabled <?php endif; ?>
placeholder="enter account no." name="bank_ac_no"
autocomplete="off" wire:model.defer="bank_ac_no" />
<?php $__errorArgs = ['bank_ac_no'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
<div class="col-md-4 mb-5">
<label class="col-form-label fw-bold fs-6">
<span class="required">IFSC Code</span>
</label>
<div class=" fv-row">
<input class="form-control custominput" type="text"
placeholder="enter IFSC code" name="bank_ifsc"
autocomplete="off"
<?php if($isBankDisabled): ?> disabled <?php endif; ?>
wire:model.defer="bank_ifsc" />
<?php $__errorArgs = ['bank_ifsc'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
<div class="col-md-6 mb-5">
<label class="col-form-label fw-bold fs-6">
<span class="required">Bank Name</span>
</label>
<div class=" fv-row">
<input class="form-control custominput" type="text"
placeholder="enter bank name" name="bank_name"
autocomplete="off"
<?php if($isBankDisabled): ?> disabled <?php endif; ?>
wire:model.defer="bank_name" />
<?php $__errorArgs = ['bank_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
<div class="col-md-6 mb-5">
<label class="col-form-label fw-bold fs-6">
<span class="">MICR</span>
</label>
<div class=" fv-row">
<input class="form-control custominput" type="text"
placeholder="enter bank code" name="bank_code"
autocomplete="off"
<?php if($isBankDisabled): ?> disabled <?php endif; ?>
wire:model.defer="bank_code" />
<?php $__errorArgs = ['bank_code'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
<div class="col-md-4 mb-5">
<label class="col-form-label fw-bold fs-6">
<span class="">Esi No.</span>
</label>
<div class=" fv-row">
<input class="form-control custominput" type="number"
placeholder="enter esi no." name="esi_no" autocomplete="off"
<?php if($isBankDisabled): ?> disabled <?php endif; ?>
wire:model.defer="esi_no" />
<?php $__errorArgs = ['esi_no'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
<div class="col-md-4 mb-5">
<label class="col-form-label fw-bold fs-6">
<span class="">Pf no.</span>
</label>
<div class=" fv-row">
<input class="form-control custominput" type="number"
placeholder="enter pf no." name="pf_no" autocomplete="off"
<?php if($isBankDisabled): ?> disabled <?php endif; ?>
wire:model.defer="pf_no" />
<?php $__errorArgs = ['pf_no'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
<div class="col-md-4 mb-5">
<label class="col-form-label fw-bold fs-6">
<span class="">UAN no.</span>
</label>
<div class=" fv-row">
<input class="form-control custominput" type="number"
placeholder="enter UAN no." name="uan_no" autocomplete="off"
<?php if($isBankDisabled): ?> disabled <?php endif; ?>
wire:model.defer="uan_no" />
<?php $__errorArgs = ['uan_no'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
</div>
<div class="row px-6 py-2">
<div class="col-md-12">
<?php if($isBankDisabled): ?>
<button type="button" wire:click="bankeditclick"
class="btn btn-info float-end">
<span class="indicator-label">Edit</span>
<span class="indicator-progress" wire:loading
wire:target="bankeditclick">Please wait...
<span
class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
</button>
<?php else: ?>
<button type="button" wire:click="banksubmit"
class="btn btn-info float-end">
<span class="indicator-label">Save</span>
<span class="indicator-progress" wire:loading
wire:target="banksubmit">Please wait...
<span
class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
</button>
<?php endif; ?>
</div>
</div>
</div>
</div>
<div class="tab-pane <?php if($pageno == '3'): ?> active <?php else: ?> <?php endif; ?>"
id="kt_builder_family">
<div class="card bg-white mt-5" style="min-height: 300px;">
<?php for($i = 0; $i < $familycount; $i++): ?>
<div class="row p-2">
<div class="col-md-12">
<div class="row">
<div class="col-md-3 mb-2">
<label class="col-form-label fw-bold fs-6">
<span class="required">Employee Relation Name</span>
</label>
<div class=" fv-row">
<input class="form-control custominput"
type="text" placeholder="Name of member"
name="member_name" autocomplete="off"
<?php if($isFamilyDisabled == true): ?> disabled <?php endif; ?>
wire:model="member_name.<?php echo e($i); ?>" />
<?php $__errorArgs = ['member_name.' . $i];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
<div class="col-md-3 mb-2">
<label class="col-form-label fw-bold fs-6">
<span class="required">Select Employee
Relationship</span>
</label>
<div class=" fv-row">
<input class="form-control custominput"
type="text" placeholder="relation_name"
name="relation_name" autocomplete="off"
<?php if($isFamilyDisabled == true): ?> disabled <?php endif; ?>
wire:model="relation_name.<?php echo e($i); ?>" />
<?php $__errorArgs = ['relation_name' . $i];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
<div class="col-md-3 mb-2">
<label class="col-form-label fw-bold fs-6">
<span class="required">Relative Mobile Number</span>
</label>
<div class=" fv-row">
<input class="form-control custominput"
type="number" placeholder="XXXXXXXXX"
name="relative_mobile" autocomplete="off"
<?php if($isFamilyDisabled == true): ?> disabled <?php endif; ?>
wire:model="relative_mobile.<?php echo e($i); ?>" />
<?php $__errorArgs = ['relative_mobile' . $i];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
<div class="col-md-3 mb-2 <?php if($isFamilyDisabled): ?> d-none <?php else: ?> <?php endif; ?> "
style="justify-content: start;display: flex;align-items: end;">
<div class=" fv-row">
<?php if($i == $familycount - 1): ?>
<button
class="btn btn-info rounded font-bold <?php if($isFamilyDisabled): ?> d-none <?php endif; ?>"
wire:click='addFamily'>+</button>
<?php else: ?>
<button class="btn btn-danger rounded font-bold"
wire:click='removefamily(<?php echo e($i); ?>)'>-</button>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>
<?php endfor; ?>
<div class="col-md-12 px-6 py-2">
<div class="col-md-12">
<?php if($isFamilyDisabled): ?>
<button type="button" wire:click="familyeditclick"
class="btn btn-info float-end">
<span class="indicator-label">Edit</span>
<span class="indicator-progress" wire:loading
wire:target="familyeditclick">Please wait...
<span
class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
</button>
<?php else: ?>
<button type="button" wire:click="familysubmit"
class="btn btn-info float-end">
<span class="indicator-label">Save</span>
<span class="indicator-progress" wire:loading
wire:target="familysubmit">Please wait...
<span
class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
</button>
<?php endif; ?>
</div>
</div>
</div>
</div>
<div class="tab-pane <?php if($pageno == '4'): ?> active <?php else: ?> <?php endif; ?>"
id="kt_builder_previous">
<div class="card bg-white" style="min-height: 300px;">
<?php for($i = 0; $i < $experiencecount; $i++): ?>
<div class="row p-6">
<div class="col-md-12">
<div class="row">
<div class="col-md-3 mb-5">
<label class="col-form-label fw-bold fs-6">
<span class="required">Previous Organisation
Name</span>
</label>
<div class=" fv-row">
<input class="form-control custominput"
type="text"
placeholder="previous organisation name"
name="previous_organisation_name"
autocomplete="off"
<?php if($isPrevDisabled == true): ?> disabled <?php endif; ?>
wire:model.defer="previous_organisation_name.<?php echo e($i); ?>" />
<?php $__errorArgs = ['previous_organisation_name' . $i];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
<div class="col-md-3 mb-5">
<label class="col-form-label fw-bold fs-6">
<span class="required">Previous Designation</span>
</label>
<div class=" fv-row">
<input class="form-control custominput"
type="text" placeholder="previous designation"
name="previous_designation" autocomplete="off"
<?php if($isPrevDisabled == true): ?> disabled <?php endif; ?>
wire:model.defer="previous_designation.<?php echo e($i); ?>" />
<?php $__errorArgs = ['previous_designation' . $i];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
<div class="col-md-3 mb-5">
<label class="col-form-label fw-bold fs-6">
<span class="required">Duration</span>
</label>
<div class=" fv-row">
<input class="form-control custominput"
type="number" placeholder="duration"
name="duration" autocomplete="off"
<?php if($isPrevDisabled == true): ?> disabled <?php endif; ?>
wire:model.defer="duration.<?php echo e($i); ?>" />
<?php $__errorArgs = ['duration' . $i];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
<div class="col-md-3 mb-5 <?php if($isPrevDisabled): ?> d-none <?php else: ?> <?php endif; ?>"
style="justify-content: start;display: flex;align-items: end;">
<div class=" fv-row">
<?php if($i == $experiencecount - 1): ?>
<button
class="btn btn-info rounded font-bold <?php if($isPrevDisabled): ?> d-none <?php endif; ?>"
wire:click='addExperience'>+</button>
<?php else: ?>
<button class="btn btn-danger rounded font-bold"
wire:click='removeprevemp(<?php echo e($i); ?>)'>-</button>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>
<?php endfor; ?>
<div class="row px-6 py-2">
<div class="col-md-12">
<?php if($isPrevDisabled): ?>
<button type="button" wire:click="preveditclick"
class="btn btn-info float-end">
<span class="indicator-label">Edit</span>
<span class="indicator-progress" wire:loading
wire:target="preveditclick">Please wait...
<span
class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
</button>
<?php else: ?>
<button type="button" wire:click="prevempsubmit"
class="btn btn-info float-end">
<span class="indicator-label">Save</span>
<span class="indicator-progress" wire:loading
wire:target="prevempsubmit">Please wait...
<span
class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
</button>
<?php endif; ?>
</div>
</div>
</div>
</div>
<div class="tab-pane <?php if($pageno == '5'): ?> active <?php else: ?> <?php endif; ?>"
id="kt_builder_nominee">
<div class="row mb-10">
<div class="col-md-4 mb-5">
<label class="col-form-label fw-bold fs-6">
<span class="required">Select Employee Relation Name</span>
</label>
<div class=" fv-row">
<select class="form-select custominput border-dark border-1"
name="member_id" autocomplete="off"
<?php if($isNomineeDisabled == true): ?> disabled <?php endif; ?>
wire:model.defer="member_id">
<option value="">Select</option>
<?php $__currentLoopData = $nomdata; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $nom): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value=<?php echo e($nom->id); ?>>
<?php echo e($nom->member_name); ?>(<?php echo e($nom->relation_name); ?>)
</option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
<?php $__errorArgs = ['member_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
<span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
</div>
</div>
<div class="row px-6 py-2">
<div class="col-md-12">
<?php if($isNomineeDisabled): ?>
<button type="button" wire:click="nomineeeditclick"
class="btn btn-info float-end">
<span class="indicator-label">Edit</span>
<span class="indicator-progress" wire:loading
wire:target="preveditclick">Please wait...
<span
class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
</button>
<?php else: ?>
<button type="button" wire:click="nomineesubmit"
class="btn btn-info float-end">
<span class="indicator-label">Save</span>
<span class="indicator-progress" wire:loading
wire:target="nomineesubmit">Please wait...
<span
class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
</button>
<?php endif; ?>
</div>
</div>
</div>
<div class="tab-pane <?php if($pageno == '6'): ?> active <?php else: ?> <?php endif; ?>"
id="kt_view_builder_tax">
<div class="card bg-white">
<div class="card-body">
<?php if($isTaxDeclarationdDone): ?>
<div class="row mb-5">
<div class="col-md-12 text-center mb-5">
<h4 class="text-danger">You have already submitted your tax declarations.</h4>
</div>
<?php if($taxInitiateReport): ?>
<div class="col-md-12">
<table class="table table-row-bordered fs-8">
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 fw-bold">Employee Name : </td>
<td class="p-2"><?php echo e($taxInitiateReport['getEmployeereg']['fullname']); ?></td>
</tr>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 fw-bold">Employee ID : </td>
<td class="p-2"><?php echo e($taxInitiateReport['user_id']); ?></td>
</tr>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 fw-bold">PAN Card : </td>
<td class="p-2"><?php echo e($taxInitiateReport['pan_card']); ?></td>
</tr>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 fw-bold">Financial Year : </td>
<td class="p-2">FY-<?php echo e(\Carbon\Carbon::parse($taxInitiateReport['fy_start_date'])->format('Y')); ?>-<?php echo e(\Carbon\Carbon::parse($taxInitiateReport['fy_end_date'])->format('y')); ?></td>
</tr>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 fw-bold">Current Taxable Amount : </td>
<td class="p-2 text-left"><?php echo e($taxInitiateReport['current_ctc']); ?></td>
</tr>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 fw-bold">Tax Regime : </td>
<td class="p-2"><?php echo e($taxInitiateReport['tax_regime']); ?></td>
</tr>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 fw-bold">Total TDS Amount : </td>
<td class="p-2 text-left"><?php echo e($taxInitiateReport['fy_tax_amount']); ?></td>
</tr>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 fw-bold">No Of Months Deduction : </td>
<td class="p-2 text-left"><?php echo e($taxInitiateReport['no_of_emi']); ?></td>
</tr>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 fw-bold">Per Month Deduction : </td>
<td class="p-2 text-left"><?php echo e($taxInitiateReport['per_month_emi_amount']); ?> (Effective From : <?php echo e(\Carbon\Carbon::parse($taxInitiateReport['effective_date'])->format('d-M-Y')); ?>)</td>
</tr>
</table>
</div>
<?php if(sizeof($taxInitiateReport['getEmployeeTaxTransactions'])>0): ?>
<div class="col-md-12">
<h4>Monthly TDS Deducation Summary</h4>
<br/>
<table class="table table-row-bordered fs-8">
<thead>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<th class="p-2 fw-bold text-center ">Sl No.</th>
<th class="p-2 fw-bold text-center ">Deducation Month</th>
<th class="p-2 fw-bold text-center ">Deduction Amount</th>
<th class="p-2 fw-bold text-center ">Paid amount</th>
<th class="p-2 fw-bold text-center ">Balance amount</th>
<th class="p-2 fw-bold text-center ">Payment Status</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $taxInitiateReport['getEmployeeTaxTransactions']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $transactions): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 text-center"><?php echo e($transactions['emi_no']); ?></td>
<td class="p-2"><?php echo e(\Carbon\Carbon::parse($transactions['month_date'])->format('M-Y')); ?></td>
<td class="p-2 text-right"><?php echo e($transactions['emi_amount']); ?></td>
<td class="p-2 text-right"><?php echo e($transactions['actual_paid_amount']); ?></td>
<td class="p-2 text-right"><?php echo e($transactions['balance_amount']); ?></td>
<td class="p-2 text-center">
<?php if($transactions['actual_paid_amount'] == 0): ?>
<span class="badge badge-danger fs-9">Pending</span>
<?php else: ?>
<span class="badge badge-success fs-9">Paid</span>
<?php endif; ?>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
<?php endif; ?>
<?php endif; ?>
</div>
<?php else: ?>
<div class="row mb-5">
<div class="col-md-12 p-4">
<h4 class="fs-4 fw-bold text-black">Details of claims and evidence there of</h4>
<hr/>
</div>
<div class="col-md-12 p-4">
<table class="table table-row-bordered table-row-gray-900 fs-9">
<thead>
<tr style="border:#211f1c solid thin; ">
<th class="p-2 fw-bold">Section</th>
<th class="p-2 fw-bold">Natue Of Claim</th>
<th class="p-2 fw-bold text-center">Max. Limit Amount</th>
<th class="p-2 fw-bold text-center">Amount</th>
<th class="p-2 fw-bold text-center">Evidence</th>
</tr>
</thead>
<tbody>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 text-center">Sec 10(13A)</td>
<td class="p-2 text-center">Rent paid to the landlord In a year </td>
<td class="p-2 text-right"></td>
<td class="p-2 text-right">
<input type="number" min="0" style="font-size: 10px; text-align: right; height: 25px;" wire:model.defer="hra_rent_paid" wire:change="setRentPaid" />
</td>
<td class="p-2 text-right">
<?php if($hra_rent_paid !=0): ?>
<input type="file" accept="image/*,.pdf" required style="font-size: 10px; text-align: right; height: 25px;" wire:model="hra_rent_paid_document" />
<?php endif; ?>
</td>
</tr>
</tbody>
</table>
</div>
<div class="col-md-12 p-4 table-responsive">
<table class="table table-row-bordered table-row-gray-900 fs-9">
<thead>
<tr style="border:#211f1c solid thin; ">
<th class="p-2 fw-bold text-center">Sl No.</th>
<th class="p-2 fw-bold">Section</th>
<th class="p-2 fw-bold">Natue Of Claim</th>
<th class="p-2 fw-bold text-center">Max. Limit Amount</th>
<th class="p-2 fw-bold text-center">Amount</th>
<th class="p-2 fw-bold text-center">Evidence</th>
</tr>
</thead>
<tbody>
<?php $count=1; ?>
<?php $__currentLoopData = $taxdeclarations; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $taxdeclare): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important; ">
<td class="p-2 text-center"><?php echo e($count); ?>.</td>
<td class="p-2"><?php echo e($taxdeclare['getSection']['section_name']); ?></td>
<td class="p-2">
<?php if($taxdeclare['employee_tax_declaration_desription']): ?>
<?php
$taxdeclaration=explode(',',$taxdeclare['employee_tax_declaration_desription']);
?>
<ul>
<?php $__currentLoopData = $taxdeclaration; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tax): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li><?php echo e($tax); ?></li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
<?php endif; ?>
</td>
<td class="p-2 text-right">
<?php if($taxdeclare['limited_value'] !="0.00"): ?>
<?php echo e(number_format(($taxdeclare['limited_value']), 2, '.', ',')); ?>
<?php endif; ?>
</td>
<td class="p-2 text-right">
<?php if($taxdeclare['fixed_amount'] !="0.00"): ?>
<?php echo e(number_format(($taxdeclare['fixed_amount']), 2, '.', ',')); ?>
<?php else: ?>
<input type="number" min="0" style="font-size: 10px; text-align: right; height: 25px;" wire:model.defer="tax_declaration_amount.<?php echo e($key); ?>" wire:change="setTaxInvestment('<?php echo e($key); ?>')" />
<?php endif; ?>
</td>
<td class="p-2">
<?php if(array_key_exists($key,$tax_declaration_amount)): ?>
<?php if($tax_declaration_amount[$key] !="" || $tax_declaration_amount[$key] !=0): ?>
<input type="file" accept="image/*,.pdf" required style="font-size: 10px; text-align: right; height: 25px;" wire:model.debounce.0ms="tax_declaration_attachment.<?php echo e($key); ?>" />
<?php if(array_key_exists($key,$tax_declaration_attachment)): ?>
<?php if($tax_declaration_attachment[$key]): ?>
<br/> Preview Attachments :<br/>
<center>
<a href="<?php echo e($tax_declaration_attachment[$key]->temporaryUrl()); ?>" target="_blank" >
<img src="<?php echo e(asset('assets/icons/file.png')); ?>" style="width: 30px; height: 30px;" />
</a>
<br />
<a href="#" wire:click="deleteattchemnt(<?php echo e($key); ?>)">Delete Attchments</a>
</center>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
</td>
</tr>
<?php $count++; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
<tfoot>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important; ">
<td class="p-2 text-right fs-4 fw-bold" colspan="4"> Total Amount</td>
<td class="p-2 text-right fs-4 fw-bold" > <?php echo e(number_format((float)$total_emp_tax_declaration_amount, 2, '.', ',')); ?></td>
<td class="p-2" > </td>
</tr>
</tfoot>
</table>
</div>
<div class="col-md-12">
<div class="row">
<div class="col-md-8 offset-md-4">
<div class="row">
<div class="col-md-12">
<table class="table " style="font-size: 9px;">
<thead>
<tr style="border:#211f1c solid thin; ">
<th class="p-2 fw-bold text-center">Sl No.</th>
<th class="p-2 fw-bold">Perticulars</th>
<th class="p-2 fw-bold text-center">Per Month</th>
<th class="p-2 fw-bold text-center">Per Year</th>
</tr>
</thead>
<tbody>
<?php $count=1; ?>
<?php $__currentLoopData = $assignemppayroles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $payrole): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($payrole['amount'] !="0.00"): ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 text-center"><?php echo e($count); ?></td>
<td class="p-2 "><?php echo e($payrole['payroll_item_name']); ?></td>
<td class="p-2 text-right">
<?php echo e(number_format($payrole['amount'], 2, '.', ',')); ?>
</td>
<td class="p-2 text-right">
<?php echo e(number_format(($payrole['amount'] * $tdscalculatemonth), 2, '.', ',')); ?>
</td>
</tr>
<?php $count++; ?>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
<tfoot>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 text-right fw-bold" colspan="3">
Total Gross Salary <?php if($tdscalculatemonth <12): ?> ( <?php echo e($tdscalculatemonth); ?> months ) <?php else: ?> <?php endif; ?>
</td>
<td class="p-2 text-right fw-bold">
<?php echo e(number_format(($totalgrossyearly), 2, '.', ',')); ?>
</td>
</tr>
</tfoot>
</table>
</div>
<div class="col-md-12">
<div class="row">
<div class="col-md-6">
<h4 class="fw-bolder fs-4">OLD TAX REGIME</h4>
<br/>
<table class="table " style="font-size: 9px;">
<thead>
<tr style="border:#211f1c solid thin; ">
<td class="p-2 fw-bold" colspan="3"> Deduction</td>
</tr>
<tr style="border:#211f1c solid thin; ">
<th class="p-2 fw-bold text-center">Sl No.</th>
<th class="p-2 fw-bold">Perticulars</th>
<th class="p-2 fw-bold text-center">Amount</th>
</tr>
</thead>
<tbody>
<?php $count=1; ?>
<?php if(sizeof($employeeoldtaxdeductions)>0): ?>
<?php $__currentLoopData = $employeeoldtaxdeductions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $taxdeclarationemp): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 text-center"><?php echo e($count); ?></td>
<td class="p-2 "><?php echo e($taxdeclarationemp['tax_declare_section']); ?></td>
<td class="p-2 text-right">
<?php echo e(number_format($taxdeclarationemp['tax_declaration_amount'], 2, '.', ',')); ?>
</td>
</tr>
<?php $count++; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
</tbody>
<tfoot>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 text-right fw-bold" colspan="2">
Sub Total
</td>
<td class="p-2 text-right fw-bold">
<?php echo e(number_format(($totalolddeductionyearly), 2, '.', ',')); ?>
</td>
</tr>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 text-right fw-bold" colspan="2">
Taxable Income
</td>
<td class="p-2 text-right fw-bold">
<?php echo e(number_format(($totaloldtaxableincome), 2, '.', ',')); ?>
</td>
</tr>
</tfoot>
</table>
</div>
<div class="col-md-6">
<h4 class="fw-bolder fs-4">NEW TAX REGIME</h4>
<br/>
<table class="table" style="font-size: 9px;">
<thead>
<tr style="border:#211f1c solid thin; ">
<td class="p-2 fw-bold" colspan="3"> Deduction</td>
</tr>
<tr style="border:#211f1c solid thin; ">
<th class="p-2 fw-bold text-center">Sl No.</th>
<th class="p-2 fw-bold">Perticulars</th>
<th class="p-2 fw-bold text-center">Amount</th>
</tr>
</thead>
<tbody>
<?php $count=1; ?>
<?php if(sizeof($employeenewtaxdeductions)>0): ?>
<?php $__currentLoopData = $employeenewtaxdeductions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $taxdeclarationemp): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 text-center"><?php echo e($count); ?></td>
<td class="p-2 "><?php echo e($taxdeclarationemp['tax_declare_section']); ?></td>
<td class="p-2 text-right">
<?php echo e(number_format($taxdeclarationemp['tax_declaration_amount'], 2, '.', ',')); ?>
</td>
</tr>
<?php $count++; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
</tbody>
<tfoot>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 text-right fw-bold" colspan="2">
Sub Total
</td>
<td class="p-2 text-right fw-bold">
<?php echo e(number_format(($totalnewdeductionyearly), 2, '.', ',')); ?>
</td>
</tr>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 text-right fw-bold" colspan="2">
Taxable Income
</td>
<td class="p-2 text-right fw-bold">
<?php echo e(number_format(($totalnewtaxableincome), 2, '.', ',')); ?>
</td>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
<div class="col-md-12">
<div class="row">
<div class="col-md-6">
<table class="table" style="font-size: 9px;">
<thead>
<tr style="border:#211f1c solid thin; ">
<th class="p-2 fw-bold text-center">Sl No.</th>
<th class="p-2 fw-bold">Old Tax Regime</th>
<th class="p-2 fw-bold">Deduct (%)</th>
<th class="p-2 fw-bold">Amount</th>
</tr>
</thead>
<tbody>
<?php $totaltds=0; ?>
<?php $__currentLoopData = $tdsolddetails; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $tds): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 fw-bold text-center"><?php echo e($key+1); ?></td>
<td class="p-2 fw-bold">
<?php echo e(number_format($tds['min_amount'], 2, '.', ',')); ?>
-
<?php if($tds['max_amount']): ?>
<?php echo e(number_format($tds['max_amount'], 2, '.', ',')); ?>
<?php else: ?>
Above
<?php endif; ?>
</td>
<td class="p-2 fw-bold text-right"><?php echo e($tds['percent_tax']); ?> %</td>
<td class="p-2 fw-bold text-right">
<?php if($totaloldtaxableincome >= $tds['min_amount'] && $totaloldtaxableincome <= $tds['max_amount']): ?>
<?php
$difference=$totaloldtaxableincome-$tds['min_amount'];
$calulstedamt=round($difference*($tds['percent_tax']/100));
$totaltds+=$calulstedamt;
?>
<?php echo e(number_format($calulstedamt, 2, '.', ',')); ?>
<?php elseif($totaloldtaxableincome >= $tds['min_amount']): ?>
<?php
if($tds['max_amount']){
$difference=$tds['max_amount']-$tds['min_amount'];
}else{
$difference=$totaloldtaxableincome-$tds['min_amount'];
}
$calulstedamt=round($difference*($tds['percent_tax']/100));
$totaltds+=$calulstedamt;
?>
<?php echo e(number_format($calulstedamt, 2, '.', ',')); ?>
<?php endif; ?>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 fw-bold text-center"><?php echo e(sizeof($tdsolddetails)+1); ?></td>
<td class="p-2 fw-bold text-right" colspan="2">H&E Cess 4%</td>
<td class="p-2 fw-bold text-right">
<?php echo e(number_format(round($totaltds * (4/100)), 2, '.', ',')); ?>
</td>
</tr>
</tbody>
<tfoot>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 fw-bolder text-right" colspan="3">Total Tax Deduction</td>
<td class="p-2 fw-bolder text-right">
<?php echo e(number_format(round($totaltds+($totaltds * (4/100))), 2, '.', ',')); ?>
</td>
</tr>
</tfoot>
</table>
</div>
<div class="col-md-6">
<table class="table" style="font-size: 9px;">
<thead>
<tr style="border:#211f1c solid thin; ">
<th class="p-2 fw-bold text-center">Sl No.</th>
<th class="p-2 fw-bold">New Tax Regime</th>
<th class="p-2 fw-bold">Deduct (%)</th>
<th class="p-2 fw-bold">Amount</th>
</tr>
</thead>
<tbody>
<?php $totaltds=0; ?>
<?php $__currentLoopData = $tdsnewdetails; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $tds): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 fw-bold text-center"><?php echo e($key+1); ?></td>
<td class="p-2 fw-bold">
<?php echo e(number_format($tds['min_amount'], 2, '.', ',')); ?>
-
<?php if($tds['max_amount']): ?>
<?php echo e(number_format($tds['max_amount'], 2, '.', ',')); ?>
<?php else: ?>
Above
<?php endif; ?>
</td>
<td class="p-2 fw-bold text-right"><?php echo e($tds['percent_tax']); ?> %</td>
<td class="p-2 fw-bold text-right">
<?php if($totalnewtaxableincome >= $tds['min_amount'] && $totalnewtaxableincome <= $tds['max_amount']): ?>
<?php
$difference=$totalnewtaxableincome-$tds['min_amount'];
$calulstedamt=round($difference*($tds['percent_tax']/100));
$totaltds+=$calulstedamt;
?>
<?php echo e(number_format($calulstedamt, 2, '.', ',')); ?>
<?php elseif($totalnewtaxableincome >= $tds['min_amount']): ?>
<?php
if($tds['max_amount']){
$difference=$tds['max_amount']-$tds['min_amount'];
}else{
$difference=$totalnewtaxableincome-$tds['min_amount'];
}
$calulstedamt=round($difference*($tds['percent_tax']/100));
$totaltds+=$calulstedamt;
?>
<?php echo e(number_format($calulstedamt, 2, '.', ',')); ?>
<?php endif; ?>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 fw-bold text-center"><?php echo e(sizeof($tdsnewdetails)+1); ?></td>
<td class="p-2 fw-bold text-right" colspan="2">H&E Cess 4%</td>
<td class="p-2 fw-bold text-right">
<?php echo e(number_format(round($totaltds * (4/100)), 2, '.', ',')); ?>
</td>
</tr>
</tbody>
<tfoot>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-2 fw-bolder text-right" colspan="3">Total Tax Deduction</td>
<td class="p-2 fw-bolder text-right">
<?php echo e(number_format(round($totaltds+($totaltds * (4/100))), 2, '.', ',')); ?>
</td>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-12 mt-5">
<div class="row">
<div class="col-md-4 fv-row mb-5">
<!--begin::Label-->
<label class="fs-6 fw-bold form-label mb-2">
<span class="required">Employee ID</span>
</label>
<!--end::Label-->
<!--begin::Input-->
<input class="form-control border-dark border-1"
name="employee_id" autocomplete="off" disabled
value="<?php echo e($empdata['user_id']); ?>"/>
<!--end::Input-->
</div>
<div class="col-md-4 fv-row mb-5">
<!--begin::Label-->
<label class="fs-6 fw-bold form-label mb-2">
<span class="required">Employee Name</span>
</label>
<!--end::Label-->
<!--begin::Input-->
<input class="form-control border-dark border-1"
name="employee_id" autocomplete="off" disabled
value="<?php echo e($empdata['name']); ?>"/>
<!--end::Input-->
</div>
<div class="col-md-4 fv-row mb-5">
<!--begin::Label-->
<label class="fs-6 fw-bold form-label mb-2">
<span class="required">PAN No.</span>
</label>
<!--end::Label-->
<!--begin::Input-->
<input class="form-control border-dark border-1"
name="pan_no" autocomplete="off"
wire:model.defer="pan_no" />
<!--end::Input-->
<?php $__errorArgs = ['pan_no'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
<div class="col-md-4 fv-row mb-5">
<!--begin::Label-->
<label class="fs-6 fw-bold form-label mb-2">
<span class="required">Select Tax Regime</span>
</label>
<!--end::Label-->
<!--begin::Input-->
<select class="form-control border-dark border-1"
name="tax_regime" autocomplete="off"
wire:model.debounce.0ms="tax_regime">
<option value="">Select</option>
<option value="Old Tax Regime">Old Tax Regime</option>
<option value="New Tax Regime">New Tax Regime</option>
</select>
<!--end::Input-->
<?php $__errorArgs = ['tax_regime'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
<div class="col-md-4 fv-row mb-5">
<!--begin::Label-->
<label class="fs-6 fw-bold form-label mb-2">
<span class="required">Total Tax Deduction</span>
</label>
<!--end::Label-->
<!--begin::Input-->
<input class="form-control border-dark border-1" disabled
name="tax_amount" autocomplete="off"
wire:model.defer="tax_amount" style="text-align: right;" />
<!--end::Input-->
<?php $__errorArgs = ['tax_amount'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
<div class="col-md-4 fv-row mb-5">
<!--begin::Label-->
<label class="fs-6 fw-bold form-label mb-2">
<span class="required">Select Deduction Durations</span>
</label>
<!--end::Label-->
<!--begin::Input-->
<select class="form-control border-dark border-1"
name="no_of_emi" autocomplete="off"
wire:model.defer="no_of_emi">
<option value="">Select</option>
<option value="3">3 Months</option>
<option value="6">6 Months</option>
<option value="8">8 Months</option>
<option value="10">10 Months</option>
</select>
<!--end::Input-->
<?php $__errorArgs = ['no_of_emi'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
<div class="col-md-12">
<button type="button" wire:click="submitTaxDeclaration" style="float:right;" class="btn btn-info btn-sm float-right">Submit Tax Declarations</button>
</div>
</div>
</div>
</div>
<?php endif; ?>
</div>
</div>
</div>
<div class="tab-pane <?php if($pageno == '7'): ?> active <?php else: ?> <?php endif; ?>"
id="kt_view_builder_documents">
<div class="row flex">
<div class=" fv-row mb-7 col-md-2">
<label class="fs-8 fw-bold form-label mb-2">
<span class="required">Select Year</span>
</label>
<select class="form-control border-dark border-1"
name="no_of_emi" autocomplete="off"
wire:model.debounce.500ms="slip_month">
<option value="">Select</option>
<option value="2018">2018</option>
<option value="2019">2019</option>
<option value="2020">2020</option>
<option value="2021">2021</option>
<option value="2022">2022</option>
<option value="2023">2023</option>
<option value="2024">2024</option>
<option value="2025">2025</option>
<option value="2026">2026</option>
<option value="2027">2027</option>
</select>
</div>
</div>
<div class="row flex justify-center">
<?php $__currentLoopData = $isSlip; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$slip): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="col-sm-2 col-md-2 m-2 bg-white h-90px w-90px month-box flex flex-col justify-center items-center" style="border: 2px dashed #000;padding:1rem;border-radius:10px;"
data-bs-toggle="modal" <?php if($slip["isTrue"]==1): ?>data-bs-target="#kt_modal_salaryslip"<?php endif; ?>
<?php if($slip["isTrue"]==1): ?>
wire:click="slipGeneration('<?php echo e($slip['emp']); ?>','<?php echo e($slip['year']); ?>','<?php echo e($slip['month']); ?>')"
<?php elseif($slip["isTrue"]==0): ?>wire:click="slipGenerationFailed"
<?php endif; ?>>
<p><?php if($slip["month"]==1): ?>January
<?php elseif($slip["month"]==2): ?>February
<?php elseif($slip["month"]==3): ?>March
<?php elseif($slip["month"]==4): ?>April
<?php elseif($slip["month"]==5): ?>May
<?php elseif($slip["month"]==6): ?>June
<?php elseif($slip["month"]==7): ?>July
<?php elseif($slip["month"]==8): ?>August
<?php elseif($slip["month"]==9): ?>September
<?php elseif($slip["month"]==10): ?>October
<?php elseif($slip["month"]==11): ?>November
<?php elseif($slip["month"]==12): ?>December
<?php endif; ?>
</p>
<?php if($slip["isTrue"]==1): ?>
<svg width="52px" height="52px" viewBox="0 -0.5 17 17" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="si-glyph si-glyph-document" fill="#000000"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <title>1083</title> <defs> </defs> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g transform="translate(2.000000, 0.000000)" fill="#9baaf8"> <path d="M0,0 L0,16 L13,16 L13,4.02441406 L7,4 L7,0.062 L0,0 Z M11,13 L2,13 L2,12 L11,12 L11,13 L11,13 Z M11,11 L2,11 L2,10 L11,10 L11,11 L11,11 Z M11,7 L11,8 L2,8 L2,7 L11,7 L11,7 Z" class="si-glyph-fill"> </path> <path d="M8,0 L8,2.844 L12.752,2.844 L8,0 Z" class="si-glyph-fill"> </path> </g> </g> </g></svg>
<?php elseif($slip["isTrue"]==0): ?>
<svg width="64px" height="64px" viewBox="0 -0.5 17 17" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="si-glyph si-glyph-document" fill="#000000"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <title>1083</title> <defs> </defs> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g transform="translate(2.000000, 0.000000)" fill="#b1a9a9"> <path d="M0,0 L0,16 L13,16 L13,4.02441406 L7,4 L7,0.062 L0,0 Z M11,13 L2,13 L2,12 L11,12 L11,13 L11,13 Z M11,11 L2,11 L2,10 L11,10 L11,11 L11,11 Z M11,7 L11,8 L2,8 L2,7 L11,7 L11,7 Z" class="si-glyph-fill"> </path> <path d="M8,0 L8,2.844 L12.752,2.844 L8,0 Z" class="si-glyph-fill"> </path> </g> </g> </g></svg> <?php endif; ?>
<p></p>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--begin::Modals-->
<!--begin::Modal - Create App-->
</div>
<!--end::Container-->
<div class="modal fade" id="kt_modal_salaryslip" data-bs-backdrop="static" tabindex="-1" aria-hidden="true"
wire:ignore.self>
<div class="modal-dialog modal-dialog-centered mw-900px" style="max-width:900px;">
<div class="modal-content">
<div class="modal-header">
<h2 class="fw-bolder">Salary Slip</h2>
<div class="btn btn-icon btn-sm btn-active-icon-primary"
data-kt-permissions-modal-action="close"
onclick="popupmodal()" wire:click="resetvalid">
<!--begin::Svg Icon | path: icons/duotune/arrows/arr061.svg-->
<span class="svg-icon svg-icon-1">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
viewBox="0 0 24 24" fill="none">
<rect opacity="0.5" x="6" y="17.3137" width="16" height="2"
rx="1" transform="rotate(-45 6 17.3137)" fill="black"/>
<rect x="7.41422" y="6" width="16" height="2" rx="1"
transform="rotate(45 7.41422 6)" fill="black"/>
</svg>
</span>
</div>
</div>
<div class="modal-body scroll-y mx-5 mx-xl-15 my-7">
<body class="m-50" style="margin-top:20px; margin-left:10px; margin-right:10px;">
<div id="salarySlip">
<section>
<table style="font-family: arial, sans-serif; border-collapse: collapse; width: 100%;">
<tr>
<span style="display: block;float: right; font-size: 10px; margin-top: 20px;" class="d-flex">
<h1 style="font-family: arial, sans-serif; font-size: 12px;"> 103, Satya Nagar, Bhubaneswar,<br>Odisha 751007<br></h1>
</span>
<span style="display: block;float: left;" class="d-flex">
<img src="<?php echo e(asset('assets/icons/nexhs_logo (1).png')); ?>" alt="nexhs_logo" width="100"
height="100" style="align-item: end; margin-top: 10px;">
</span>
</tr>
</table>
</section>
<section>
<span style="display: block; font-size: 12px; text-align:center; font-family: arial, sans-serif; border-collapse: collapse; width: 100%; margin-top:10px;" class="d-flex">
<p style="font-size: 15px; font-family: arial, sans-serif;"> Pay silp for the month of <?php echo e($current_month); ?></p>
<br/>
</span>
<table style="border-collapse: collapse; width: 100%;font-size: 12px; font-family: arial, sans-serif;">
<tr>
<th style="width:20%;border: 1px solid #1C1010; text-align: left; padding: 8px; ">Employee ID</th>
<th style="width:30%;border: 1px solid #1C1010; text-align: left; padding: 8px;"><?php echo e($emp_id); ?></th>
<th style="width:25%;border: 1px solid #1C1010; text-align: left; padding: 8px; ">UAN No.</th>
<th style="width:25%;border: 1px solid #1C1010; text-align: left; padding: 8px;"></th>
</tr>
<tr>
<th style="width:20%; border: 1px solid #1C1010; text-align: left; padding: 8px;">Employee Name</th>
<th style="width:30%; border: 1px solid #1C1010; text-align: left; padding: 8px;"><?php echo e($emp_name); ?></th>
<th style="width:25%; border: 1px solid #1C1010; text-align: left; padding: 8px;"> PF No.</th>
<th style="width:25%; border: 1px solid #1C1010; text-align: left; padding: 8px;"><?php echo e($pf_no); ?></th>
</tr>
<tr>
<th style="width:20%; border: 1px solid #1C1010; text-align: left; padding: 8px;">Designation</th>
<th style="width:30%; border: 1px solid #1C1010; text-align: left; padding: 8px;"><?php echo e($emp_designation); ?></th>
<th style="width:25%; border: 1px solid #1C1010; text-align: left; padding: 8px;">Total Paid Days</th>
<th style="width:25%; border: 1px solid #1C1010; text-align: left; padding: 8px;"><?php echo e($paid_days); ?></th>
</tr>
<tr>
<th style="width:20%; border: 1px solid #1C1010; text-align: left; padding: 8px;">Department</th>
<th style="width:30%; border: 1px solid #1C1010; text-align: left; padding: 8px;"><?php echo e($department); ?></th>
<th style="width:25%; border: 1px solid #1C1010; text-align: left; padding: 8px;">Absent Days</th>
<th style="width:25%; border: 1px solid #1C1010; text-align: left; padding: 8px;"><?php echo e($lop_days); ?></th>
</tr>
<tr>
<th style="width:20%; border: 1px solid #1C1010; text-align: left; padding: 8px;">Grade</th>
<th style="width:30%; border: 1px solid #1C1010; text-align: left; padding: 8px;"><?php echo e($grade); ?></th>
<th style="width:25%; border: 1px solid #1C1010; text-align: left; padding: 8px;">Bank Name</th>
<th style="width:25%; border: 1px solid #1C1010; text-align: left; padding: 8px;"><?php echo e($bank_name); ?></th>
</tr>
<tr>
<th style="width:20%; border: 1px solid #1C1010; text-align: left; padding: 8px;">Date of Joining</th>
<th style="width:30%; border: 1px solid #1C1010; text-align: left; padding: 8px;"><?php echo e($joining_date); ?></th>
<th style="width:25%; border: 1px solid #1C1010; text-align: left; padding: 8px;">Bank Account No.</th>
<th style="width:25%; border: 1px solid #1C1010; text-align: left; padding: 8px;">
<?php
$maskedString = "NA";
if ($acc_no) {
$length = strlen($acc_no);
if ($length >= 4) {
$lastFourDigits = substr($acc_no, -4);
$maskedString = str_repeat('*', $length - 4) . $lastFourDigits;
} else {
// Handle case where $acc_no length is less than 4
// For example, return $acc_no itself or any other appropriate handling
$maskedString = $acc_no;
}
}
?>
<?php echo e($maskedString); ?>
</th>
</tr>
<tr>
<th style="width:20%; border: 1px solid #1C1010; text-align: left; padding: 8px;">Work Location</th>
<th style="width:30%; border: 1px solid #1C1010; text-align: left; padding: 8px;"><?php echo e($location); ?></th>
<th style="width:25%; border: 1px solid #1C1010; text-align: left; padding: 8px;"></th>
<th style="width:25%; border: 1px solid #1C1010; text-align: left; padding: 8px;"></th>
</tr>
</table>
</section>
<section>
<div style="display: flex;margin-top:2rem">
<div style="width: 50%;">
<table class="table table-row-success-900" style="font-size: 12px; width: 100%; font-family: arial, sans-serif; ">
<thead style="background: rgb(237,26,26);
background: linear-gradient(90deg, rgba(237,26,26,0.6671043417366946) 50%, rgba(247,157,29,0.49343487394957986) 100%); color: white;">
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<th style="padding: 5px; height: 30px; text-align: left; font-size:12px; text-align: center;" colspan="3">Earnings</th>
</tr>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<th style="padding: 5px; height: 20px; text-align: left; font-weight: bold; font-size: 12px;">Description</th>
<th style="padding: 5px; height: 20px; text-align: center;font-size: 12px;">Current (INR)</th>
</tr>
</thead>
<tbody>
<?php if(sizeof($payroll_ern_det)>0): ?>
<?php
$up_ern=0;
$down_ern=0;
?>
<?php $__currentLoopData = $payroll_ern_det; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $payroll_ern): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($payroll_ern['type']!=4): ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td style="padding: 5px; font-size: 12px; height: 30px; text-align: left; "><?php echo e($payroll_ern['component']); ?></td>
<td style="padding: 5px; font-size: 12px; height: 30px; text-align: right;"><?php echo e(number_format((float)$payroll_ern['amount'], 2, '.', ',')); ?></td>
</tr>
<?php
$up_ern+=1
?>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php if( $up_ern < sizeof($payroll_ded_det_up)): ?>
<?php for($i=0;$i<(sizeof($payroll_ded_det_up)-$up_ern);$i++): ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-3 text-right" style="height: 30px;"></td>
<td class="p-3 text-right" style="height: 30px;"></td>
</tr>
<?php endfor; ?>
<?php endif; ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<th style="width:40px; padding: 5px; height: 30px; border: 1px solid #1C1010; text-align: right; font-weight: bold; font-size: 12px; " colspan="">Sub-Total (A)</th>
<th style="padding: 5px; height: 30px; border: 1px solid #1C1010; text-align: right; font-weight: bold; font-size: 12px; "><?php echo e(number_format((float)$slipEarning, 2, '.', ',')); ?></th>
</tr>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<th style="width:100%; padding: 5px; height: 30px; border: 1px solid #1C1010; text-align: left; font-weight: bold; font-size: 12px; " colspan="12">Additional Benefits</th>
</tr>
<?php $__currentLoopData = $payroll_ern_det; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $payroll_ern): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($payroll_ern['type']==4): ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td style="padding: 5px; font-size: 12px; height: 30px; text-align: left; "><?php echo e($payroll_ern['component']); ?></td>
<td style="padding: 5px; font-size: 12px; height: 30px; text-align: right;"><?php echo e(number_format((float)$payroll_ern['amount'], 2, '.', ',')); ?></td>
</tr>
<?php
$down_ern+=1
?>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php if( $down_ern < sizeof($payroll_ded_det_down)): ?>
<?php for($i=0;$i<(sizeof($payroll_ded_det_down)-$down_ern);$i++): ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<td class="p-3 text-right" style="height: 30px;"></td>
<td class="p-3 text-right" style="height: 30px;"></td>
</tr>
<?php endfor; ?>
<?php endif; ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<th style="width:40px; padding: 5px; height: 30px; border: 1px solid #1C1010; text-align: right; font-weight: bold; font-size: 12px; " colspan="">Sub-Total (B)</th>
<th style="padding: 5px; height: 30px; border: 1px solid #1C1010; text-align: right; font-weight: bold; font-size: 12px; "><?php echo e(number_format(round($slipEarningB, 2), 2, '.', ',')); ?></th>
</tr>
<?php endif; ?>
</tbody>
<tfoot style="background: rgb(237,26,26);
background: linear-gradient(90deg, rgba(237,26,26,0.6671043417366946) 50%, rgba(247,157,29,0.49343487394957986) 100%); color: white;">
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<th style="padding: 5px; height: 30px; text-align: left; font-size: 12px; ">CTC</th>
<th style="padding: 5px; height: 30px; text-align: right; font-size: 12px;" colspan="2">
<?php echo e(number_format((float)($slipEarning ?: 0) + (float)($slipEarningB ?: 0), 2, '.', ',')); ?>
</th> </tr>
</tfoot>
</table>
</div>
<div style="width: 50%;">
<table class="table table-row-success-900" style="font-size: 12px; width: 100%; font-family: arial, sans-serif;">
<thead style="background: rgb(237,26,26);
background: linear-gradient(90deg, rgba(237,26,26,0.6671043417366946) 50%, rgba(247,157,29,0.49343487394957986) 100%); color: white;">
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<th style="padding: 5px; height: 30px; text-align: left; text-align: center; font-size:12px;" colspan="3">Deductions</th>
</tr>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<th style="padding: 5px; height: 20px; text-align: left; font-size: 12px;" >Description</th>
<th style="padding: 5px; height: 20px; text-align: left; font-size: 12px;">Current (INR)</th>
</tr>
</thead>
<tbody>
<?php if(sizeof($payroll_ded_det_up)>0): ?>
<?php $__currentLoopData = $payroll_ded_det_up; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $payroll_ded): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<th style="padding: 5px; font-size: 12px; height: 30px; text-align: left; font-weight: bold;"><?php echo e($payroll_ded['component']); ?></th>
<th style="padding: 5px; font-size: 12px; height: 30px; text-align: right; font-weight: bold;"><?php echo e(number_format((float)$payroll_ded['amount'], 2, '.', ',')); ?></th>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php if(sizeof($payroll_ded_det_up) < $up_ern): ?>
<?php for($i=0;$i<($up_ern-sizeof($payroll_ded_det_up));$i++): ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<th style="padding: 5px; font-size: 12px; height: 30px; text-align: left; font-weight: bold;"></th>
<th style="padding: 5px; font-size: 12px; height: 30px; text-align: left; font-weight: bold;"></th>
</tr>
<?php endfor; ?>
<?php endif; ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<th style="width:100%; padding: 5px; height: 30px; border: 1px solid #1C1010; text-align: left; font-weight: bold; font-size: 12px; " colspan="12">Other Deductions</th>
</tr>
<?php $__currentLoopData = $payroll_ded_det_down; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $payroll_ded): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<th style="padding: 5px; font-size: 12px; height: 30px; text-align: left; font-weight: bold;"><?php echo e($payroll_ded['component']); ?></th>
<th style="padding: 5px; font-size: 12px; height: 30px; text-align: right; font-weight: bold;"><?php echo e(number_format((float)$payroll_ded['amount'], 2, '.', ',')); ?></th>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php if(sizeof($payroll_ded_det_down) < $down_ern): ?>
<?php for($i=0;$i<($down_ern+1-sizeof($payroll_ded_det_down));$i++): ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<th style="padding: 5px; font-size: 12px; height: 30px; text-align: left; font-weight: bold;"></th>
<th style="padding: 5px; font-size: 12px; height: 30px; text-align: left; font-weight: bold;"></th>
</tr>
<?php endfor; ?>
<?php endif; ?>
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<th style="width:40px; padding: 5px; height: 30px; border: 1px solid #1C1010; text-align: right; font-weight: bold; font-size: 12px; " colspan="">Sub-Total (C)</th>
<th style="padding: 5px; height: 30px; border: 1px solid #1C1010; text-align: right; font-weight: bold; font-size: 12px; "><?php echo e(number_format(round($slipDeduction, 2), 2, '.', ',')); ?></th>
</tr>
<?php endif; ?>
</tbody>
<tfoot style="background: rgb(237,26,26);
background: linear-gradient(90deg, rgba(237,26,26,0.6671043417366946) 50%, rgba(247,157,29,0.49343487394957986) 100%); color: white;">
<tr style="border-bottom: #211f1c solid thin !important; border:#211f1c solid thin !important;">
<th style="padding: 5px; height: 30px; text-align: left; font-size: 12px;">Total Deductions</th>
<th style="padding: 5px; height: 30px; text-align: right; font-size: 12px;" colspan="2"><?php echo e(number_format((float)$slipDeduction, 2, '.', ',')); ?></th>
</tr>
</tfoot>
</table>
</div>
</div>
</section>
<section>
<table
style="font-family: arial, sans-serif; border-collapse: collapse; width: 100%; margin-top: 10px;">
<tr>
<th style="width: 20%; background: rgb(237,26,26);
background: linear-gradient(90deg, rgba(237,26,26,0.6671043417366946) 50%, rgba(247,157,29,0.49343487394957986) 100%); color: white; border: 1px solid #1C1010; text-align: left; padding: 8px; font-size: 12px;">
Gross Pay <span style="font-size:12px;">(A)</span></th>
<th style="text-align: right; border: 1px solid #1C1010; padding: 8px; font-size: 12px;"><?php echo e(number_format((float)$slipEarning, 2, '.', ',')); ?></th>
</tr>
<tr>
<th style="width: 20%; background: rgb(237,26,26);
background: linear-gradient(90deg, rgba(237,26,26,0.6671043417366946) 50%, rgba(247,157,29,0.49343487394957986) 100%); color: white; border: 1px solid #1C1010; text-align: left; padding: 8px; font-size: 12px;">
Net Pay <span style="font-size:12px;">(A-C)</span></th>
<th style="text-align: right; border: 1px solid #1C1010; padding: 8px; font-size: 12px;"><?php echo e($netPay); ?></th>
</tr>
<tr>
<th style="width: 20%; background: rgb(237,26,26);
background: linear-gradient(90deg, rgba(237,26,26,0.6671043417366946) 50%, rgba(247,157,29,0.49343487394957986) 100%); color: white; border: 1px solid #1C1010; text-align: left; padding: 8px; font-size: 12px;">
In Words
</th>
<th style="text-align: right; border: 1px solid #1C1010; padding: 8px; font-size: 12px;"><?php echo e($netPayInWords); ?></th>
</tr>
</table>
</section>
<section>
<span class="table" style="display: block; font-size: 12px; margin-top: 15px; text-align:center;" class="d-flex">
<h1>This is a computer generated document, hence no signature is required</h1>
</span>
</section>
</div>
</body>
<div class="text-center pt-15">
<button type="button" class="btn btn-success align-items-center"
onclick="printDiv('salarySlip');" style="margin-left: 80%; width: 150px;">
<span class="indicator-label">Print</span>
<span class="indicator-progress">Please wait...
<span class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<?php endif; ?>
<?php /**PATH /var/www/hrms.uiet.co.in/resources/views/livewire/ess/employee-profile-livewire.blade.php ENDPATH**/ ?>