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

Esportazioni

{!! Form::open(['url' => Request::url(), 'method' => 'post', 'class' => 'form-horizontal']) !!}
{!! Form::checkbox('carts_status', "1", get_setting('settings', 'status', 'exports', 'carts'), ['class' => 'form-check-input', 'id' => 'carts_status', 'disabled' => (plus_active()) ? false : true ]) !!} {!! Form::label('carts_status', 'Abilita esportazione file', ['class' => 'form-check-label'] ) !!}
Tipo di template
{!! Form::checkbox('carts_template[]', 'template-1', in_array('template-1', (array)get_setting('settings', 'template', 'exports', 'carts')), ['class' => 'form-check-input','id' => 'template-1', 'value' => 'template-1', 'disabled' => (plus_active()) ? false : true]) !!} {!! Form::label('template-1', 'Template-1') !!}
{{--
{!! Form::checkbox('carts_template[]', 'template-2', in_array('template-2', (array)get_setting('settings', 'template', 'exports', 'carts')), ['class' => 'form-check-input','id' => 'template-2', 'value' => 'template-2']) !!} {!! Form::label('template-2', 'Template-2') !!}
--}}
Tipo di estensione file
{!! Form::checkbox('carts_extension[]', 'csv', in_array('csv', (array)get_setting('settings', 'extension', 'exports', 'carts')), ['class' => 'form-check-input','id' => 'csv', 'disabled' => (plus_active()) ? false : true]) !!} {!! Form::label('csv', '.csv') !!}
{!! Form::checkbox('carts_extension[]', 'xml', in_array('xml', (array)get_setting('settings', 'extension', 'exports', 'carts')), ['class' => 'form-check-input','id' => 'xml', 'disabled' => (plus_active()) ? false : true]) !!} {!! Form::label('xml', '.xml') !!}
{!! Form::checkbox('carts_extension[]', 'json', in_array('json', (array)get_setting('settings', 'extension', 'exports', 'carts')), ['class' => 'form-check-input','id' => 'json', 'disabled' => (plus_active()) ? false : true]) !!} {!! Form::label('json', '.json') !!}
{!! Form::checkbox('carts_extension[]', 'xlsx', in_array('xlsx', (array)get_setting('settings', 'extension', 'exports', 'carts')), ['class' => 'form-check-input','id' => 'xlsx', 'disabled' => (plus_active()) ? false : true]) !!} {!! Form::label('xlsx', '.xlsx') !!}
{!! Form::checkbox('orders_status', "1", get_setting('settings', 'status', 'exports', 'orders'), ['class' => 'form-check-input', 'id' => 'orders_status', 'disabled' => (plus_active()) ? false : true ]) !!} {!! Form::label('orders_status', 'Abilita esportazione file', ['class' => 'form-check-label'] ) !!}
Tipo di template
{!! Form::checkbox('orders_template[]', 'template-1', in_array('template-1', (array)get_setting('settings', 'template', 'exports', 'orders')), ['class' => 'form-check-input','id' => 'template-1', 'value' => 'template-1', 'disabled' => (plus_active()) ? false : true]) !!} {!! Form::label('template-1', 'Template-1') !!}
{{--
{!! Form::checkbox('orders_template[]', 'template-2', in_array('template-2', (array)get_setting('settings', 'template', 'exports', 'orders')), ['class' => 'form-check-input','id' => 'template-2', 'value' => 'template-2']) !!} {!! Form::label('template-2', 'Template-2') !!}
--}}
Tipo di estensione file
{!! Form::checkbox('orders_extension[]', 'csv', in_array('csv', (array)get_setting('settings', 'extension', 'exports', 'orders')), ['class' => 'form-check-input','id' => 'csv', 'disabled' => (plus_active()) ? false : true]) !!} {!! Form::label('csv', '.csv') !!}
{!! Form::checkbox('orders_extension[]', 'xml', in_array('xml', (array)get_setting('settings', 'extension', 'exports', 'orders')), ['class' => 'form-check-input','id' => 'xml', 'disabled' => (plus_active()) ? false : true]) !!} {!! Form::label('xml', '.xml') !!}
{!! Form::checkbox('orders_extension[]', 'json', in_array('json', (array)get_setting('settings', 'extension', 'exports', 'orders')), ['class' => 'form-check-input','id' => 'json', 'disabled' => (plus_active()) ? false : true]) !!} {!! Form::label('json', '.json') !!}
{!! Form::checkbox('orders_extension[]', 'xlsx', in_array('xlsx', (array)get_setting('settings', 'extension', 'exports', 'orders')), ['class' => 'form-check-input','id' => 'xlsx', 'disabled' => (plus_active()) ? false : true]) !!} {!! Form::label('xlsx', '.xlsx') !!}
{!! Form::hidden('id', $tab, ['class' => 'form-section-id'] ) !!} {!! Form::submit('Salva', ['class' => 'btn btn-primary btn-fw', 'disabled' => (plus_active()) ? false : true] ) !!}
{!! Form::close() !!}
@endsection