@php
// Default to first and last day of current month if not set in request
$startDate = request()->get('start_date') ? now()->startOfMonth()->format('Y-m-d') : '';
$endDate = request()->get('end_date') ? now()->endOfMonth()->format('Y-m-d'):'';
@endphp