@extends('components.form', [ 'id' => $id, // INPUT ID BIND 'resource' => $resource, // FORM RESOURCE TARGET 'static' => @$static, // NOT DINAMIC JUST ALWAYS INS 'table' => @$table, // RELATED TABLE ID 'groups' => [ [ 'status' => [ 'type' => 'select', 'label' => __('form.label.status'), 'div-class' => 'col-md-4', 'input-class' => 'select2me', 'placeholder' => __('form.placeholder.surplus.status'), 'help' => __('form.help.surplus.status'), 'help-icon' => 'fa fa-user', 'data' => Utils::translateConfig('options.surplus.status','const.store.surplus.status') ], 'code' => [ 'required' => true, 'type' => 'input-text', 'label' => __('form.label.code'), 'label-class' => 'col-md-1', 'div-class' => 'col-md-2', 'value' => Utils::newCode($resource), 'placeholder' => __('form.placeholder.code'), 'help' => __('form.help.surplus.code'), 'help-icon' => 'fa fa-barcode', ] ], [ 'notes' => [ 'type' => 'textarea', 'label' =>__('NOTES'), 'div-class' => 'col-md-7', ] ] ] ]) @push('ready') @endpush