@extends('admin.admin_dashboard') @section('admin')
Clear
Increment / Decrement History
@forelse($histories as $index => $history) @empty @endforelse
# Employee Emp ID Type Mode Value Change Amount Old Salary New Salary Effective Month Reason Approved By Approved At
{{ $histories->firstItem() + $index }} {{ $history->employee->name ?? $history->teacher->name ?? '-' }} {{ $history->employee->e_id ?? '-' }} {{ ucfirst($history->change_type) }} {{ ucfirst($history->change_mode) }} {{ number_format((float)$history->change_value, 2) }} {{ number_format((float)$history->change_amount, 2) }} {{ number_format((float)$history->old_salary, 2) }} {{ number_format((float)$history->new_salary, 2) }} {{ optional($history->effective_month)->format('F Y') }} {{ $history->reason }} {{ $history->approvedBy->name ?? '-' }} {{ optional($history->approved_at)->format('d M Y, h:i A') }}
No salary change history found.
@if($histories->hasPages()) @endif
@endsection