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

Clienti

{!! Form::open(['url' => Request::url(), 'method' => 'post', 'class' => 'form-horizontal']) !!}

Visualizzazione


{!! Form::label('num_items', 'Numero clienti', ['class' => 'form-label'] ) !!}
{!! Form::input('number', 'num_items', get_setting('settings', 'num_items', 'customer'), ['class' => 'form-control']) !!}
{!! Form::label('sort_by', 'Campo ordinamento', ['class' => 'form-label'] ) !!}
{!! Form::select('sort_by', array('company_name' => 'Ragione sociale', 'sku' => 'Codice', 'custom' => 'Custom'), get_setting('settings', 'sort_by', 'customer'), ['class' => 'form-select' ], [ 'custom' => [ "disabled" => true ] ]) !!}
{!! Form::label('sort', 'Tipo ordinamento', ['class' => 'form-label'] ) !!}
{!! Form::select('sort', array('asc' => 'Crescente', 'desc' => 'Descrescente'), get_setting('settings', 'sort', 'customer'), ['class' => 'form-select' ]) !!}
{!! Form::label('sort_by_custom', 'Campo custom ordinamento', ['class' => 'form-label'] ) !!}
{!! Form::input('text', 'sort_by_custom', get_setting('settings', 'sort_by_custom', 'customer'), ['class' => 'form-control']) !!}
{!! Form::checkbox('field_signboard_required', "1", get_setting('settings', 'field_signboard_required', 'customer'), ['class' => 'form-check-input', 'id' => 'field_signboard_required' ]) !!} {!! Form::label('field_signboard_required', 'Insegna obbligatoria', ['class' => 'form-check-label'] ) !!}
{!! Form::checkbox('field_phone_required', "1", get_setting('settings', 'field_phone_required', 'customer'), ['class' => 'form-check-input', 'id' => 'field_phone_required' ]) !!} {!! Form::label('field_phone_required', 'Telefono obbligatorio', ['class' => 'form-check-label'] ) !!}
{!! Form::checkbox('field_sdi_pec_required', "1", get_setting('settings', 'field_sdi_pec_required', 'customer'), ['class' => 'form-check-input', 'id' => 'field_sdi_pec_required' ]) !!} {!! Form::label('field_sdi_pec_required', 'SDI/PEC obbligatoria', ['class' => 'form-check-label'] ) !!}
{!! Form::label('field_payment', 'Pagamento', ['class' => 'form-label'] ) !!}
{!! Form::select('field_payment', array('required' => 'Obbligatorio', 'nullable' => 'Non obbligatorio', 'none' => 'Non visualizzare'), get_setting('settings', 'field_payment', 'customer'), ['class' => 'form-select' ]) !!}
{!! Form::checkbox('field_acceptance', "1", get_setting('settings', 'field_acceptance', 'customer'), ['class' => 'form-check-input', 'id' => 'field_acceptance' ]) !!} {!! Form::label('field_acceptance', 'Visualizza accettazione Privacy in richiesta registrazione', ['class' => 'form-check-label'] ) !!}
{!! Form::label('limit_search', 'Valore minimo ricerca clienti in aggiunta carrello.', ['class' => 'form-label'] ) !!}
{!! Form::input('number', 'limit_search', get_setting('settings', 'limit_search', 'customer'), ['class' => 'form-control', 'min' => 3]) !!}
{!! Form::checkbox('info_warning', "1", get_setting('settings', 'info_warning', 'customer'), ['class' => 'form-check-input', 'id' => 'info_warning', 'disabled' => (plus_active()) ? false : true ]) !!} {!! Form::label('info_warning', 'Messaggi infromativi di warning', ['class' => 'form-check-label admin-plus-setting'] ) !!}
{!! Form::hidden('id', $tab, ['class' => 'form-section-id'] ) !!} {!! Form::submit('Salva', ['class' => 'btn btn-primary btn-fw'] ) !!}
{!! Form::close() !!}
@endsection