@extends('layouts/default') {{-- Page title --}} @section('title') Update Barcode Settings @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()}}

Barcodes

@if ($is_gd_installed)
{{ Form::label('qr_code', trans('admin/settings/general.display_qr')) }}
{{ Form::checkbox('qr_code', '1', old('qr_code', $setting->qr_code),array('class' => 'minimal', 'aria-label'=>'qr_code')) }} {{ trans('general.yes') }}
{{ Form::label('barcode_type', trans('admin/settings/general.barcode_type')) }}
{!! Form::barcode_types('barcode_type', old('barcode_type', $setting->barcode_type), 'select2') !!} {!! $errors->first('barcode_type', '') !!}
{{ Form::label('alt_barcode_enabled', trans('admin/settings/general.display_alt_barcode')) }}
{{ Form::checkbox('alt_barcode_enabled', '1', old('alt_barcode_enabled', $setting->alt_barcode_enabled),array('class' => 'minimal', 'aria-label'=>'alt_barcode_enabled')) }} {{ trans('general.yes') }}
{{ Form::label('alt_barcode', trans('admin/settings/general.alt_barcode_type')) }}
{!! Form::alt_barcode_types('alt_barcode', old('alt_barcode', $setting->alt_barcode), 'select2') !!} {!! $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', Request::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', Request::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::close()}} @stop