@props(['demographyconfigId','moduleid','mandatory']) @php $Field=DB::table('DemographyConfig')->where('DemographyConfigId',$demographyconfigId)->get()->first(); $DisplayName=$Field->LabelValue; $ColumnName=$Field->ColumnName; $DropDownNameId=$Field->DropDownNameId; $DependentField=$Field->DependentField; $Helptext=$Field->Helptext; $LabelValue=""; $DropdownsList=DB::table('DropDownLists')->where('DropDownNameId',$DropDownNameId)->where('DropDownListStatus',1)->get(['DropDownListId','DropDownListName','ReferenceID']); if($mandatory==1) { $ReruiredField="required"; $DisplayredStar="*"; } else { $ReruiredField=""; $DisplayredStar=""; } if($DependentField==1) { $RequiredField=""; $displayHide="displayHide"; } else { $displayHide=""; } @endphp
@foreach($DropdownsList as $DropdownList)
Please fill the {{$DisplayName}}