@extends('layouts.app') @section('link') @endsection @section('content')

{{__('texte.products_arr.create.create_from_existing')}}

{{ csrf_field() }} @permission('product-form-name-read')
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@endpermission @permission('product-form-name_plus-read')
@if ($errors->has('name_plus')) {{ $errors->first('name_plus') }} @endif
@endpermission @permission('product-form-category-read')
@if ($errors->has('category')) {{ $errors->first('category') }} @endif
@endpermission @permission('product-form-producer-read')
@if ($errors->has('producer')) {{ $errors->first('producer') }} @endif
@endpermission @permission('product-form-mark-read')
@if ($errors->has('mark')) {{ $errors->first('mark') }} @endif
@endpermission @permission('product-form-producer_code-read')
@if ($errors->has('producer_code')) {{ $errors->first('producer_code') }} @endif
@endpermission @permission('product-form-producer_second_code-read')
@if ($errors->has('producer_second_code')) {{ $errors->first('producer_second_code') }} @endif
@endpermission @permission('product-form-unit-read')
@if ($errors->has('unit')) {{ $errors->first('unit') }} @endif
@endpermission @permission('product-form-size-read')
@if ($errors->has('size')) {{ $errors->first('size') }} @endif
@endpermission @permission('product-form-is_wrappage-read')
@if ($errors->has('is_wrappage')) {{ $errors->first('is_wrappage') }} @endif
@endpermission @permission('product-form-wrappage_piece-read')
@if ($errors->has('wrappage_piece')) {{ $errors->first('wrappage_piece') }} @endif
@endpermission @permission('product-form-wrappage_package-read')
@if ($errors->has('wrappage_package')) {{ $errors->first('wrappage_package') }} @endif
@endpermission @permission('product-form-wrappage_pallet-read')
@if ($errors->has('wrappage_pallet')) {{ $errors->first('wrappage_pallet') }} @endif
@endpermission @permission('product-form-material-read')
@if ($errors->has('material')) {{ $errors->first('material') }} @endif
@endpermission @permission('product-form-measure-read')
@if ($errors->has('measure')) {{ $errors->first('measure') }} @endif
@endpermission
{{__('texte.products_arr.create.count')}} {{__('texte.products_arr.create.weight')}} {{__('texte.products_arr.create.barcode')}} {{__('texte.products_arr.create.second_barcode')}}
{{__('texte.products_arr.create.single_piece')}} 1 @permission('product-form-piece_weight-read')
@if ($errors->has('piece_weight')) {{ $errors->first('piece_weight') }} @endif
@endpermission
@permission('product-form-piece_barcode-read')
@if ($errors->has('piece_barcode')) {{ $errors->first('piece_barcode') }} @endif
@endpermission
@permission('product-form-piece_barcode-read')
@if ($errors->has('piece_second_barcode')) {{ $errors->first('piece_second_barcode') }} @endif
@endpermission
@permission('product-form-package-read')
@if ($errors->has('package')) {{ $errors->first('package') }} @endif
@endpermission
@permission('product-form-package_count-read')
@if ($errors->has('package_count')) {{ $errors->first('package_count') }} @endif
@endpermission
@permission('product-form-package_weight-read')
@if ($errors->has('package_weight')) {{ $errors->first('package_weight') }} @endif
@endpermission
@permission('product-form-package_barcode-read')
@if ($errors->has('package_barcode')) {{ $errors->first('package_barcode') }} @endif
@endpermission
@permission('product-form-package_barcode-read')
@if ($errors->has('package_second_barcode')) {{ $errors->first('package_second_barcode') }} @endif
@endpermission
{{__('texte.products_arr.create.pallet')}} @permission('product-form-pallet_count-read')
@if ($errors->has('pallet_count')) {{ $errors->first('pallet_count') }} @endif
@endpermission
@permission('product-form-pallet_weight-read')
@if ($errors->has('pallet_weight')) {{ $errors->first('pallet_weight') }} @endif
@endpermission
{{__('texte.products_arr.create.with_vat')}} {{__('texte.products_arr.create.without_vat')}}
@permission('product-form-price_supply-read')
@if ($errors->has('price_supply')) {{ $errors->first('price_supply') }} @endif
@endpermission @permission('product-form-price_base-read')
@if ($errors->has('price_base')) {{ $errors->first('price_base') }} @endif
@endpermission @permission('product-form-price_piece-read')
@if ($errors->has('price_piece')) {{ $errors->first('price_piece') }} @endif
@endpermission @permission('product-form-price_recommend-read')
@if ($errors->has('price_recommend')) {{ $errors->first('price_recommend') }} @endif
@endpermission @permission('product-form-min-read')
@if ($errors->has('min')) {{ $errors->first('min') }} @endif
@endpermission @permission('product-form-max-read')
@if ($errors->has('max')) {{ $errors->first('max') }} @endif
@endpermission @permission('product-form-min_sale-read')
@if ($errors->has('min_sale')) {{ $errors->first('min_sale') }} @endif
@endpermission @permission('product-form-max_sale-read')
@if ($errors->has('max_sale')) {{ $errors->first('max_sale') }} @endif
@endpermission @permission('product-form-show_measure-read')
@foreach ($storages as $storage)
@endforeach
@endpermission @permission('product-form-meta_title-read')
@if ($errors->has('meta_title')) {{ $errors->first('meta_title') }} @endif
@endpermission @permission('product-form-meta_keywords-read')
@if ($errors->has('meta_keywords')) {{ $errors->first('meta_keywords') }} @endif
@endpermission @permission('product-form-meta_description-read')
@if ($errors->has('meta_description')) {{ $errors->first('meta_description') }} @endif
@endpermission @permission('product-form-description-read')
@if ($errors->has('description')) {{ $errors->first('description') }} @endif
@endpermission @permission('product-form-imgs-read')
here goes the image
@if ($errors->has('images.*')) {{ $errors->first('images.*') }} @endif
@endpermission
@endsection