@extends('su-admin.layout.master') @section('content') @php if(!isset($_GET['tab'])){ $tab = ''; }else{ $tab = $_GET['tab']; } @endphp
@if (session()->has('message')) @endif

Moduli

{!! Form::open(['url' => Request::url(), 'method' => 'post', 'class' => 'form-horizontal']) !!}
{!! Form::label('plan', 'Piano', ['class' => 'input-group-text', 'style' => 'width:80px'] ) !!} {!! Form::select('plan', array('entry' => 'Entry', 'professional' => 'Professional', 'enterprise' => 'Enterprise'), get_plan(), ['class' => 'form-select' ]) !!}
{!! Form::checkbox('gen_dashboard_access', "1", get_dashboard_access_status(), ['class' => 'form-check-input', 'id' => 'gen_dashboard_access', 'disabled' => (get_plan() == 'entry') ? true : false ]) !!} {!! Form::label('gen_dashboard_access', 'Attiva accesso alla Dashboard', ['class' => 'form-check-label'] ) !!}
{!! Form::checkbox('gen_network', "1", get_setting('app', 'network', 'modules', 'general'), ['class' => 'form-check-input', 'id' => 'gen_network', 'disabled' => (get_plan() == 'entry') ? true : false, 'style' => 'border-radius: 2em;' ]) !!} {!! Form::label('gen_network', 'Attiva pacchetto Network', ['class' => 'form-check-label'] ) !!} {!! Form::number('gen_network_limit', get_setting('app', 'network_limit', 'modules', 'general'), ['class' => 'form-control form-control-sm', 'min' => 1, 'style' => 'min-width: 80px; max-width: 80px; margin-left: 20px;', 'disabled' => (get_plan() == 'entry') ? true : false]) !!}
{!! Form::checkbox('gen_plus', "1", get_plus_status(), ['class' => 'form-check-input', 'id' => 'gen_plus', 'disabled' => (get_plan() == 'entry') ? true : false ]) !!} {!! Form::label('gen_plus', 'Attiva pacchetto Plus', ['class' => 'form-check-label'] ) !!}
{!! Form::checkbox('gen_pages_menu', "1", get_pages_menu_status(), ['class' => 'form-check-input', 'id' => 'gen_pages_menu' ]) !!} {!! Form::label('gen_pages_menu', 'Attiva pacchetto Pagine e Menu', ['class' => 'form-check-label'] ) !!}
{!! Form::checkbox('gen_app_offline', "1", get_setting('app', 'app_offline', 'modules', 'general'), ['class' => 'form-check-input', 'id' => 'gen_app_offline' ]) !!} {!! Form::label('gen_app_offline', 'Attiva modalità offline applicazione mobile', ['class' => 'form-check-label'] ) !!}
{!! Form::checkbox('age_status', "1", get_agents_status(), ['class' => 'form-check-input', 'id' => 'age_status' ]) !!} {!! Form::label('age_status', 'Attiva accesso agenti', ['class' => 'form-check-label'] ) !!}
{!! Form::checkbox('age_mod_catalog', "1", get_setting('app', 'mod_catalog', 'modules', 'agents'), ['class' => 'form-check-input', 'id' => 'age_mod_catalog' ]) !!} {!! Form::label('age_mod_catalog', 'Modalità catalogo', ['class' => 'form-check-label'] ) !!}
{!! Form::checkbox('cus_status', "1", get_customers_status(), ['class' => 'form-check-input', 'id' => 'cus_status' ]) !!} {!! Form::label('cus_status', 'Attiva accesso clienti', ['class' => 'form-check-label'] ) !!}
{!! Form::checkbox('cus_mod_catalog', "1", get_setting('app', 'mod_catalog', 'modules', 'customers'), ['class' => 'form-check-input', 'id' => 'cus_mod_catalog' ]) !!} {!! Form::label('cus_mod_catalog', 'Modalità catalogo', ['class' => 'form-check-label'] ) !!}
{!! Form::checkbox('cus_change', "1", get_setting('app', 'change', 'modules', 'customers'), ['class' => 'form-check-input', 'id' => 'cus_change', 'disabled' => (get_plan() == 'entry') ? true : false ]) !!} {!! Form::label('cus_change', 'Cambi e Resi', ['class' => 'form-check-label'] ) !!}
{!! Form::checkbox('cus_rules_limit', "1", get_setting('app', 'rules_limit', 'modules', 'customers'), ['class' => 'form-check-input', 'id' => 'cus_rules_limit', 'disabled' => (get_plan() == 'entry') ? true : false ]) !!} {!! Form::label('cus_rules_limit', 'Regole dei limiti su carrello', ['class' => 'form-check-label'] ) !!}
{!! Form::checkbox('cus_payments', "1", get_setting('app', 'payments', 'modules', 'customers'), ['class' => 'form-check-input', 'id' => 'cus_payments', 'disabled' => (get_plan() == 'entry') ? true : false ]) !!} {!! Form::label('cus_payments', 'Pagamenti diretti', ['class' => 'form-check-label'] ) !!}
{!! Form::hidden('id', $tab, ['class' => 'form-section-id'] ) !!} {!! Form::submit('Salva', ['class' => 'btn btn-primary btn-fw'] ) !!}
{!! Form::close() !!}
@endsection