@props(['demographyconfigId','moduleid']) @php use App\Models\Demography; $Field=DB::table('DemographyConfig')->where('DemographyConfigId',$demographyconfigId)->get()->first(); $DisplayName=$Field->LabelValue; $ColumnName=$Field->ColumnName; $RowId=uniqid(); @endphp
@php $demography=new Demography(); $ConfiguredSecondaryModulesList=$demography->ConfiguredSecondaryModulesList($moduleid); foreach ($ConfiguredSecondaryModulesList as $secondaryModule) { if($secondaryModule!=$moduleid) { $RelModuleName=$demography->getModuleName($secondaryModule); $RelModuleId=$secondaryModule; $RelModuleIcon=$demography->GetModuleIcon($secondaryModule); @endphp
{{$RelModuleName}}
@php } } @endphp