@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('admin/settings/general.barcode_title') }} @parent @stop @section('header_right') {{ trans('general.back') }} @stop {{-- Page content --}} @section('content') {{ Form::open(['method' => 'POST', 'files' => false, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }} {{csrf_field()}}

{{ trans('admin/settings/general.barcodes') }}

@if ($is_gd_installed)
{{ Form::label('barcode_type', trans('admin/settings/general.barcode_type')) }}
{!! Form::barcode_types('barcode_type', old('barcode_type', $setting->barcode_type), 'select2 col-md-4') !!} {!! $errors->first('barcode_type', '') !!}
{{ Form::label('alt_barcode', trans('admin/settings/general.alt_barcode_type')) }}
{!! Form::alt_barcode_types('alt_barcode', old('alt_barcode', $setting->alt_barcode), 'select2 col-md-4') !!} {!! $errors->first('barcode_type', '') !!}
@else {{ trans('admin/settings/general.php_gd_warning') }}
{{ trans('admin/settings/general.php_gd_info') }}
@endif
{{ Form::label('qr_text', trans('admin/settings/general.qr_text')) }}
@if ($setting->qr_code == 1) {{ Form::text('qr_text', old('qr_text', $setting->qr_text), array('class' => 'form-control','placeholder' => 'Property of Your Company', 'rel' => 'txtTooltip', 'title' =>'Extra text that you would like to display on your labels. ', 'data-toggle' =>'tooltip', 'data-placement'=>'top')) }} {!! $errors->first('qr_text', '') !!} @else {{ Form::text('qr_text', old('qr_text', $setting->qr_text), array('class' => 'form-control', 'disabled'=>'disabled','placeholder' => 'Property of Your Company')) }}

{{ trans('admin/settings/general.qr_help') }}

@endif
{{ Form::label('purge_barcodes', 'Purge Barcodes') }}

{{ trans('admin/settings/general.barcodes_help') }}

{{Form::close()}} @stop @push('js') @endpush