]> _ Git - psq.git/commitdiff
debig
authorLouis Jeckel <louis.jeckel@outlook.com>
Thu, 3 Dec 2020 11:38:45 +0000 (12:38 +0100)
committerLouis Jeckel <louis.jeckel@outlook.com>
Thu, 3 Dec 2020 11:38:45 +0000 (12:38 +0100)
app/Nova/EmailTemplate.php
app/PdfFile.php

index 1ff4dd1ad26b0e32a3cd56c19346619b3bd5902c..bb79f303e54eb0183b980018193b35ba579da587 100644 (file)
@@ -63,7 +63,6 @@ class EmailTemplate extends Resource
             Text::make('Nom', 'name')->required(),
             Text::make('Sujet', 'subject'),
             Boolean::make('Dans menu action ?', 'show_in_actions'),
-            Iframe::make('Aperçu', 'renderedHtml'),
             Unlayer::make('Email', 'design')->config([
                 'projectId' => config('services.unlayer.projectId'),
                 'templateId' => $this->design === null ? 20390 : null,
@@ -113,7 +112,7 @@ class EmailTemplate extends Resource
                     'design' => $request->get('design'),
                     'html'  => $request->get('design_html')
                 ]);
-            })->hideFromDetail(),
+            })->html($this->html),
         ];
     }
 
index 90d065f0d7a68819d9387bbc6225bcf681fab2b4..c45eb6ed6d54bd6f7dc0adc8dedadd3b1a25fb4a 100644 (file)
@@ -131,10 +131,15 @@ class PdfFile extends TwillModel implements Sortable
     public function process(): void
     {
 
+        \Log::debug('json');
         $this->makeJson();
+        \Log::debug('cover');
         $this->makeCover();
+        \Log::debug('links');
         $this->shortenLinks();
+        \Log::debug('searchable');
         $this->makeSearchable();
+        \Log::debug('cloud');
         $this->saveToCloud();
 
     }