. */ use Modules\Emails\Template; use Modules\Newsletter\Newsletter; include_once __DIR__.'/../../core.php'; if (!empty($id_record)) { $newsletter = Newsletter::find($id_record); $record = $newsletter->toArray(); $template = Template::find($record['id_template']); }