Update FormOtherController.php
This commit is contained in:
@@ -35,6 +35,8 @@ class FormOtherController extends Controller
|
||||
$startDate = date('Y-m-' . env('STARTING_DATE')); // Starting date from .env for the current month
|
||||
$closingDateNextMonth = date('Y-m-', strtotime('+1 month')) . env('CLOSING_DATE'); // Closing date for the next month
|
||||
|
||||
dd($startDate, $closingDateNextMonth);
|
||||
|
||||
$forms = FormOthers::whereBetween('tanggal', [$startDate, $closingDateNextMonth])
|
||||
->orderBy('tanggal', 'desc')
|
||||
->with('user')
|
||||
|
||||
Reference in New Issue
Block a user