-
- Downloads
feat: add date range filtering to visit statistics
- Updated `HomeController` to accept `start_date` and `end_date` as request parameters for filtering visit statistics. - Implemented validation for date inputs. - Added a new select input in the admin home view for selecting the statistics period. - Enhanced JavaScript to handle date selection and refresh the page with the selected date range.
Showing
- app/Http/Controllers/Admin/HomeController.php 44 additions, 4 deletionsapp/Http/Controllers/Admin/HomeController.php
- resources/js/pages/admin/home.js 9 additions, 1 deletionresources/js/pages/admin/home.js
- resources/views/admin/home.blade.php 9 additions, 2 deletionsresources/views/admin/home.blade.php
Loading
Please register or sign in to comment