@extends('layouts.template') @if(Auth::user()->role == 'admin') @section('template')

Edit

@foreach($items as $items)
{{ method_field('PUT') }} {{ csrf_field() }}
@if($errors->has('item_name')) {{ $errors->first('item_name')}} @endif
@if($errors->has('cata_id')) {{ $errors->first('cata_id')}} @endif
@if($errors->has('brand_id')) {{ $errors->first('brand_id')}} @endif
@if($errors->has('description')) {{ $errors->first('description')}} @endif
@if($errors->has('item_image')) {{ $errors->first('item_image')}} @endif
@if($errors->has('opening_stock_qty')) {{ $errors->first('opening_stock_qty')}} @endif

@endforeach @endsection @endif