@extends('layouts.header') @section('content')
@php $BeforeSaveDet=$GetBeforeSaveRecordDetails[0]; $ConditionTypeArray['1']='NotEqual'; $UserConditionArray['1']='All user'; $UserConditionArray['2']='Role Based User'; $UserConditionArray['3']='Team Based User'; $UserConditionArray['4']='Role and Team Based User'; $ActionTypeArray['1']='Create'; $ActionTypeArray['2']='update'; $ActionTypeArray['3']='Create and Update'; $i=0; $BeforeSaveId=$BeforeSaveDet->BeforeSaveId; $DemographyId=$BeforeSaveDet->DemographyId; $ConditionType=$BeforeSaveDet->ConditionType; $Condition=$BeforeSaveDet->Condition; $UserCondiitonType=$BeforeSaveDet->UserCondiitonType; $RoleCondition=$BeforeSaveDet->RoleCondition; $TeamCondition=$BeforeSaveDet->TeamCondition; $ActionType=$BeforeSaveDet->ActionType; $ModuleId=$BeforeSaveDet->ModuleId; $ColumnName=$BeforeSaveDet->ColumnName; $LabelValue=$BeforeSaveDet->LabelValue; $DisplayroleDropDown="display:none"; $DisplayTeamDropDown="display:none"; $SavedRoleArray=array(); $SavedTeamArray=array(); if($UserCondiitonType==2) { $DisplayroleDropDown="display:block"; $DisplayTeamDropDown="display:none"; $SavedRoleArray=json_decode($RoleCondition); } if($UserCondiitonType==3) { $DisplayroleDropDown="display:none"; $DisplayTeamDropDown="display:block"; $SavedTeamArray=json_decode($TeamCondition); } if($UserCondiitonType==4) { $DisplayroleDropDown="display:block"; $DisplayTeamDropDown="display:block"; $SavedRoleArray=json_decode($RoleCondition); $SavedTeamArray=json_decode($TeamCondition); } $Condition=json_decode($Condition); @endphp


@endsection