@extends('layouts.app', ['path' => 'payroll.components.payitems']) @section('title', 'Pay Items - HRMS') @section('content') @can('pay_items.read|pay_items.create|pay_items.update|pay_items.delete')
@include('partials.new_alerts')
Pay Items List
{{-- @if (!empty($payItems)) --}} @foreach ($payItems as $payItem) @endforeach {{-- @else @endif --}}
Name Type Amount Type Require Effective Date Status Action
{{ $payItem['name'] }}
{{ ucfirst($payItem['type']) }} {{ ucfirst($payItem['amount_type']) }} {{ ($payItem['requires_effective_date'] == 1)? 'Yes' : 'No' }} @if ($payItem['status']) Active @else Inactive @endif
@can('pay_items.update') @endcan @can('pay_items.delete') @endcan @can('logs.read') @endcan
@endcan @endsection