@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 'save' => [ 'label' => __('form.button.add'), ], 'groups' => [ [ 'product_code' => [ 'required' => true, 'type' => 'input-text', 'label-class' => 'col-md-2', 'label' => __('form.label.product'), 'div-class' => 'col-md-6', 'input-class' => 'select2x', 'input-attrs' => 'data-init="product_code:product_label"', 'placeholder' => __('form.placeholder.product.name'), 'help' => __('form.help.product.name'), ], 'quantity' => [ 'required' => true, 'type' => 'input-text', 'label' => __('form.label.quantity'), 'label-class' => 'col-md-1', 'div-class' => 'col-md-2', 'input-class' => 'centered padding0', 'placeholder' => __('form.placeholder.product.quantity'), 'help' => __('form.help.product.quantity') ], ], [ 'notes' => [ 'type' => 'textarea', 'label-class' => 'col-md-2', 'label' => __('form.label.notes'), 'placeholder' => __('form.placeholder.product.notes'), 'help' => __('form.help.product.notes') ] ], ] ]) @push('ready') @endpush