@php $layout = (isSeller() > 0) ? 'layouts.seller' : 'layouts.admin'; @endphp @extends($layout) @section('content')
{!! Form::open(array('route' => $route, 'method' => 'POST' ,'id' => 'ajaxSave')) !!}
{!! Form::label('title', __('pauser.title'), ['class' => 'control-label mb-2']) !!} {!! Form::text('title', $result->title, ['class' => 'form-control']) !!}
@if (isSeller()<=0)
@php $selectedStore = isset($result->store_id) ? explode(',', $result->store_id) : []; @endphp {!! Form::label('name', __('kiosk_device.store_name'), ['class' => 'control-label mb-2']) !!} {!! Form::select( 'store_id[]', $stores, $selectedStore, [ 'class' => 'form-control select2', 'multiple' => 'true', 'data-actions-box' => 'true', 'data-width' => '100%', 'required'=> true ], ) !!}
@endif
{!! Form::label('pin', __('pauser.pauser_duration'), ['class' => 'control-label mb-2']) !!} {!! Form::text('value', $result->value, ['class' => 'form-control is_numeric']) !!}
  • {{--
  • --}}
@if($result->id) @method('PUT') @endif {!! Form::close() !!}
@endsection @section('script') @endsection