public function sendFormular(Request $request)
 {
     $response = session('response');
     $datasejur = session('datasejur');
     $tiprezervare = session('tiprezervare');
     if ($tiprezervare != 'pachet') {
         $templateEmail = 'solicitare-oferte-hoteluri';
         $idRezervare = 0;
     } else {
         $templateEmail = 'solicitare-oferta-pachet';
         $idRezervare = 1;
     }
     Mail::send('auth.emails.' . $templateEmail, ['request' => $request, 'response' => $response, 'datasejur' => $datasejur], function ($mail) use($request) {
         $mail->from(config('configurari.mail_from'), config('configurari.mail_from_alias'));
         $mail->to($request->Email, config('configurari.mail_to'));
         $mail->subject('Multumim pentru comanda solicitata');
     });
     //-----------stocare cereri-------------//
     $client = Cereri_Clienti::where('email', $request->Email)->first();
     $date_rezervare = ['response' => serialize($response), 'datasejur' => serialize($datasejur)];
     if ($client) {
         $array = ['nume' => $request->Nume, 'telefon' => $request->Telefon, 'adresa' => getJudeteMobilPay($request->Judet)->judet . '|' . $request->Oras . '|' . $request->Adresa];
         $client->update($array);
     } else {
         $array = ['nume' => $request->Nume, 'email' => $request->Email, 'telefon' => $request->Telefon, 'adresa' => getJudeteMobilPay($request->Judet)->judet . '|' . $request->Oras . '|' . $request->Adresa];
         $client = Cereri_Clienti::create($array);
     }
     $array_cereri_oferte = ['cereri_clienti_id' => $client->id, 'status' => $idRezervare, 'url' => uniqid(), 'activ' => 0, 'descriere' => serialize($date_rezervare)];
     Cereri_Oferte::create($array_cereri_oferte);
     //--------------------------------------//
     return redirect()->back();
 }