From: Vincent Vanwaelscappel Date: Tue, 8 Dec 2020 15:37:08 +0000 (+0100) Subject: wip #3753 @1.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=90d9e0bb79ec84f6bf5fb3455cbb51198c66df25;p=fluidbook-toolbox.git wip #3753 @1.5 --- diff --git a/app/Mail/FluidbookQuoteReceived.php b/app/Mail/FluidbookQuoteReceived.php index 059904650..11ca35ea8 100644 --- a/app/Mail/FluidbookQuoteReceived.php +++ b/app/Mail/FluidbookQuoteReceived.php @@ -57,14 +57,14 @@ class FluidbookQuoteReceived extends Mailable ); $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 = 'Une demande de devis a été envoyée avec les informations suivantes :' . "

"; + $body = '

Une demande de devis a été envoyée avec les informations suivantes :

"; if (!$spam) { $body .= 'Veuillez-vous rendre sur la Toolbox 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 .= ''; + $body .= '

'; $this->html($body); } diff --git a/app/Models/FluidbookQuote.php b/app/Models/FluidbookQuote.php index 948e0f464..fb8e7dae1 100644 --- a/app/Models/FluidbookQuote.php +++ b/app/Models/FluidbookQuote.php @@ -47,6 +47,7 @@ class FluidbookQuote extends CubistMagicAbstractModel $this->addField(['name' => 'created_at', 'label' => 'Date', 'type' => 'Datetime', + 'filter' => true, 'column' => true, 'column_type' => 'date', 'column_format' => null]); @@ -85,7 +86,7 @@ class FluidbookQuote extends CubistMagicAbstractModel 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' => '', 'attribute' => 'user.e1_ws_count']); }