{{__('messages.Full details of')}} - {{__('messages.template')}} - {{$template->templateId}}

@livewire('template-train-component',['template' => $template])
{{__('messages.template')}}
channel
{{$template->channel}}
is Rich Template
{{$template->isRichTemplate}}
template Type
{{$template->templateType}}
template Id
{{$template->templateId}}
template Language
{{$template->templateLanguage}}
template Desc
{{$template->templateDesc}}
templateVariableCount
{{$template->templateVariableCount}}
active
@if( $template->active == 1 ) @else @endif
model
{{$template->model? substr($template->model,11) : ''}}
m-0 editTemplateModel() updateTemplateModel() {{__('messages.template')}}
*
@foreach($models as $model) @endforeach
@if($model_name) @php function getInbetweenStrings($start, $end, $str){ $matches = array(); $regex = "/$start([a-zA-Z0-9_]*)$end/"; preg_match_all($regex, $str, $matches); return $matches[1]; } $str = $template->templateDesc; $str_arr = getInbetweenStrings('{{', '}}', $str); @endphp
Parameters
@foreach($str_arr as $parameter)
@php $table_name = $model_name::first()->getTable(); $cols = DB::getSchemaBuilder()->getColumnListing($table_name); @endphp args.{{ $parameter }} .defer @foreach($cols as $col) @endforeach
@endforeach
@endif
{{__('messages.Updated By')}}
{{$template->last_updated_by ? $template->last_updated_by_user->name : ' '}}
{{ __('messages.Created At') }}
{{\Carbon\Carbon::createFromTimeString($template->created_at)->translatedFormat('M j, Y, g:i a')}}
Parameters
@foreach($template->parameters as $parameter)
{{$parameter->key}}
{{$parameter->col_name ? : 'Entry Manual'}}
@endforeach