<form class="row g-3 auto-width edit_product" action="{{ route('products-import.update', $data->id)}}" method="post" enctype='multipart/form-data'>
    @csrf
    <div class="col-md-6">
        <label for="name" class="form-label">Product Name <span class="text-danger"><b>*</b></span></label>
        <input type="text" name="product_name" class="form-control" value="{!! $data->product_name !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Product Description</label>
        <input type="text" name="product_description" class="form-control" value="{!! $data->product_description !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Product Short Name</label>
        <input type="text" name="product_short_name" class="form-control" value="{!! $data->product_short_name !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Product Short Code</label>
        <input type="text" name="product_short_code" class="form-control" value="{!! $data->product_short_code !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">HSN Number</label>
        <input type="text" name="product_hsn" class="form-control" value="{!! $data->product_hsn !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Purchase Price</label>
        <input type="text" name="purchase_price" class="form-control" value="{!! $data->purchase_price !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Sale Price <span class="text-danger"><b>*</b></span></label>
        <input type="text" name="sale_price" class="form-control" value="{!! $data->sale_price !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">MRP <span class="text-danger"><b>*</b></span></label>
        <input type="text" name="product_mrp" class="form-control" value="{!! $data->product_mrp !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Minimum Sale Price</label>
        <input type="text" name="minimum_sale_price" class="form-control" value="{!! $data->minimum_sale_price !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Barcode</label>
        <input type="text" name="barcode" class="form-control" value="{!! $data->barcode !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Opening Stock Pack</label>
        <input type="text" name="opening_stock_pack" class="form-control" value="{!! $data->opening_stock_pack !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Opening Stock Loose</label>
        <input type="text" name="opening_stock_loose" class="form-control" value="{!! $data->opening_stock_loose !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Opening Stock Value</label>
        <input type="text" name="opening_stock_value" class="form-control" value="{!! $data->opening_stock_value !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Batch</label>
        <input type="text" name="batch" class="form-control" value="{!! $data->batch !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Mfg. Date</label>
        <input type="date" name="mfg_date" class="form-control" value="{!! $data->mfg_date !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Exp. Date</label>
        <input type="date" name="exp_date" class="form-control" value="{!! $data->exp_date !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Min. Stock Quantity</label>
        <input type="number" name="min_stock_qty" class="form-control" value="{!! $data->min_stock_qty !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Brand/Company <span class="text-danger"><b>*</b></span></label>
        <input type="text" name="brand" class="form-control" value="{!! $data->brand !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Category <span class="text-danger"><b>*</b></span></label>
        <input type="text" name="category" class="form-control" value="{!! $data->category !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Composition <span class="text-danger"><b>*</b></span></label>
        <input type="text" name="composition" class="form-control" value="{!! $data->composition !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Primary Unit <span class="text-danger"><b>*</b></span></label>
        <input type="text" name="primary_unit" class="form-control" value="{!! $data->primary_unit !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Alt. Unit <span class="text-danger"><b>*</b></span></label>
        <input type="text" name="alternative_unit" class="form-control" value="{!! $data->alternative_unit !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Tax% <span class="text-danger"><b>*</b></span></label>
        <input type="text" name="tax" class="form-control" value="{!! $data->tax !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Conversion Factor</label>
        <input type="text" name="conversion_factor" class="form-control" value="{!! $data->conversion_factor !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Business Division <span class="text-danger"><b>*</b></span></label>
        <input type="text" name="business_division" class="form-control" value="{!! $data->business_division !!}" required>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Manage Stock</label>
        <input type="text" name="manage_stock" class="form-control" value="{!! $data->manage_stock !!}" required>
    </div>
</form>
