 <div class="form-group">
        <label class="form-label">Stock Out Department:</label>
        <select class="form-control departments" name="departments" required="required" id="departments">
            <option>Select Option</option>
            
            <?php foreach($fg_types as $types){ ?>
           <option value="<?php echo $types['product_type'] ?>"><?php echo get_product_type($types['product_type']); ?></option>
       <?php } ?>
        </select>
     </div>