@foreach ($ListTemplates as $Listtemplate) @endforeach
Template Name Module Status Created Date Action
{{$Listtemplate->Name}} @php if(array_key_exists($Listtemplate->ModuleId,$ModulesArray)) { echo $ModulesArray[$Listtemplate->ModuleId]; } else { echo "General Template"; } @endphp @if($Listtemplate->Status==1) @php $disabled=""; $Status="Active"; @endphp @elseif($Listtemplate->Status==0) @php $Status="InActive"; $disabled="disabled"; @endphp @endif {{$Status}} @php $CreatedDate=date("d-m-Y h:i A",strtotime($Listtemplate->CreatedDate)); @endphp {{$CreatedDate}}