<div class="col-lg-12 col-md-12 ntfcn-tab-content-left w-100 p-4">
    <div class="table-responsive">
        <?php if (isset($component)) { $__componentOriginal7d9f6e0b9001f5841f72577781b2d17f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal7d9f6e0b9001f5841f72577781b2d17f = $attributes; } ?>
<?php $component = App\View\Components\Table::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('table'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Table::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => 'table-bordered']); ?>
             <?php $__env->slot('thead', null, []); ?> 
                <th><?php echo app('translator')->get('payroll::modules.payroll.componentName'); ?></th>
                <th><?php echo app('translator')->get('payroll::modules.payroll.componentType'); ?></th>
                <th><?php echo app('translator')->get('payroll::modules.payroll.componentValue'); ?></th>
                <th><?php echo app('translator')->get('payroll::modules.payroll.valueType'); ?></th>
                <th class="text-right"><?php echo app('translator')->get('app.action'); ?></th>
             <?php $__env->endSlot(); ?>

            <?php $__empty_1 = true; $__currentLoopData = $salaryComponents; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$salaryComponent): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                <tr id="type-<?php echo e($salaryComponent->id); ?>">
                    <td> <?php echo e($salaryComponent->component_name); ?></td>
                    <td> <?php echo e((__('payroll::modules.payroll.' . $salaryComponent->component_type))); ?></td>
                  <?php  $rec =  __('app.monthly') .' - '. $salaryComponent->component_value ." <br> ";
                    $rec .=  __('app.weekly') .' - '. $salaryComponent->weekly_value ." <br> " ;
                    $rec .=  __('payroll::app.menu.biweekly') .' - '. $salaryComponent->biweekly_value ." <br> " ;
                    $rec .=  __('payroll::app.menu.semimonthly') .' - '. $salaryComponent->semimonthly_value ." <br> " ;
                ?>
                    <td>
                        <?php if($salaryComponent->value_type == 'percent' || $salaryComponent->value_type == 'basic_percent'): ?>
                            <?php echo e($salaryComponent->component_value); ?>%
                        <?php else: ?>
                            <?php echo $rec; ?>

                        <?php endif; ?>
                    </td>
                    <td> <?php echo e((__('payroll::modules.payroll.' . $salaryComponent->value_type))); ?></td>
                    <td class="text-right">
                        <div class="task_view">
                            <a href="javascript:;" data-salary-components-id="<?php echo e($salaryComponent->id); ?>"
                               class="edit-salary-component task_view_more d-flex align-items-center justify-content-center">
                                <i class="fa fa-edit icons mr-2"></i> <?php echo app('translator')->get('app.edit'); ?>
                            </a>
                        </div>
                        <div class="task_view">
                            <a href="javascript:;" data-salary-components-id="<?php echo e($salaryComponent->id); ?>"
                               class="delete-salary-component task_view_more d-flex align-items-center justify-content-center">
                                <i class="fa fa-trash icons mr-2"></i> <?php echo app('translator')->get('app.delete'); ?>
                            </a>
                        </div>
                    </td>
                </tr>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                <tr>
                    <td colspan="5">
                        <?php if (isset($component)) { $__componentOriginal269164c77d9d34462c34359c03da6a68 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal269164c77d9d34462c34359c03da6a68 = $attributes; } ?>
<?php $component = App\View\Components\Cards\NoRecord::resolve(['icon' => 'list','message' => __('payroll::messages.noSalaryComponentsAdded')] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('cards.no-record'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Cards\NoRecord::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal269164c77d9d34462c34359c03da6a68)): ?>
<?php $attributes = $__attributesOriginal269164c77d9d34462c34359c03da6a68; ?>
<?php unset($__attributesOriginal269164c77d9d34462c34359c03da6a68); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal269164c77d9d34462c34359c03da6a68)): ?>
<?php $component = $__componentOriginal269164c77d9d34462c34359c03da6a68; ?>
<?php unset($__componentOriginal269164c77d9d34462c34359c03da6a68); ?>
<?php endif; ?>
                    </td>
                </tr>
            <?php endif; ?>
         <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal7d9f6e0b9001f5841f72577781b2d17f)): ?>
<?php $attributes = $__attributesOriginal7d9f6e0b9001f5841f72577781b2d17f; ?>
<?php unset($__attributesOriginal7d9f6e0b9001f5841f72577781b2d17f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal7d9f6e0b9001f5841f72577781b2d17f)): ?>
<?php $component = $__componentOriginal7d9f6e0b9001f5841f72577781b2d17f; ?>
<?php unset($__componentOriginal7d9f6e0b9001f5841f72577781b2d17f); ?>
<?php endif; ?>
    </div>
</div>
<?php /**PATH /home/smartdigitants/public_html/oneops.co.uk/oneops.ai/Modules/Payroll/Providers/../Resources/views/payroll-setting/ajax/salary-components.blade.php ENDPATH**/ ?>