@extends('layout.app') @section('title','Edit Product') @push('header_script') @endpush @section('content')
{!! Form::open(['route' => ['product.update',$productData->id],'onsubmit'=>'BtnSubmit.disabled = true', 'class'=>'row g-3 needs-validation', 'method' => 'put', 'autocomplete'=>'off']) !!}
{!! Form::select('product_category_id', [''=>'--Select--',]+$category, $productData->product_category_id, ['class'=>'form-control select2','id'=>'product_category_id','required']) !!}
{{$errors->first('product_category_id')}}
{{$errors->first('product_name')}}
{!! Form::select('units', [''=>'--Select--','liter'=>'Liter','kg'=>'KG','piece'=>'Piece','other'=>'Other'], $productData->units, ['class'=>'form-control','id'=>'units','required']) !!}
{{$errors->first('units')}}
{!! Form::select('gst_applicable', [''=>'--Select--','yes'=>'Applicable','no'=>'Not-Applicable'], $productData->gst_applicable, ['class'=>'form-control','id'=>'gst_applicable','required']) !!}
{{$errors->first('gst_applicable')}}
{{$errors->first('opening_stock')}}
{{$errors->first('stock_alert')}}
{{$errors->first('rate_per')}}
{{$errors->first('value')}}
application_reverse_charge == 'yes')? 'checked': ''}}>
{{$errors->first('application_reverse_charge')}}
{{$errors->first('remark')}}
{!! Form::close() !!}
@endsection @push('footer_script') @endpush