@extends('layouts.app') @section('title', __('barcode.print_labels')) @section('content')

@lang('barcode.print_labels') @show_tooltip(__('tooltip.print_label'))

{!! Form::open(['url' => '#', 'method' => 'post', 'id' => 'preview_setting_form', 'onsubmit' => 'return false']) !!} @component('components.widget', ['class' => 'box-primary', 'title' => __('product.add_product_for_labels')])
{!! Form::text('search_product', null, ['class' => 'form-control', 'id' => 'search_product_for_label', 'placeholder' => __('lang_v1.enter_product_name_to_print_labels'), 'autofocus']); !!}
@if(request()->session()->get('business.enable_lot_number') == 1) @endif @if(request()->session()->get('business.enable_product_expiry') == 1) @endif @include('labels.partials.show_table_rows', ['index' => 0])
@lang( 'barcode.products' ) @lang( 'barcode.no_of_labels' )@lang( 'lang_v1.lot_number' )@lang( 'product.exp_date' )@lang('lang_v1.packing_date') @lang('lang_v1.selling_price_group')
@endcomponent @component('components.widget', ['class' => 'box-primary', 'title' => __( 'barcode.info_in_labels' )])
@lang( 'lang_v1.size' )
@lang( 'lang_v1.size' )
@lang( 'lang_v1.size' )
{!! Form::label('print[price_type]', @trans( 'barcode.show_price' ) . ':') !!}
{!! Form::select('print[price_type]', ['inclusive' => __('product.inc_of_tax'), 'exclusive' => __('product.exc_of_tax')], 'inclusive', ['class' => 'form-control']); !!}
@lang( 'lang_v1.size' )
@lang( 'lang_v1.size' )
@if(request()->session()->get('business.enable_lot_number') == 1)
@lang( 'lang_v1.size' )
@endif
@if(request()->session()->get('business.enable_product_expiry') == 1)
@lang( 'lang_v1.size' )
@endif

{!! Form::label('price_type', @trans( 'barcode.barcode_setting' ) . ':') !!}
{!! Form::select('barcode_setting', $barcode_settings, !empty($default) ? $default->id : null, ['class' => 'form-control']); !!}
@endcomponent {!! Form::close() !!}

@lang( 'barcode.preview' )

@stop @section('javascript') @endsection