public function index(DateRangeSearch $request): View 	{ 		$user = $request->user(); 		$provider = $request->provider;  		$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');  		$sms_messages = SmsMessage::when($provider, function ($query) use ($provider): void { 			$query->where('provider', $provider); 		}) 			->whereBetween('created_at', [$start_date, $end_date]) 			->latest() 			->get();  		return view('sms-messages.list', compact('sms_messages', 'provider', 'start_date', 'end_date')); 	}