@if($DisplayType == '9' || $DisplayType == '16' || $DisplayType == '26')
@else
@php
echo $requiredDisplay;
@endphp
@endif
@if($DisplayType == '2')
@php
if(empty($ListBoxNamesIDs) || $DropDownNameId=='')
{
@endphp
@php
}
else
{
//$ListBoxNamesIDVal=$ListBoxNamesIDs[$ColumnName];
$ListBoxNamesIDVal=$DropDownNameId;
if(array_key_exists($ListBoxNamesIDVal,$GetDropdownLists))
{
$listBoxVal=$GetDropdownLists[$ListBoxNamesIDVal];
@endphp
@php
}else
{
@endphp
@php
}
@endphp
@if($Required==1)
Please fill the {{$ColumnName}}
@endif
@php
}
@endphp
@elseif($DisplayType=='15')
@elseif($DisplayType == '3')
@php
if(empty($ListBoxNamesIDs) || $DropDownNameId=='')
{
@endphp
@php
}
else
{
//$ListBoxNamesIDVal=$ListBoxNamesIDs[$ColumnName];
$ListBoxNamesIDVal=$DropDownNameId;
if(array_key_exists($ListBoxNamesIDVal,$GetDropdownLists))
{
$listBoxVal=$GetDropdownLists[$ListBoxNamesIDVal];
@endphp
@php
}
else
{
@endphp
@php
}
@endphp
@if($Required==1)
Please fill the {{$ColumnName}}
@endif
@php
}
@endphp
@elseif($DisplayType == '26')
@php
if(empty($ListBoxNamesIDs) || $DropDownNameId=='')
{
@endphp
@php
}
else
{
//$ListBoxNamesIDVal=$ListBoxNamesIDs[$ColumnName];
$ListBoxNamesIDVal=$DropDownNameId;
$listBoxVal=$GetDropdownLists[$ListBoxNamesIDVal];
@endphp
@if($Required==1)
Please fill the {{$ColumnName}}
@endif
@php
}
@endphp
@elseif($DisplayType == '4')
@php
if($DefaultValue)
{
$DefaultValue=date('Y-m-d', strtotime($DefaultValue));
}
@endphp
@if($Required==1)
Please fill the {{$ColumnName}}
@endif
@elseif($DisplayType == '14')
@php
if($DefaultValue)
{
$DefaultValue=date('Y-m-d h:i a', strtotime($DefaultValue));
}
$todaydate=date("d-m-Y");
$DefaultValue=date('Y-m-d h:i a', strtotime($todaydate));
@endphp
@if($Required==1)
Please fill the {{$ColumnName}}
@endif
@elseif($DisplayType == '5')
@if(empty($ListBoxNamesIDs) || $DropDownNameId=='')
@else
@php
//$ListBoxNamesIDVal=$ListBoxNamesIDs[$ColumnName];
$ListBoxNamesIDVal=$DropDownNameId;
$listBoxVal=$GetDropdownLists[$ListBoxNamesIDVal];
@endphp
@endif
@elseif($DisplayType == '6')
@if(empty($ListBoxNamesIDs) || $DropDownNameId=='')
@else
@php
$ListBoxNamesIDVal=$DropDownNameId;
$listBoxVal=$GetDropdownLists[$ListBoxNamesIDVal];
@endphp
@if(!array_key_exists($ListBoxNamesIDVal,$childList))
@foreach($listBoxVal as $listBoxKey=>$listBoxValue)
@php
$radioChecked="";
if($DefaultValue==$listBoxKey)
{
$radioChecked="checked";
}
@endphp
@endforeach
@endif
@if($Required==1)
Please fill the {{$ColumnName}}
@endif
@endif
@elseif($DisplayType == '7')
@elseif($DisplayType == '8')
@php
$related=1;
if($related==1)
{
if(empty($RelateModules))
{
echo "
";
}
else
{
@endphp
@php
}
}
@endphp
@elseif($DisplayType == '9')
@elseif($DisplayType == '16')
@elseif($DisplayType == '10')
@elseif($DisplayType == '11')
@if($Required==1)
Please fill the {{$ColumnName}}
@endif
@elseif($DisplayType == '12')
@if($Required==1)
Please fill the {{$ColumnName}}
@endif
@elseif($DisplayType == '13')
@if($Required==1)
Please fill the {{$ColumnName}}
@endif
@elseif($DisplayType == '17')
@if($Required==1)
Please fill the {{$ColumnName}}
@endif
@elseif($DisplayType == '18')
@if($Required==1)
Please fill the {{$ColumnName}}
@endif
@elseif($DisplayType == '1')
@if($Required==1)
Please fill the {{$ColumnName}}
@endif
@elseif($DisplayType == '19')
@if($Required==1)
Please fill the {{$ColumnName}}
@endif
@elseif($DisplayType == '23')
@php
$Drl=1;
if($Drl==1)
{
if(empty($RelateModules))
{
echo "
";
}
else
{
$DependentRelateGroupId=$DependentRelateGroupsList[$ColumnName];
if(array_key_exists($ParentModuleId,$getDependentRelateToList) && array_key_exists($ParentModuleId,$RelatedModulesList))
{
@endphp
@php
}
else
{
@endphp
@php
}
}
}
@endphp
@elseif($DisplayType=='25')
@if(empty($selfRelatedList))
@else
@endif
@if($Required==1)
Please fill the {{$ColumnName}}
@endif
@elseif($DisplayType=='27')
@elseif($DisplayType == '28')
@php
if(empty($ListBoxNamesIDs) || $DropDownNameId=='')
{
@endphp
@php
}
else
{
//$ListBoxNamesIDVal=$ListBoxNamesIDs[$ColumnName];
$ListBoxNamesIDVal=$DropDownNameId;
if(array_key_exists($ListBoxNamesIDVal,$GetDropdownLists))
{
$listBoxVal=$GetDropdownLists[$ListBoxNamesIDVal];
@endphp
@php
}
else
{
@endphp
@php
}
@endphp
@if($Required==1)
Please fill the {{$ColumnName}}
@endif
@php
}
@endphp
@else
@if($Required==1)
Please fill the {{$ColumnName}}
@endif
@endif