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