@if (!empty($sparedata->id)) Update @else Add @endif Sparepart
@csrf
@if ($errors->has('product_name'))
{{ $errors->first('product_name') }}
@endif
@if ($errors->has('sup_name'))
{{ $errors->first('sup_name') }}
@endif
@if ($errors->has('noqty'))
{{ $errors->first('qty') }}
@endif
@if ($errors->has('single_price'))
{{ $errors->first('single_price') }}
@endif
@if ($errors->has('selling_price'))
{{ $errors->first('selling_price') }}
@endif
@endsection @section('scripts') @endsection