@extends('layouts.admin') @section('content') @if (session('error'))
@endif
Edit Item
{{ csrf_field() }}

(barcode should be 3 to 16 charactors long)

@if($errors->has('inputbarcode')) {{ $errors->first('inputbarcode') }} @endif

(barcode should be 3 to 16 charactors long)

@if($errors->has('piecebarcode')) {{ $errors->first('piecebarcode') }} @endif

(barcode should be 3 to 16 charactors long)

@if($errors->has('casebarcode')) {{ $errors->first('casebarcode') }} @endif

(barcode should be 3 to 16 charactors long)

@if($errors->has('unitbarcode')) {{ $errors->first('unitbarcode') }} @endif

(barcode should be 3 to 16 charactors long)

@if($errors->has('packbarcode')) {{ $errors->first('packbarcode') }} @endif
@if($errors->has('name')) {{ $errors->first('name') }} @endif

(Units Per Case should be 0 to 6 charactors long)

@if($errors->has('unitspercase')) {{ $errors->first('unitspercase') }} @endif

(Packs Per Unit should be 0 to 6 charactors long)

@if($errors->has('packperunit')) {{ $errors->first('packperunit') }} @endif

(Pieces Per Pack should be 0 to 6 charactors long)

@if($errors->has('piecesperpack')) {{ $errors->first('piecesperpack') }} @endif
@if($errors->has('description')) {{ $errors->first('description') }} @endif
@if($errors->has('sizeunit')) {{ $errors->first('sizeunit') }} @endif

(Size should be 0 to 3 charactors long)

@if($errors->has('size')) {{ $errors->first('size') }} @endif
@if($errors->has('alternatename')) {{ $errors->first('alternatename') }} @endif
@if($errors->has('type')) {{ $errors->first('type') }} @endif
@if($errors->has('category')) {{ $errors->first('category') }} @endif
@if($errors->has('flavor')) {{ $errors->first('flavor') }} @endif

(Cost should be 0 to 6 charactors long)

@if($errors->has('casecost')) {{ $errors->first('casecost') }} @endif

(Cost should be 0 to 6 charactors long)

@if($errors->has('unitcost')) {{ $errors->first('unitcost') }} @endif

(Cost should be 0 to 6 charactors long)

@if($errors->has('packcost')) {{ $errors->first('packcost') }} @endif

(Cost should be 0 to 6 charactors long)

@if($errors->has('piececost')) {{ $errors->first('piececost') }} @endif
@if($errors->has('brand')) {{ $errors->first('brand') }} @endif
@if($errors->has('suplier')) {{ $errors->first('suplier') }} @endif
@if($errors->has('manufacturer')) {{ $errors->first('manufacturer') }} @endif
@if($errors->has('spare')) {{ $errors->first('spare') }} @endif

(Cost should be 0 to 6 charactors long)

@if($errors->has('sellingprice1')) {{ $errors->first('sellingprice1') }} @endif

(Cost should be 0 to 6 charactors long)

@if($errors->has('sellingprice2')) {{ $errors->first('sellingprice2') }} @endif

(barcode should be 3 to 16 charactors long)

@if($errors->has('alternatebarcode1')) {{ $errors->first('alternatebarcode1') }} @endif

(barcode should be 3 to 16 charactors long)

@if($errors->has('alternatebarcode2')) {{ $errors->first('alternatebarcode2') }} @endif

(Quantity should be 0 to 999 charactors long)

@if($errors->has('casequantity')) {{ $errors->first('casequantity') }} @endif

(Quantity should be 0 to 999 charactors long)

@if($errors->has('unitquantity')) {{ $errors->first('unitquantity') }} @endif

(Quantity should be 0 to 999 charactors long)

@if($errors->has('piecequantity')) {{ $errors->first('piecequantity') }} @endif

(Quantity should be 0 to 999 charactors long)

@if($errors->has('packquantity')) {{ $errors->first('packquantity') }} @endif

(Quantity should be 0 to 999 charactors long)

@if($errors->has('partialquantity')) {{ $errors->first('partialquantity') }} @endif
@if(!empty($item_imageData) && isset($item_imageData)) @foreach($item_imageData as $key => $value) @endforeach @endif
@if ($errors->has('image')) {{ $errors->first('image') }} @endif
@endsection