@if ($data->type->type() == ConfigurationTypeEnum::TYPE_LIST)
@elseif($data->type->type() == ConfigurationTypeEnum::TYPE_ENUM)
@elseif($data->type->type() == ConfigurationTypeEnum::TYPE_TIME)
@elseif($data->type->type() == ConfigurationTypeEnum::TYPE_DATE)
@elseif($data->type->type() == ConfigurationTypeEnum::TYPE_DATE_TIME)
@elseif($data->type->type() == ConfigurationTypeEnum::TYPE_LONG_TEXT || $data->type->type() == ConfigurationTypeEnum::TYPE_TEXT || $data->type->type() == ConfigurationTypeEnum::TYPE_RICH_TEXT)
@foreach(['en' => 'English', 'ar' => 'العربية', 'hi' => 'हिन्दी', 'ur' => 'اردو'] as $locale => $name)
@if($data->type->type() == ConfigurationTypeEnum::TYPE_RICH_TEXT)
{!! $data->{'value_' . $locale} !!}
@elseif($data->type->type() == ConfigurationTypeEnum::TYPE_LONG_TEXT)
@else
@endif
@endforeach
@elseif($data->type->type() == ConfigurationTypeEnum::TYPE_TIMEZONE)
@elseif($data->type->type() == ConfigurationTypeEnum::TYPE_CURRENCY)
@elseif($data->type->type() == ConfigurationTypeEnum::TYPE_FILE)
@if ($data->value)
@endif
{{-- Boolean select component --}}
@elseif($data->type->type() == ConfigurationTypeEnum::TYPE_BOOLEAN)
@elseif($data->type->type() == ConfigurationTypeEnum::TYPE_COLOR)
@else
@php $groupText = "" @endphp
@if ($data->type->type() == ConfigurationTypeEnum::TYPE_PERCENTAGE)
@php $groupText = "%" @endphp
@endif
@endif
@include('layouts._save_form')