<?php $__env->startSection('content'); ?>

<main id="main" class="main">
        <div class="page-breadcrumb">
            <div class="row">
                <div class="col-12 d-flex no-block align-items-center justify-content-between px-4 mb-2">
                    <h4 class="page-title">Edit Agent Product</h4>
                    <div class="ml-auto text-right">
                        <a href="<?php echo e(url('/agent-product-list')); ?>" class="btn btn-outline-info">Back</a>
                    </div>
                </div>
            </div>
        </div>
        <div class="container-fluid">
		    <div class="row">
		        <div class="col-12">
		            <div class="card">
                        <?php $__currentLoopData = ['danger', 'warning', 'success', 'info']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $msg): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php if(Session::has('alert-' . $msg)): ?>
                                <div class="alert alert-<?php echo e($msg); ?> alert-dismissible fade show" role="alert">
                                    <?php echo e(Session::get('alert-' . $msg)); ?>

                                    <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
                                </div>
                            <?php endif; ?>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
		                <form action="<?php echo e(route('agentProductEdit', [$dataDetails->id])); ?>" method="POST" class="form-horizontal" id="formadd" enctype="multipart/form-data">
		                    <?php echo csrf_field(); ?>
		                    <div class="card-body">
		                        <h4 class="card-title">Edit Agent Product</h4>
		                        
		                        <input type="hidden" name="formid" value="<?php echo $dataDetails->id; ?>">

                                
                                <div class="form-group m-t-20">
                                    <label>Product Item</label>
                                    <input type="text" class="form-control" id="item" name="item" value="<?php echo e($dataDetails->item); ?>" placeholder="Enter Product Item Name" required>
                                </div>

		                        <div class="form-group m-t-20">
                                    <label>Product Slug<span>*</span></label>
                                    <div class="input-group">
                                        <input type="text" class="form-control" id="slug" name="slug" value="<?php echo e($dataDetails->slug); ?>" placeholder="Enter Product Slug">
                                    </div>
                                </div>
                                <div class="form-group m-t-20">
                                    <label>Price</label>
                                    <input type="number" class="form-control" id="price" name="price" value="<?php echo e($dataDetails->price); ?>" placeholder="Enter Product Price" required>
                                </div>
                                <div class="form-group m-t-20">
                                    <label>Gst</label>
                                    <input type="number" class="form-control" id="gst" name="gst" value="<?php echo e($dataDetails->gst); ?>" placeholder="Enter Product gst" required>
                                </div>
                                <div class="form-group m-t-20">
                                    <label>Price Without Gst</label>
                                    <input type="number" class="form-control" id="without_gst" name="without_gst" value="<?php echo e($dataDetails->price_without_gst); ?>" placeholder="Enter Product without gst" required>
                                </div>
                                
		                    </div>
		                    <div class="border-top">
		                        <div class="card-body">
		                            <input class="btn btn-primary" type="submit" value="UPDATE">
		                        </div>
		                    </div>
		                </form>
		            </div>
		        </div>
		    </div>
		</div>
</main> 

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.5/jquery.validate.min.js"></script>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.bundle.min.js"></script>
<script src="https://cdn.ckeditor.com/4.14.0/standard/ckeditor.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.18/css/bootstrap-select.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.18/js/bootstrap-select.min.js"></script>   

<script type="text/javascript">

</script>     

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/rightflorist/public_html/ofadmin.rightflorist.org/resources/views/agent_product_list_edit.blade.php ENDPATH**/ ?>