@extends('admin.admin_dashboard') @section('admin')
{{-- Page Header --}}

Provident Fund Opening Balance

Employee provident fund opening balance manage and review from one place.

Total Records: {{ $transactions->total() }}
{{-- Alerts --}} @if(session('success')) @endif @if($errors->any()) @endif {{-- এখানে align-items-start use করা হয়েছে যাতে left এবং right column equal height না নেয় --}}
{{-- Left Side: Add Opening Balance Form --}} {{-- এখানে align-self-start use করা হয়েছে যাতে এই column নিজের content height অনুযায়ী থাকে --}}
Add Opening Balance
Create a new opening balance entry
@csrf
৳
{{-- Right Side: Records Table --}}
Opening Balance History
All provident fund opening balance records
@forelse($transactions as $txn) @php $employeeName = $txn->employee->name ?? $txn->teacher->name ?? 'N/A'; $employeeCode = $txn->employee->e_id ?? $txn->teacher->teacher_code ?? null; @endphp @empty @endforelse
Date Employee Amount Type Note
{{ optional($txn->performed_at)->format('d M Y') ?? '-' }}
{{ $employeeName }}
@if($employeeCode) Employee ID: {{ $employeeCode }} @endif
৳ {{ number_format((float)($txn->amount ?? 0), 2) }} Opening Balance @if(!empty($txn->note)) {{ $txn->note }} @else No note added @endif
No Opening Balance Records Found

Add a new provident fund opening balance to see records here.

@if($transactions->hasPages()) @endif
@endsection