public function index(DateRangeSearch $request): View 	{ 		$user = $request->user(); 		$isPaid = $request->filled('is_paid') ? $request->boolean('is_paid') : null;  		$start_date = $request->start_date ?? formatTimestamp(now($user->timezone)->startOfMonth(), 'Y-m-d H:i'); 		$end_date = $request->end_date ?? formatTimestamp(now($user->timezone)->endOfMonth(), 'Y-m-d H:i');  		$orders = Order::whereBetween('created_at', [$start_date, $end_date]) 			->when($isPaid, static function (Builder $query): void { 				$query->paid(); 			}) 			->when($isPaid === false, static function (Builder $query): void { 				$query->unpaid(); 			}) 			->latest() 			->get();  		return view('orders.list', ['orders' => $orders, 'start_date' => $start_date, 'end_date' => $end_date, 'isPaid' => $isPaid]); 	}