@extends('layouts.app', ['path' => 'payroll.components.rules']) @section('title', 'Rules - HRMS') @section('content') @can('rules.read|rules.create|rules.delete')
@include('partials.new_alerts')
Rules List
@foreach ($entities as $entity) @endforeach
Name Identifier Expression Status Action
{{$entity['name']}}
{{ $entity['slug'] }} {{ $entity['expression'] }} @if ($entity['status'] == 'active') Active @else Inactive @endif
@can('rules.delete') @endcan @can('logs.read') @endcan
@endcan @endsection