/** * Execute the job. * * @return void */ public function handle() { $mailler = new Mailer(); $mailler->sendTo('*****@*****.**', 'Identificarea nevoii', 'emails.identificarea_nevoii.header', ['body' => view('emails.identificarea_nevoii.content')->with(['data' => $this->data])->render(), 'client' => null]); }
/** * Execute the job. * * @return void */ public function handle() { Order::create(['user_id' => '', 'email' => $this->formData['email'], 'name' => $this->formData['name'], 'phone' => $this->formData['phone'], 'flight_nr' => '', 'coming_from' => '', 'resident_phone' => '', 'from' => $this->formData['from'], 'from_nr' => $this->formData['from_nr'], 'to' => $this->formData['to'], 'to_nr' => $this->formData['to_nr'], 'to_street' => '', 'up_date_time' => $this->formData['up_date_time'], 'nr_passegers' => '', 'nr_luggages' => '', 'nr_hand_luggages' => '', 'details' => $this->formData['details'], 'meet_and_greet' => @$this->formData['meet_and_greet'], 'return_50' => @$this->formData['return_50'], 'pay_cash' => $this->formData['pay_cash'], 'request' => 0]); $mailler = new Mailer(); $mailler->sendTo(config('owner.email'), 'New customer', 'emails.client.confirmare', ['body' => view('emails.client.email-content')->with(['data' => $this->formData])->render(), 'client' => null]); }
/** * Execute the job. * * @return void */ public function handle() { $mailler = new Mailer(); $mailler->sendTo($this->request->email, 'Booking offer', 'emails.request.response.confirmare', ['body' => view('emails.request.response.email-content')->with(['data' => $this->request, 'response' => $this->response])->render(), 'client' => null]); }
/** * Execute the job. * * @return void */ public function handle() { $mailler = new Mailer(); $mailler->sendTo($this->formData['email'], 'Your order', 'emails.extern.confirmare', ['body' => view('emails.extern.email-content')->with(['data' => $this->formData])->render(), 'data' => $this->formData]); }