@foreach ($mail_templates as $mail_template)
@include("backend.layouts.partials.company-create", [
"id" => $mail_template->id,
"name" => $mail_template->name,
"subject" => $mail_template->subject,
"message" => $mail_template->message,
"available_flags" => getFormatFlagsByType("new_user"),
"active" => $loop->first
])
@endforeach
{{-- @note For developer use only. Use it to create new template. --}}
{{-- @include("backend.layouts.partials.company-create", [
"name" => "",
"subject" => "",
"message" => "",
"is_new" => "new"
]) --}}