@extends('backEnd.layouts.master') @section('title', 'Bonus Management') @section('css') @endsection @section('content')
{{-- PAGE HEADER --}}

Bonus Management

Manage employee bonuses and incentives.

Add New Bonus
{{-- FILTERS --}}
{{-- TABLE --}}
@forelse($bonuses as $bonus) @empty @endforelse
# Employee Details Bonus Type Amount Month Status Actions
{{ $loop->iteration + ($bonuses->currentPage()-1)*$bonuses->perPage() }}
{{ substr($bonus->employee->name, 0, 1) }}
{{ $bonus->employee->name }}
ID: {{ $bonus->employee->employee_id }}
{{ $bonus->bonus_type }} ৳{{ number_format($bonus->amount, 2) }} {{ $bonus->salary_month ?? '-' }} @if($bonus->status == 'paid') Paid @elseif($bonus->status == 'approved') Approved @else Pending @endif
@if($bonus->status == 'pending')
@csrf
@elseif($bonus->status == 'approved')
@csrf
@endif
{{-- Reject Modal --}} {{-- End Modal --}}

No bonus records found

Adjust filters or add a new bonus.
{{-- PAGINATION --}}
Showing {{ $bonuses->firstItem() }} to {{ $bonuses->lastItem() }} of {{ $bonuses->total() }} records
{{ $bonuses->links('pagination::bootstrap-4') }}
@endsection @push('scripts') @endpush