echo $row['title'];
    ?>
</td>
                    <td>
                        <?php 
    $total_entries[] = count(get_active_procurement_plan_entries_by($row['id']));
    ?>
                        <a href="<?php 
    echo base_url();
    ?>
procurement/procurement_plan_entries/v/<?php 
    echo encryptValue($row['id']);
    ?>
">
                            <?php 
    echo count(get_active_procurement_plan_entries_by($row['id']));
    ?>
                        </a>
                        </td>

                    <td><?php 
    echo get_pde_info_by_id($row['pde_id'], 'title');
    ?>
</td>
                    <td>
                        <?php 
    if (in_array($row['pde_id'], $compliant_pdes)) {
        ?>

                            Yes
                        <?php 
Beispiel #2
0
                    <?php 
if (get_active_procurement_plan_entries_by($plan_id)) {
    ?>
                        <table class="table table-striped table-hover">
                            <thead>
                            <tr>

                                <th>Subject</th>
                                <th class="hidden-480">Procurement type</th>
                                <th class="hidden-480">Funding source</th>
                                <th>Total</th>
                            </tr>
                            </thead>
                            <tbody>
                            <?php 
    foreach (get_active_procurement_plan_entries_by($plan_id) as $entry) {
        ?>
                                <tr>

                                    <td><?php 
        echo $entry['subject_of_procurement'];
        ?>
</td>
                                    <td class="hidden-480"><?php 
        echo get_procurement_type_info_by_id($entry['procurement_type'], 'title');
        ?>
</td>

                                    <td class="hidden-480"><?php 
        echo get_source_funding_info_by_id($entry['funding_source'], 'title');
        ?>