diff --git a/resources/views/settings/labels.blade.php b/resources/views/settings/labels.blade.php index d1499b7d6c..46212b790d 100644 --- a/resources/views/settings/labels.blade.php +++ b/resources/views/settings/labels.blade.php @@ -227,51 +227,51 @@ - @if($setting->label2_enable == 0) - -
-
- {{ Form::label('qr_text', trans('admin/settings/general.qr_text'), ['class'=>'control-label']) }} + @if($setting->label2_enable == 0) + +
+
+ {{ Form::label('qr_text', trans('admin/settings/general.qr_text'), ['class'=>'control-label']) }} +
+
+ @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' + )) }} + @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 + {!! $errors->first('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' - )) }} - @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 - {!! $errors->first('qr_text', '') !!} -
-
- -
-
- {{ Form::label('purge_barcodes', 'Purge Barcodes', ['class'=>'control-label']) }} + +
+
+ {{ Form::label('purge_barcodes', 'Purge Barcodes', ['class'=>'control-label']) }} +
+
+ + {{ trans('admin/settings/general.barcode_delete_cache') }} + + + + + {!! $errors->first('purgebarcodes', '') !!} +

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

+
-
- - {{ trans('admin/settings/general.barcode_delete_cache') }} - - - - - {!! $errors->first('purgebarcodes', '') !!} -

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

-
-
- @endif + @endif @if ($setting->label2_enable)