0): ?>
merge(['class' => 'row p-20'])); ?>> addLoop($__currentLoopData); foreach($__currentLoopData as $field): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
type == 'text'): ?> 'custom_fields_data['.e($field->name . '_' . $field->id).']','fieldLabel' => $field->label,'fieldName' => 'custom_fields_data['.e($field->name . '_' . $field->id).']','fieldPlaceholder' => $field->label,'fieldRequired' => ($field->required == 'yes') ? 'true' : 'false','fieldValue' => $model->custom_fields_data['field_'.$field->id] ?? ''] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('forms.text'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes([]); ?> renderComponent(); ?> type == 'password'): ?> 'custom_fields_data['.e($field->name . '_' . $field->id).']','fieldLabel' => $field->label,'fieldName' => 'custom_fields_data['.e($field->name . '_' . $field->id).']','fieldPlaceholder' => $field->label,'fieldRequired' => ($field->required === 'yes') ? true : false,'fieldValue' => $model->custom_fields_data['field_'.$field->id] ?? ''] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('forms.password'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes([]); ?> renderComponent(); ?> type == 'number'): ?> 'custom_fields_data['.e($field->name . '_' . $field->id).']','fieldLabel' => $field->label,'fieldName' => 'custom_fields_data['.e($field->name . '_' . $field->id).']','fieldPlaceholder' => $field->label,'fieldRequired' => ($field->required === 'yes') ? true : false,'fieldValue' => $model->custom_fields_data['field_'.$field->id] ?? ''] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('forms.number'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes([]); ?> renderComponent(); ?> type == 'textarea'): ?> $field->label,'fieldName' => 'custom_fields_data['.e($field->name . '_' . $field->id).']','fieldId' => 'custom_fields_data['.e($field->name . '_' . $field->id).']','fieldRequired' => ($field->required === 'yes') ? true : false,'fieldPlaceholder' => $field->label,'fieldValue' => $model->custom_fields_data['field_'.$field->id] ?? ''] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('forms.textarea'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes([]); ?> renderComponent(); ?> type == 'radio'): ?>
'custom_fields_data['.e($field->name . '_' . $field->id).']','fieldLabel' => $field->label,'fieldRequired' => ($field->required === 'yes') ? true : false] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('forms.label'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes([]); ?> renderComponent(); ?>
values; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> 'optionsRadios'.e($key . $field->id).'','fieldLabel' => $value,'fieldName' => 'custom_fields_data['.e($field->name . '_' . $field->id).']','fieldValue' => $value,'checked' => ($model && $model->custom_fields_data['field_'.$field->id] == $value) ? true : false] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('forms.radio'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes([]); ?> renderComponent(); ?> popLoop(); $loop = $__env->getLastLoop(); ?>
type == 'select'): ?>
'custom_fields_data['.e($field->name . '_' . $field->id).']','fieldLabel' => $field->label,'fieldRequired' => ($field->required === 'yes') ? true : false] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('forms.label'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes([]); ?> renderComponent(); ?> name . '_' . $field->id . ']', $field->values, $model ? $model->custom_fields_data['field_' . $field->id] : '', ['class' => 'form-control select-picker']); ?>
type == 'date'): ?> 'true','fieldId' => 'custom_fields_data['.e($field->name . '_' . $field->id).']','fieldRequired' => ($field->required === 'yes') ? true : false,'fieldLabel' => $field->label,'fieldName' => 'custom_fields_data['.e($field->name . '_' . $field->id).']','fieldValue' => ($model && $model->custom_fields_data['field_'.$field->id] != '') ? \Carbon\Carbon::parse($model->custom_fields_data['field_'.$field->id])->format(company()->date_format) : now()->format(company()->date_format),'fieldPlaceholder' => $field->label] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('forms.datepicker'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes([]); ?> renderComponent(); ?> type == 'checkbox'): ?>
'custom_fields_data['.e($field->name . '_' . $field->id).']','fieldLabel' => $field->label,'fieldRequired' => ($field->required === 'yes') ? true : false] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('forms.label'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes([]); ?> renderComponent(); ?>
values; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> 'optionsRadios'.e($key . $field->id).'','fieldLabel' => $value,'fieldName' => $field->name.'_'.$field->id.'[]','fieldValue' => $value,'checked' => $model && $model->custom_fields_data['field_'.$field->id] != '' && in_array($value ,explode(', ', $model->custom_fields_data['field_'.$field->id]))] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('forms.checkbox'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes(['fieldRequired' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(($field->required === 'yes') ? true : false),'onchange' => 'checkboxChange(\'checkbox-'.e($field->id).'\', \''.e($field->name.'_'.$field->id).'\')']); ?> renderComponent(); ?> popLoop(); $loop = $__env->getLastLoop(); ?>
type == 'file'): ?> $field->label,'fieldRequired' => ($field->required === 'yes') ? true : false,'fieldName' => 'custom_fields_data[' . $field->name . '_' . $field->id . ']','fieldId' => 'custom_fields_data[' . $field->name . '_' . $field->id . ']','fieldValue' => $model ? ($model->custom_fields_data['field_' . $field->id] != '' ? asset_url_local_s3('custom_fields/' .$model->custom_fields_data['field_' . $field->id]) : '') : ''] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('forms.file'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes(['class' => 'custom-field-file']); ?> renderComponent(); ?>
popLoop(); $loop = $__env->getLastLoop(); ?>