@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' => [ [ 'name' => [ 'required' => true, 'type' => 'input-text', 'label' => __('form.label.name'), 'div-class' => 'col-md-5', 'placeholder' => __('form.placeholder.delivery.name'), 'help' => __('form.help.delivery.name'), ], '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.delivery.code'), 'help-icon' => 'fa fa-barcode', ] ], [ 'order_code' => [ 'required' => true, 'type' => 'input-text', 'label' => __('form.label.order'), 'div-class' => 'col-md-7', 'input-class' => 'select2x', 'input-attrs' => 'data-init="order_code:order_label"', 'placeholder' => __('form.placeholder.delivery.order'), 'help' => __('form.help.delivery.order'), ], ], [ 'courier_code' => [ 'required' => true, 'type' => 'input-text', 'label' => __('form.label.courier'), 'div-class' => 'col-md-7', 'input-class' => 'select2x', 'input-attrs' => 'data-init="courier_code:courier_label"', 'placeholder' => __('form.placeholder.delivery.courier'), 'help' => __('form.help.delivery.courier') ], ], [ 'notes' => [ 'type' => 'textarea', 'label' =>__('NOTES'), 'div-class' => 'col-md-8', ] ] ] ]) @push('ready') @endpush