@extends('layouts.app', ['path' => 'payroll.structures'])
@section('title', 'Payroll Structures - HRMS')
@section('content')
@can('payroll_structures.read|payroll_structures.create|payroll_structures.update|payroll_structures.delete|payroll_structures.run|payroll_structures.view_assign_employee|payroll_structures.assign_employee')
Payroll Structures
@can('payroll_structures.create')
@endcan
{{-- @include('partials.alerts') --}}
@include('partials.new_alerts')
| Name |
{{-- Month | --}}
Tax Structure |
Status |
Last Generated |
Actions |
{{-- @dd($payrollStructures) --}}
@foreach ($payrollStructures as $payrollStructure)
{{ $payrollStructure['name'] }}
|
{{-- July, 2025 | --}}
{{ $payrollStructure['tax_structure_name'] }} |
@if($payrollStructure['status'] )
Active
@else
Inactive
@endif
|
{{ formatDisplayDateFJGIA($payrollStructure['last_run']) }} |
@can('payroll_structures.update')
@endcan
@can('payroll_structures.run')
@if($payrollStructure['status'])
@endif
@endcan
@can('payroll_structures.view_assign_employee|payroll_structures.assign_employee')
{{-- --}}
@endcan
@can('payroll_structures.delete')
@endcan
@can('logs.read')
@endcan
|
@endforeach
@can('payroll_structures.run')
@include('compaines.payroll.modals.run-payroll-modal')
@endcan
@can('payroll_structures.view_assign_employee|payroll_structures.assign_employee')
@include('compaines.payroll.modals.assign-employee')
@endcan
@endcan
@endsection
@push('css')