@extends('ATCore::atcore_layout') @section('atplus_main_content')

{{ $createNewName }}

@csrf @if ($parentObject) @endif
@foreach ($columns as $colInput) @if (!$colInput->exists('disableCreate')) @if ($colInput->getType() == "text") @include('ATCore::atplus_crud.forms.input_text',['label' => $colInput->getLabel(), 'input_name' => $colInput->getId(),'required' => $colInput->exists('required'),'input_mask' => $colInput->exists('input_mask'), 'enableRUTCheck' => $colInput->exists('enableRUTCheck')]) @elseif ($colInput->getType() == "select_table") @if ($overrideBack && $colInput->getId() == 'account_id') @include('ATCore::atplus_crud.forms.select_table',['type' => 'edit', 'readOnlyEdit' => true, 'label' => $colInput->getLabel(), 'input_name' => $colInput->getId(), 'select_model' => $colInput->exists('select_model'), 'select_option_first' => $colInput->exists('select_option_first'), 'select_option_value' => $colInput->exists('select_option_value'), 'select_option_value_2' => $colInput->exists('select_option_value_2'), 'select_option_filter_name' => $colInput->exists('select_option_filter_name'),'select_option_filter_value' => $colInput->exists('select_option_filter_value'), 'parent_select' => $colInput->exists('parent_select'), 'api_route' => $colInput->exists('api_route'), 'order_by' => $colInput->exists('order_by')]) @else @include('ATCore::atplus_crud.forms.select_table',['type' => 'edit', 'label' => $colInput->getLabel(), 'input_name' => $colInput->getId(),'required' => $colInput->exists('required'), 'select_model' => $colInput->exists('select_model'), 'select_option_first' => $colInput->exists('select_option_first'), 'select_option_value' => $colInput->exists('select_option_value'), 'select_option_value_2' => $colInput->exists('select_option_value_2'), 'select_option_filter_name' => $colInput->exists('select_option_filter_name'),'select_option_filter_value' => $colInput->exists('select_option_filter_value'), 'parent_select' => $colInput->exists('parent_select'), 'api_route' => $colInput->exists('api_route'), 'order_by' => $colInput->exists('order_by')]) @endif @elseif ($colInput->getType() == "date") @include('ATCore::atplus_crud.forms.input_date',['label' => $colInput->getLabel(), 'input_name' => $colInput->getId(),'required' => $colInput->exists('required'), 'time_picker' => $colInput->exists('time_picker')]) @elseif ($colInput->getType() == "select_options") @include('ATCore::atplus_crud.forms.select_options',['label' => $colInput->getLabel(), 'input_name' => $colInput->getId(),'required' => $colInput->exists('required'), 'options' => $colInput->exists('options')]) @elseif ($colInput->getType() == "text_area") @include('ATCore::atplus_crud.forms.textarea',['label' => $colInput->getLabel(), 'input_name' => $colInput->getId(),'required' => $colInput->exists('required'), 'options' => $colInput->exists('options')]) @elseif ($colInput->getType() == "file") @include('ATCore::atplus_crud.forms.input_file',['label' => $colInput->getLabel(), 'input_name' => $colInput->getId(),'required' => $colInput->exists('required'), 'options' => $colInput->exists('options')]) @elseif ($colInput->getType() == "hidden") @endif @endif @endforeach
@stop @section('atplus_main_css') @yield('atplus_css') @stop @section('plugins.Datepicker',true) @section('plugins.ValidationJS',true) @section('atplus_main_js') @foreach ($columns as $colInput) @if ($colInput->exists('parent_select')) @yield('parent_select_script_'.$colInput->getId()) @endif @if ($colInput->getType() == "date") @yield('input_date_script_'.$colInput->getId()) @endif @endforeach @yield('atplus_js') @stop @section('plugins.Vue',true)