@extends('layouts.app') @section('title','Payroll Configuration') @section('page-title','Payroll') @push('styles') @endpush @section('content')
| Component | Code | Type | Taxable | Mandatory | Calc. | Default Value | Status | Actions |
|---|---|---|---|---|---|---|---|---|
|
{{ $comp->name }}
@if($comp->description){{ $comp->description }} @endif
|
{{ $comp->code }} |
{{ ucfirst($comp->type) }} | @if($comp->is_taxable) @else @endif | @if($comp->is_mandatory) @else @endif | {{ ucfirst($comp->calculation_type) }} | {{ $comp->calculation_type === 'percentage' ? $comp->default_value.'%' : number_format($comp->default_value,2) }} | {{ $comp->is_active ? 'Active' : 'Inactive' }} | |
| No salary components defined yet. | ||||||||