@extends('layout.default') @if($mode == 'edit') @section('title', $__t('Edit Barcode')) @else @section('title', $__t('Create Barcode')) @endif @section('viewJsName', 'productbarcodesform') @section('content')

@yield('title')


{{ $__t('Barcode for product') }} {{ $product->name }}

@if($mode == 'edit') @endif
@include('components.barcodescanner')
@php if($mode == 'edit') { $value = $barcode->qu_factor_purchase_to_stock; } else { $value = 1; } @endphp @include('components.numberpicker', array( 'id' => 'qu_factor_purchase_to_stock', 'label' => 'Factor purchase to stock quantity unit', 'min' => 1, 'value' => $value, 'isRequired' => true, 'invalidFeedback' => $__t('The amount cannot be lower than %s', '1'), 'additionalCssClasses' => 'input-group-qu', )) @if(GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING)
@else @endif
@stop