<div class="modal fade" id="createInventoryModal" tabindex="-1" aria-labelledby="createInventoryLabel" tabindex="-1">
    <div class="modal-dialog">
        <div class="modal-content">
            <form action="<?php echo e(url('stock-in')); ?>" method="POST" class="needs-validation" novalidate>
                <?php echo csrf_field(); ?>
                <div class="modal-header bg-primary text-white">
                    <h5 class="modal-title">Stock In</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal"></button>
                </div>
                <div class="modal-body">
                    <!-- Product Dropdown -->
                    <div class="mb-3">
                        <label>Select Product</label>
                        <select name="product_id" id="productSelect" class="form-select" required>
                            <option value="">Select Product</option>
                             <?php $__currentLoopData = App\Models\Product::where('status', 1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e($product->id); ?>" data-price="<?php echo e($product->purchase_price); ?>">
                                    <?php echo e($product->name); ?>

                                </option>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </select>
                    </div>

                    <!-- Total Quantity -->
                    <div class="mb-3">
                        <label>Quantity</label>
                       <input type="number" name="quantity" id="quantity"
                            class="form-control "  placeholder="Enter Quantity" required>
                    </div>
                    <div class="mb-3">
                        <label>Total Price</label>
                        <input type="number" id="totalPrice" name="total_price" 
                            class="form-control text-muted bg-white"
                            placeholder="Enter Price">
                    </div>

                </div>
                <div class="modal-footer">
                    <button class="btn btn-primary">Save</button>
                </div>
            </form>
        </div>
    </div>
</div><?php /**PATH F:\www\waterPOS\resources\views/Inventory/stock-in.blade.php ENDPATH**/ ?>