On master: Safety backup before git cleanup 2026-05-28 sterntours.de
This commit is contained in:
commit
31e616c189
49 changed files with 29999 additions and 4275 deletions
|
|
@ -479,10 +479,14 @@ class AdminController extends Controller
|
|||
)
|
||||
);
|
||||
|
||||
$mailto = 'stern@stern-tours.de';
|
||||
if(Util::isLocal()) {
|
||||
$mailto = 'kevin.adametz@me.com';
|
||||
}
|
||||
$this->get('mailer')->send(\Swift_Message::newInstance()
|
||||
->setSubject('FEWO-BUCHUNG: '. $lodging->getName())//$travelProgram->getTitle() .'('. $travelDate->getName() .')') //TODO !!! allein hierfür braucht man mehr infos in $fewoBookingRequest
|
||||
->setFrom('stern@stern-tours.de', 'STERN TOURS')
|
||||
->setTo('stern@stern-tours.de')
|
||||
->setTo($mailto)
|
||||
->setBody(
|
||||
$this->renderView('default/email/fewoBookingServiceEmail.txt.twig', [
|
||||
'base_dir' => realpath($this->getParameter('kernel.root_dir').'/..').DIRECTORY_SEPARATOR,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue