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

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

{{ csrf_field() }}

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

@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('category')) {{ $errors->first('category') }} @endif
@if ($errors->has('producer')) {{ $errors->first('producer') }} @endif
@if ($errors->has('code')) {{ $errors->first('code') }} @endif
@if ($errors->has('unit')) {{ $errors->first('unit') }} @endif
@if ($errors->has('input_measure')) {{ $errors->first('input_measure') }} @endif

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

@if ($errors->has('is_wrappage')) {{ $errors->first('is_wrappage') }} @endif
@if ($errors->has('wrappage_piece')) {{ $errors->first('wrappage_piece') }} @endif
@if ($errors->has('wrappage_package')) {{ $errors->first('wrappage_package') }} @endif
@if ($errors->has('wrappage_pallet')) {{ $errors->first('wrappage_pallet') }} @endif

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

{{__('texte.products_arr.create.count')}} {{__('texte.products_arr.create.barcode')}} {{__('texte.products_arr.create.surface')}}
{{__('texte.products_arr.create.single_piece')}} 1
@if ($errors->has('piece_weight')) {{ $errors->first('piece_weight') }} @endif
@if ($errors->has('piece_barcode')) {{ $errors->first('piece_barcode') }} @endif
@if ($errors->has('piece_surface')) {{ $errors->first('piece_second_barcode') }} @endif
@if ($errors->has('package')) {{ $errors->first('package') }} @endif
@if ($errors->has('package_count')) {{ $errors->first('package_count') }} @endif
@if ($errors->has('package_weight')) {{ $errors->first('package_weight') }} @endif
@if ($errors->has('package_barcode')) {{ $errors->first('package_barcode') }} @endif
@if ($errors->has('package_surface')) {{ $errors->first('package_surface') }} @endif
{{__('texte.products_arr.create.pallet')}}
@if ($errors->has('pallet_count')) {{ $errors->first('pallet_count') }} @endif
@if ($errors->has('pallet_surface')) {{ $errors->first('pallet_surface') }} @endif
@if ($errors->has('pallet_surface')) {{ $errors->first('pallet_surface') }} @endif

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

{{__('texte.products_arr.create.with_vat')}} {{__('texte.products_arr.create.without_vat')}}
@if ($errors->has('price_supply')) {{ $errors->first('price_supply') }} @endif
@if ($errors->has('price_base')) {{ $errors->first('price_base') }} @endif
@if ($errors->has('price_recommend')) {{ $errors->first('price_recommend') }} @endif
@if ($errors->has('min')) {{ $errors->first('min') }} @endif
@if ($errors->has('max')) {{ $errors->first('max') }} @endif
@foreach ($storages as $storage)
@endforeach

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

@if ($errors->has('description')) {{ $errors->first('description') }} @endif
here goes the image
@if ($errors->has('images.*')) {{ $errors->first('images.*') }} @endif
@endsection