@extends('layouts.adminmaster') @section('content')

{{lang('Edit Customer')}}

@csrf
@error('firstname') {{ lang($message) }} @enderror
@error('lastname') {{ lang($message) }} @enderror
@error('email') {{ lang($message) }} @enderror
voilated == 'on') checked="" @endif>
@if($customfield->isNotEmpty())

{{lang('Customfields')}}

@foreach($customfield as $customfields)
@if($customfields->fieldtypes == 'text' || $customfields->fieldtypes == 'email') @endif @if($customfields->fieldtypes == 'textarea') @endif @if($customfields->fieldtypes == 'checkbox') @php $coptions = explode(',', $customfields->fieldoptions); if($customfields->privacymode == '1'){ $valueoption = explode(',', decrypt($customfields->values)); }else{ $valueoption = explode(',', $customfields->values); } @endphp @foreach($coptions as $key => $coption) @endforeach @endif @if($customfields->fieldtypes == 'select') @endif @if($customfields->fieldtypes == 'radio') @php $roptions = explode(',', $customfields->fieldoptions); if($customfields->privacymode == '1'){ $radiovalues = explode(',', decrypt($customfields->values)); }else{ $radiovalues = explode(',', $customfields->values); } @endphp @foreach($roptions as $roption) @endforeach @endif
@endforeach @endif
@endsection @section('scripts') @vite(['resources/assets/js/select2.js']) @endsection