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