@isset(auth()->user()->branch_id)
{!! Form::hidden('branch_id', auth()->user()->branch_id) !!}
@else
{!! Form::label('branch_id', 'Branch:') !!}
{!! Form::select('branch_id', Common::getBranches(),null ,['class' => 'select2 form-select ','id'=>'branch_id']) !!}
@endisset
{!! Form::label('menu_id', 'Menu:') !!}
{!! Form::select('menu_id', Common::getMenus(),null ,['class' => 'select2 form-select ','id'=>'menu_id']) !!}
{!! Form::label('name', 'Name:') !!}
{!! Form::text('name', null, ['class' => 'form-control', 'maxlength' => 255, 'maxlength' => 255, 'maxlength' => 255]) !!}
{!! Form::label('detail', 'Detail:') !!}
{!! Form::textarea('detail', null, ['class' => 'form-control', 'maxlength' => 65535,'rows'=>4]) !!}
{{-- --}}