@extends('layouts.master') @section('content')
{{ $title }}
List of Employee Earning and Deduction Definitions
@include('layouts.payrollsubmenu')
@if(isset($error) || session('error'))
{{ $error ?? session('error') }}
@endif
{{ $pamEmp->pamPayroll->short_description }} Payroll
{{ $earningTitle }} @canany('Manage payroll earning definitions') @endcanany

@foreach($pamEarningDefinitions as $earningDefinition) @endforeach
Name Action
{{ $earningDefinition->short_description }} @if($earningDefinition->pamEarnDef->pamEarnType->code !== 'BASIC') @canany(['Manage payroll earning definitions']) Del @endcanany @endif
{{ $deductionTitle }} @canany('Manage payroll deduction definitions') @endcanany

@foreach($pamDeductionDefinitions as $item) @endforeach
Name Action
{{ $item->short_description }} @if($item->pamDeduDef->pamDeduType->code !== 'INCTAX' && $item->pamDeduDef->pamDeduType->code !== 'SOCIALSECURITY' && $item->pamDeduDef->code !== 'NAPSA') @canany(['Manage payroll deduction definitions']) Del @endcanany @endif
@endsection @section('scripts') @endsection