changed tgl cut off to 20
This commit is contained in:
@@ -34,8 +34,8 @@ class FormEntertainmentPresentationController extends Controller
|
||||
$role = auth()->user()->getRoleNames()[0];
|
||||
$forms = FormEntertaimentPresentation::whereMonth('tanggal', date('m'))
|
||||
->whereYear('tanggal', date('Y'))
|
||||
->where('tanggal', '<=', date('Y-m-10'))
|
||||
->whereRaw('DAY(CURDATE()) <= 10')
|
||||
->where('tanggal', '<=', date('Y-m-20'))
|
||||
->whereRaw('DAY(CURDATE()) <= 20')
|
||||
->orderBy('tanggal', 'desc')
|
||||
->get();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user