@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')
Payroll Components
@can('pay_items.create')
@endcan
@include('partials.new_alerts')
| Name |
Type |
Amount Type |
Require Effective Date |
Status |
Action |
{{-- @if (!empty($payItems)) --}}
@foreach ($payItems as $payItem)
{{ $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
|
@endforeach
{{-- @else
|
|
|
|
|
@endif --}}
@endcan
@endsection