File manager - Edit - /var/www/payraty/hris/storage/framework/views/69dd0502fe90f0a54cd5b0148a4b9c37.php
Back
<?php $allowancesArray = $allowances->toArray(); $deductionsArray = $deductions->toArray(); ?> <?php $__env->startSection('page-title'); ?> <?php echo e(__('Employee')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('breadcrumb'); ?> <li class="breadcrumb-item"><a href="<?php echo e(route('dashboard')); ?>"><?php echo e(__('Home')); ?></a></li> <li class="breadcrumb-item"><a href="<?php echo e(url('employee')); ?>"><?php echo e(__('Employee')); ?></a></li> <li class="breadcrumb-item"><?php echo e(__('Manage Employee')); ?></li> <?php $__env->stopSection(); ?> <?php $__env->startSection('action-button'); ?> <div class="float-end"> <a href="<?php echo e(route('employee.edit', \Illuminate\Support\Facades\Crypt::encrypt($employee->id))); ?>" data-bs-toggle="tooltip" title="<?php echo e(__('Edit')); ?>"class="btn btn-sm btn-primary"> <i class="ti ti-pencil"></i> </a> </div> <div class="text-end mb-3"> <div class="d-flex justify-content-end drp-languages"> <ul class="list-unstyled mb-0 m-2"> <li class="dropdown dash-h-item drp-language"> <a class="dash-head-link dropdown-toggle arrow-none me-0" data-bs-toggle="dropdown" href="#" role="button" aria-haspopup="false" aria-expanded="false"> <span class="drp-text hide-mob text-primary"> <?php echo e(__('Joining Letter')); ?> <i class="ti ti-chevron-down drp-arrow nocolor hide-mob"></i> </a> <div class="dropdown-menu dash-h-dropdown"> <a href="<?php echo e(route('joiningletter.download.pdf', $employee->id)); ?>" class=" btn-icon dropdown-item" data-bs-toggle="tooltip" data-bs-placement="top" target="_blanks"><i class="ti ti-download "> </i><?php echo e(__('PDF')); ?></a> <a href="<?php echo e(route('joininglatter.download.doc', $employee->id)); ?>" class=" btn-icon dropdown-item" data-bs-toggle="tooltip" data-bs-placement="top" target="_blanks"><i class="ti ti-download "> </i><?php echo e(__('DOC')); ?></a> </div> </li> </ul> <ul class="list-unstyled mb-0 m-2"> <li class="dropdown dash-h-item drp-language"> <a class="dash-head-link dropdown-toggle arrow-none me-0" data-bs-toggle="dropdown" href="#" role="button" aria-haspopup="false" aria-expanded="false"> <span class="drp-text hide-mob text-primary"> <?php echo e(__('Experience Certificate')); ?> <i class="ti ti-chevron-down drp-arrow nocolor hide-mob"></i> </a> <div class="dropdown-menu dash-h-dropdown"> <a href="<?php echo e(route('exp.download.pdf', $employee->id)); ?>" class=" btn-icon dropdown-item" data-bs-toggle="tooltip" data-bs-placement="top" target="_blanks"><i class="ti ti-download "> </i><?php echo e(__('PDF')); ?></a> <a href="<?php echo e(route('exp.download.doc', $employee->id)); ?>" class=" btn-icon dropdown-item" data-bs-toggle="tooltip" data-bs-placement="top" target="_blanks"><i class="ti ti-download "> </i><?php echo e(__('DOC')); ?></a> </div> </li> </ul> <ul class="list-unstyled mb-0 m-2"> <li class="dropdown dash-h-item drp-language"> <a class="dash-head-link dropdown-toggle arrow-none me-0" data-bs-toggle="dropdown" href="#" role="button" aria-haspopup="false" aria-expanded="false"> <span class="drp-text hide-mob text-primary"> <?php echo e(__('NOC')); ?> <i class="ti ti-chevron-down drp-arrow nocolor hide-mob"></i> </a> <div class="dropdown-menu dash-h-dropdown"> <a href="<?php echo e(route('noc.download.pdf', $employee->id)); ?>" class=" btn-icon dropdown-item" data-bs-toggle="tooltip" data-bs-placement="top" target="_blanks"><i class="ti ti-download "> </i><?php echo e(__('PDF')); ?></a> <a href="<?php echo e(route('noc.download.doc', $employee->id)); ?>" class=" btn-icon dropdown-item" data-bs-toggle="tooltip" data-bs-placement="top" target="_blanks"><i class="ti ti-download "> </i><?php echo e(__('DOC')); ?></a> </div> </li> </ul> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="row"> <div class="col-xl-12"> <div class="row"> <div class="col-sm-12 col-md-6"> <div class="card shadow-sm border-0 rounded-4"> <div class="card-body p-4 bg-light"> <h5 class="mb-3 text-primary fw-bold"> <?php echo e(__('Personal Detail')); ?> </h5> <hr class="mb-4"> <div class="row g-3"> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Employee ID')); ?>:</strong><br> <span><?php echo e($employeesId ?? '-'); ?></span> </div> </div> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Name')); ?>:</strong><br> <span><?php echo e($employee->name ?? '-'); ?></span> </div> </div> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Email')); ?>:</strong><br> <span><?php echo e($employee->email ?? '-'); ?></span> </div> </div> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Date of Birth')); ?>:</strong><br> <span><?php echo e(\Auth::user()->dateFormat($employee->dob) ?? '-'); ?></span> </div> </div> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Phone')); ?>:</strong><br> <span><?php echo e($employee->phone ?? '-'); ?></span> </div> </div> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Address')); ?>:</strong><br> <span><?php echo e($employee->address ?? '-'); ?></span> </div> </div> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Salary Type')); ?>:</strong><br> <span><?php echo e($employee->salaryType->name ?? '-'); ?></span> </div> </div> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Basic Salary')); ?>:</strong><br> <span><?php echo e($employee->salary ?? '-'); ?></span> </div> </div> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Nationality')); ?>:</strong><br> <span><?php echo e($profile->nationality ?? '-'); ?></span> </div> </div> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Gender')); ?>:</strong><br> <span><?php echo e($employee->gender ?? '-'); ?></span> </div> </div> </div> </div> </div> </div> <div class="col-sm-12 col-md-6"> <div class="card shadow-sm border-0 rounded-4"> <div class="card-body p-4 bg-light"> <h5 class="mb-3 text-primary fw-bold"> <?php echo e(__('Company Detail')); ?> </h5> <hr class="mb-4"> <div class="row g-3"> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Branch')); ?>:</strong><br> <span><?php echo e($employee->branch->name ?? '-'); ?></span> </div> </div> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Department')); ?>:</strong><br> <span><?php echo e($employee->department->name ?? '-'); ?></span> </div> </div> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Designation')); ?>:</strong><br> <span><?php echo e($employee->designation->name ?? '-'); ?></span> </div> </div> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Employement Type')); ?>:</strong><br> <span><?php echo e($jobInfo->employment_type_id ?? '-'); ?></span> </div> </div> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Date Of Joining')); ?>:</strong><br> <span><?php echo e(\Auth::user()->dateFormat($employee->company_doj) ?? '-'); ?></span> </div> </div> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Pension Percentage')); ?>:</strong><br> <span><?php echo e($jobInfo->pension_percentage . '%' ?? '-'); ?></span> </div> </div> </div> </div> </div> </div> </div> <div class="row"> <div class="col-sm-12 col-md-6"> <div class="card "> <div class="card-body employee-detail-body fulls-card emp-card"> <h5><?php echo e(__('Document Detail')); ?></h5> <hr> <div class="row"> <?php $employeedoc = $employee->documents()->pluck('document_value', 'document_id'); $logo = \App\Models\Utility::get_file('uploads/document'); ?> <?php if(!$documents->isEmpty()): ?> <?php $__currentLoopData = $documents; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $document): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-md-6"> <div class="info text-sm"> <strong class="font-bold"><?php echo e($document->name); ?> : </strong> <span><a href="<?php echo e(!empty($employeedoc[$document->id]) ? $logo . '/' . $employeedoc[$document->id] : ''); ?>" target="_blank"><?php echo e(!empty($employeedoc[$document->id]) ? $employeedoc[$document->id] : ''); ?></a></span> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <div class="text-center"> No Document Type Added.! </div> <?php endif; ?> </div> </div> </div> </div> <div class="col-sm-12 col-md-6"> <div class="card shadow-sm border-0 rounded-4"> <div class="card-body p-4 bg-light"> <h5 class="mb-3 text-primary fw-bold"> <?php echo e(__('Bank Account Detail')); ?> </h5> <hr class="mb-4"> <div class="row g-3"> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Account Holder Name')); ?>:</strong><br> <span><?php echo e($employee->account_holder_name ?? '-'); ?></span> </div> </div> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Account Number')); ?>:</strong><br> <span><?php echo e($employee->account_number ?? '-'); ?></span> </div> </div> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Bank Name')); ?>:</strong><br> <span><?php echo e($employee->bank_name ?? '-'); ?></span> </div> </div> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Bank Identifier Code')); ?>:</strong><br> <span><?php echo e($employee->bank_identifier_code ?? '-'); ?></span> </div> </div> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Branch Location')); ?>:</strong><br> <span><?php echo e($employee->branch_location ?? '-'); ?></span> </div> </div> <div class="col-md-6"> <div class="text-muted small"> <strong class="text-dark"><?php echo e(__('Tax Payer Id')); ?>:</strong><br> <span><?php echo e($employee->tax_payer_id ?? '-'); ?></span> </div> </div> </div> </div> </div> </div> <div class="col-sm-12 col-md-6"> <div class="card mb-4"> <div class="card-header text-white" style="background-color: #0d6efd ;"> <strong>Allowances</strong> </div> <div class="card-body"> <?php if(!empty($allowancesArray)): ?> <ul class="list-group list-group-flush"> <?php $__currentLoopData = $allowancesArray; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $allowance): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li class="list-group-item d-flex justify-content-between align-items-center"> <div> <strong><?php echo e($allowance['organisation_allowance']['name'] ?? 'Unnamed Allowance'); ?></strong><br> <small class="text-muted"><?php echo e($allowance['organisation_allowance']['description'] ?? ''); ?></small> </div> <span class="badge bg-success rounded-pill"> <?php echo e($allowance['value']); ?><?php echo e(isset($allowance['organisation_allowance']['type']) && $allowance['organisation_allowance']['type'] === 'percentage' ? '%' : ''); ?> </span> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> <?php else: ?> <p class="text-muted">No allowances found.</p> <?php endif; ?> </div> </div> </div> <div class="col-sm-12 col-md-6"> <div class="card mb-4"> <div class="card-header bg-danger text-white"> <strong>Deductions</strong> </div> <div class="card-body"> <?php if(!empty($deductionsArray)): ?> <ul class="list-group list-group-flush"> <?php $__currentLoopData = $deductionsArray; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $deduction): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li class="list-group-item d-flex justify-content-between align-items-center"> <div> <strong><?php echo e($deduction['deduction']['name'] ?? 'Unnamed Deduction'); ?></strong> </div> <span class="badge bg-warning text-dark rounded-pill"> ₦<?php echo e(number_format($deduction['value'], 2)); ?> </span> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> <?php else: ?> <p class="text-muted">No deductions found.</p> <?php endif; ?> </div> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.admin', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/payraty/hris/resources/views/employee/show.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings