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

@if($mode == 'edit') @endif
@include('components.barcodescanner')
@php if($mode == 'edit') { $value = $barcode->amount; } else { $value = ''; } @endphp @include('components.productamountpicker', array( 'value' => $value, 'isRequired' => false )) @if(GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING)
@else @endif
@include('components.userfieldsform', array( 'userfields' => $userfields, 'entity' => 'product_barcodes' ))
@stop