@extends('garage.layouts.app') @section('title', 'Responsibility Rules') @section('content') @include('garage.hr.styles')
Responsibility Master
Map services to department/designation. Employee responsibilities must follow these rules.
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @if($errors->any())
@endif
@forelse($rules as $r) @empty @endforelse
Service Department Designation Status Actions
{{ $r->service_name ?: '—' }} {{ $r->department_name ?: '—' }} {{ $r->designation_name ?: 'All in department' }} @if($r->is_active) Active @else Inactive @endif
@csrf @method('DELETE')
No rules found.
@if(method_exists($rules,'links'))
{{ $rules->links() }}
@endif
@push('scripts') @endpush @endsection