@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]) !!}
{{--
@php if(isset($categories) && $categories->image_name){ $image_url = asset('uploads/'.$categories->image_name); }else{ $image_url = 'https://placehold.co/200X150?text=Upload+Image'; } @endphp
--}}
status) checked @endisset />