@props(['moduleId','columnDetails','workFlowRecordsFormConfigId','demographyConfigId','calculations','value','valueType'])
@php
use App\Models\WorkFlow;
$ModuleId=$moduleId;
$DisplayType=$columnDetails->DisplayType;
$WorkFlowRecordsFormConfigId=$workFlowRecordsFormConfigId;
$DemographyConfigId=$demographyConfigId;
$Calculations=$calculations;
$Value=$value;
$ValueType=$valueType;
$DropDownNameId=$columnDetails->DropDownNameId;
@endphp
@php
$dropDownTypes=[2,3,5,6,26];
@endphp
@if($ValueType==1)
@if(in_array($DisplayType,$dropDownTypes))
@php
$dropdownLists=WorkFlow::GetDropDownValues($DropDownNameId);
@endphp
@elseif($DisplayType==4)
@php
if($Value)
{
$Value=date('Y-m-d',strtotime($value));
}
else
{
$Value=date('Y-m-d');
}
@endphp
@elseif($DisplayType==14)
@php
if($Value)
{
$Value=date('Y-m-d H:i:s',strtotime($value));
}
else
{
$Value=date('Y-m-d h:i:s');
}
@endphp
@else
@endif
@elseif($ValueType==2)
@endif