@extends('layouts.master') @section('content')
{{ $title }}
A list of all deductions.
@if(isset($error) || session('error'))
{{ $error ?? session('error') }}
@endif
@foreach($data as $item) @endforeach
Code Name Mode of Calculation % Fixed Amount Action
{{$item->dedu_def_id? $item->pamDeduDef->code : '' }} {{ $item->short_description }} {{$item->mode_of_calculation }} {{$item->percentage }} {{$item->fixed_amount }} @canany(['View payroll deduction definitions','Manage payroll deduction definitions']) @endcanany @if($item->pamDeduDef->pamDeduType->code !== 'INCTAX' && $item->pamDeduDef->pamDeduType->code !== 'SOCIALSECURITY' && $item->pamDeduDef->code !== 'NAPSA') @canany(['Manage payroll deduction definitions']) @endcanany @endif
@endsection @section('modal') @foreach ($data as $key => $item) @endforeach @endsection