@props(['demographyconfigId','moduleid','mandatory']) @php use App\Models\Demography; $Field=DB::table('DemographyConfig')->where('DemographyConfigId',$demographyconfigId)->get()->first(); $DisplayName=$Field->LabelValue; $ColumnName=$Field->ColumnName; $DropDownNameId=$Field->DropDownNameId; $DependentField=$Field->DependentField; $IsDependentModule=$Field->IsDependentModule; $ParentModuleId=$Field->ParentModuleId; $DependentRelateToGroupId=$Field->DependentRelateToGroupId; $Helptext=$Field->Helptext; $parentDropDownListValues=[]; $LabelValue=""; if($mandatory==1) { $ReruiredField="required"; $DisplayredStar="*"; } else { $ReruiredField=""; $DisplayredStar=""; } $checkApi=explode("/",$_SERVER['REQUEST_URI']); $apiUrl=""; if(strtolower($checkApi[1])=="api") { $apiUrl="api/"; } if($DependentField==1) { $displayHide="displayHide"; } else { $displayHide=""; $RequiredField=""; } @endphp
Please fill the {{$DisplayName}}