<?php } ?> <tr> <th>Bids by procurement type</th> <td> <ul class="unstyled"> <?php foreach (get_active_procurement_types() as $type) { if (in_array($type['title'], $procurement_types)) { ?> <li class="list-group-item"><?php echo $type['title']; ?> <span> <?php echo $occurence_procurement_types[$type['title']]; ?> </span> </li> <?php } } ?> </ul>
</div> </div> <div class="control-group <?php echo in_array('procurement_type', $requiredfields) ? 'error' : ''; ?> "> <label class="control-label">Type of procurement <?php echo text_danger_template('*'); ?> </label> <div class="controls"> <select id="procurement_type" name="procurement_type" class="input-large" data-placeholder="Choose a Category"> <?php echo get_select_options(get_active_procurement_types(), 'id', 'title', !empty($formdata['procurement_type']) ? $formdata['procurement_type'] : ''); ?> </select> </div> </div> <div class="control-group <?php echo in_array('estimated_amount', $requiredfields) ? 'error' : ''; ?> "> <label class="control-label">Estimated amount <?php echo text_danger_template('*'); ?> </label> <div class="controls">