@extends('adminlte::layouts.app') @section('htmlheader_title') Supplier @endsection @section('page_title') Supplier @endsection @section('contentheader_title') Supplier @endsection @section('contentheader_description') @endsection @section('main-content')

Supplier Configuration

@csrf
@include('adminlte::widget.form_select',[ 'label'=>'Supplier', 'icon'=>'fas fa-handshake', 'id'=>'supplier_id', 'old'=>'supplier_id', 'name'=>'supplier_id', 'groupby'=>'active', 'options'=>\App\Models\Supplier::orderBy('active','DESC')->orderBy('name')->get()->transform(function($item) { return ['id'=>$item->id,'value'=>$item->name,'active'=>$item->active]; }), 'value'=>'', ])
@endsection @section('page-scripts') @css(select2) @js(select2,autofocus) @append