@extends('layouts.main') @section('title') {{__("Seller Verifications")}} @endsection @section('page-title')

@yield('title')

@endsection @section('content')
< {{__("Back to Verification Fields")}} @if(in_array($verification_field->type,['radio','checkbox','dropdown'])) + {{__("Add Options")}} @endif
@csrf @method('PUT')
{{__("Verification Field")}}
{{--
@if(in_array($verification_field->type,['radio','checkbox','dropdown']))
{{__("This will be applied only for")}}: {{__("Checkboxes").",".__("Radio")}} and {{__("Dropdown")}} .
@endif @if(in_array($verification_field->type,['textbox','fileinput','number']))
{{__("This will be applied only for")}}: {{__("text").",".__("number")}} {{__("and")}} {{__("textarea")}} .
{{__("This will be applied only for")}}: {{__("text").",".__("number")}} {{__("and")}} {{__("textarea")}}
@endif --}}
@foreach($languages as $key => $lang) @php $translated = $verification_field->translations->firstWhere('language_id', $lang->id); $isEnglish = $lang->id == 1; @endphp
{{-- Field Name --}}
@if($isEnglish) {{-- Field Type --}}
{{-- Min/Max fields --}}
@else
{{ __('Field type, min/max length, required and status can only be set in English.') }}
@endif {{-- Field Values --}} @php $values = $isEnglish ? ($verification_field->values ?? []) : ($translated->value ?? []) ?? []; @endphp
@if(!$isEnglish) {{ __('Used for translatable fields like dropdown, radio, checkbox.') }} @endif
@endforeach
is_required ? 'checked' : '' }}>{{ __('Required') }}
deleted_at ? '' : 'checked' }}> {{ __('Active') }}
@if(in_array($verification_field->type,['radio','checkbox','dropdown']))
{{ __('ID') }} {{ __('Value') }} {{ __('Action') }}
@endif {{-- add modal --}} @if(in_array($verification_field->type,['radio','checkbox','dropdown'])) {{-- edit modal --}}
@endsection @section('script') @endsection