@extends('layouts.app') @section('content')
Comprehensive analysis of deduction code 667 differences across multiple periods
Total Records
Increased Contributions
Decreased Contributions
Departments Affected
| SN | Employee Name | Monthly Salary | Vote Code | Department | Change Type | @php $monthYears = collect($differences)->flatMap(fn($diff) => array_keys($diff['details']))->unique()->sort()->values()->toArray(); @endphp @foreach($monthYears as $my){{ \Carbon\Carbon::parse($my . '-01')->format('M Y') }} | @endforeachActions |
|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} |
|
TZS {{ number_format($difference['monthlySalary'], 2) }} | {{ $difference['voteCode'] }} | {{ $difference['deptName'] }} | @if ($difference['change_comment'] === 'Increase') Increase @elseif ($difference['change_comment'] === 'Decrease') Decrease @endif | @foreach($monthYears as $my)TZS {{ number_format($difference['details'][$my] ?? 0, 2) }} | @endforeachView Details |