@extends('admin.layout') @section('title', 'Templates') @section('content')
Gérez vos templates d'emails et de PDF
Aucun template disponible.
Créer le premier template| Nom | Liste Excel | Sujet | Variables | Statut | Créé le | Actions |
|---|---|---|---|---|---|---|
|
|
@if($template->excelFile) {{ $template->excelFile->name }} {{ trans_choice('messages.rows', $template->excelFile->row_count, ['count' => number_format($template->excelFile->row_count, 0, ',', ' ')]) }} @else - @endif | {{ $template->subject ?: '-' }} |
@if($template->variables && count($template->variables) > 0)
{{ trans_choice('messages.variables', count($template->variables), ['count' => number_format(count($template->variables), 0, ',', ' ')]) }}
@if(count($template->variables) <= 5)
@foreach($template->variables as $var)
{{ $var }}
@endforeach
@else
@foreach(array_slice($template->variables, 0, 3) as $var)
{{ $var }}
@endforeach
+{{ count($template->variables) - 3 }}
@endif
@else
Aucune
@endif
|
@if($template->is_default) Par défaut @else - @endif | {{ optional($template->created_at)->locale(app()->getLocale())->diffForHumans() }} |