Hello, Welcome {{ auth()->user()->name }}
@if ($errors->any())
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@php
if ($dedections->month == 1) {
$month = 'January';
} elseif ($dedections->month == 2) {
$month = 'February';
} elseif ($dedections->month == 3) {
$month = 'March';
} elseif ($dedections->month == 4) {
$month = 'April';
} elseif ($dedections->month == 5) {
$month = 'May';
} elseif ($dedections->month == 6) {
$month = 'June';
} elseif ($dedections->month == 7) {
$month = 'July';
} elseif ($dedections->month == 8) {
$month = 'August';
} elseif ($dedections->month == 9) {
$month = 'September';
} elseif ($dedections->month == 10) {
$month = 'October';
} elseif ($dedections->month == 11) {
$month = 'November';
} elseif ($dedections->month == 12) {
$month = 'December';
}
@endphp
@php
use Carbon\Carbon;
$currentMonth = Carbon::now()->format('Y-m'); // Format as "YYYY-MM"
@endphp
@endforeach