);
$this->from($post['email'], $post['prenom'] . ' ' . $post['nom']);
- $this->to('vincent@fluidbook.com');
+ $this->to('tecv@fluidbook.com');
$spam = '';
if ($post['spam'] === 'Oui') {
$spam = ' *** SPAM ***';
}
$this->subject('[Fluidbook Workshop]' . $spam . ' Demande de devis');
- $body = '<html><body>Une demande de devis a été envoyée avec les informations suivantes :' . "<br><br>";
+ $body = '<html><body><p>Une demande de devis a été envoyée avec les informations suivantes :</p><ul>';
foreach ($fields as $f => $d) {
if ($post[$f] != '') {
if ($f == 'pays') {
}
}
}
- $body .= "<br>";
+ $body .= "</ul><p>";
if (!$spam) {
$body .= 'Veuillez-vous rendre sur la <a href="https://toolbox.fluidbook.com/fluidbook-quote">Toolbox</a> pour prendre en charge la demande ou la confier à un revendeur';
} else {
$body .= 'Cette demande est un SPAM supposé. Elle n\'a pas été enregistrée dans la Toolbox.';
}
- $body .= '</html>';
+ $body .= '</p></body></html>';
$this->html($body);
}
$this->addField(['name' => 'created_at',
'label' => 'Date',
'type' => 'Datetime',
+ 'filter' => true,
'column' => true,
'column_type' => 'date',
'column_format' => null]);
4 => 'Déjà client',
], 'column' => true, 'can' => 'fluidbook-quote:admin', 'filter' => true]);
- $this->addField('origin_column', FluidbookQuoteOrigin::class, 'Origine', ['column' => true,'filter'=>true]);
+ $this->addField('origin_column', FluidbookQuoteOrigin::class, 'Origine', ['column' => true, 'filter' => true]);
$this->addField('fluidbooks', 'ModelAttribute', 'Fluidbooks', ['column' => true, 'column_label' => '<img width="20" src="/images/icons/icon-fluidbook.svg">', 'attribute' => 'user.e1_ws_count']);
}