<tbody target="sites">
                                <?php 
if (sizeof($sites)) {
    foreach ($sites as $site) {
        ?>
                                <tr item_id="<?php 
        echo $site['site_id'];
        ?>
" class="site-row">
                                            <td ><input class="item_checkbox" type="checkbox" ></td>
                                            <td><span><?php 
        echo $site['site_id'];
        ?>
</span></td>
                                            <td><span><?php 
        echo get_site_map($site['site']);
        ?>
</span></td>
                                            <td><?php 
        echo $site['main_pharmacy_contact'];
        ?>
</td>
                                            <td><?php 
        echo $site['contact_number'];
        ?>
</td>
                                            <td><?php 
        echo $this->config->item($site['country'], 'countries');
        ?>
</td>
                                        </tr>
Example #2
0
                                                    <th class="top-title" title="">Patient ID</th>
                                                </tr>
                                            </thead>
                                            <tbody target="patient">
                                                <?php 
foreach ($patients as $patient) {
    ?>
                                                    <tr class="report-row" row_id="<?php 
    echo $patient['person_id'];
    ?>
" site_id="<?php 
    echo $patient['site_id'];
    ?>
">
                                                        <td><?php 
    echo get_site_map($patient['site_id']);
    ?>
</td>
                                                        <td><?php 
    echo $patient['person_id'];
    ?>
</td>
                                                    </tr>
                                                <?php 
}
?>
                                            </tbody>
                                        </table>

                                    </div>
                                </div>
                                        <input type="hidden" name="id" value="<?php 
    echo $wastageData['id'];
    ?>
" >
                                    <?php 
}
?>

                                    <label>Site</label>
                                    <?php 
if (ADMIN) {
    echo $siteDropDown = get_site_dropdown($wastageData['site']);
} else {
    ?>
                                        <input name="" id="site" type="text" value="<?php 
    echo get_site_map($wastageData['site']);
    ?>
" placeholder="Site" <?php 
    echo $readOnly;
    ?>
>
                                    <?php 
}
?>
                                    <label>Batch Number</label>
                                    <?php 
if (ADMIN) {
    echo $batchList = get_batch_dropdown($wastageData['batch_number']);
} else {
    ?>
                                    <input name="" id="batch_number" type="text" width="100px;" <?php 
Example #4
0
    <th class="top-title">Date of implant administration</th>

</tr>
</thead>
<tbody target="drug_batch">
    <?php 
if ($impAdministrtion) {
    foreach ($impAdministrtion as $impAdmin) {
        ?>
            <tr>
                <td><?php 
        echo $impAdmin['study_subject_id'];
        ?>
</td>
                <td><?php 
        echo get_site_map((int) $impAdmin['site_id']);
        ?>
</td>
                <td><?php 
        echo $impAdmin['date'];
        ?>
</td>
            </tr>
            <?php 
    }
} else {
    ?>
        <tr><td  colspan="20">NO DATA</td></tr>
    <?php 
}
?>
                                <th class="top-title">Batch Number</th>
                                <th class="top-title">Date Reported</th>
                            </tr>
                            </thead>
                            <tbody target="wastage">
                                <?php 
if (sizeof($wastage)) {
    foreach ($wastage as $row) {
        ?>
                                        <tr item_id="<?php 
        echo $row['id'];
        ?>
" class="wastage-row">
                                            <td ><input class="item_checkbox" type="checkbox" ></td>
                                            <td><span><?php 
        echo get_site_map($row['site']);
        ?>
</span></td>
                                            <td><?php 
        echo get_batch_map($row['batch_number']);
        ?>
</td>
                                            <td><?php 
        echo $row['date_reported'];
        ?>
</td>
                                        </tr>
                                        <?php 
    }
}
?>
Example #6
0
        </tbody>
        </table>
        <?php 
    }
}
?>
<!--site report-->
<?php 
if ($sitesImplants) {
    foreach ($sitesImplants as $index => $siteImp) {
        ?>
        <table class="table table-striped table-hover users-table ">
            <thead>
                <tr>
                    <th colspan="15"><h2><?php 
        echo get_site_map($index);
        ?>
 Administration</h2></th>
        </tr>
        <tr class="titles" >
            <th class="top-title" title="">Study subject ID</th>
            <th class="top-title" title="">Batch number</th>
            <th class="top-title" title="">Date of implant administration</th>

        </tr>
        </thead>
        <tbody target="">
            <?php 
        foreach ($siteImp as $si) {
            ?>
                <tr>
if (sizeof($deliveries)) {
    foreach ($deliveries as $delivery) {
        ?>
                                        <tr item_id="<?php 
        echo $delivery['id'];
        ?>
" class="delivery-row">
                                            <td ><?php 
        if (ADMIN) {
            ?>
<input class="item_checkbox" type="checkbox" ><?php 
        }
        ?>
</td>
                                            <td><span><?php 
        echo get_site_map($delivery['site']);
        ?>
</span></td>
                                            <td><?php 
        echo $delivery['delivery_date'];
        ?>
</td>
                                            <td><?php 
        echo get_batch_map($delivery['bt_num']);
        ?>
</td>
                                            <td><?php 
        echo $delivery['number_implants'];
        ?>
</td>
                                            <td><?php 
                                        <input type="hidden" name="id" value="<?php 
    echo $deliveryData['id'];
    ?>
" >
                                    <?php 
}
?>
                                    <label>Site</label>

                                    <?php 
if (ADMIN) {
    echo $siteDropDown = get_site_dropdown($deliveryData['site']);
} else {
    ?>
                                    <input name="site" id="site" type="text" value="<?php 
    echo get_site_map($deliveryData['site']);
    ?>
" placeholder="Site" <?php 
    echo $readOnly;
    ?>
>
                                    <?php 
}
?>


                                    <label>Batch</label>
                                    <?php 
if (ADMIN) {
    echo $batchList = get_batch_dropdown($deliveryData['batch_number']);
} else {