Пример #1
0
    <th class="top-title" title="">Delivery Notes</th>

</tr>
</thead>
<tbody target="">
    <?php 
if ($siteDeliveries) {
    foreach ($siteDeliveries as $sd) {
        ?>
            <tr>
                <td><?php 
        echo $sd['delivery_date'];
        ?>
</td>
                <td><?php 
        echo get_batch_map($sd['batch_number']);
        ?>
</td>
                <td><?php 
        echo $sd['number_implants'];
        ?>
</td>
                <td><?php 
        echo $sd['confirmed_by'];
        ?>
</td>
                <td><?php 
        echo $sd['delivery_notes'];
        ?>
</td>
            </tr>
Пример #2
0
    ?>
>
                                    <?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 
    echo $readOnly;
    ?>
 value="<?php 
    echo get_batch_map($wastageData['batch_number']);
    ?>
">
                                    <?php 
}
?>


                                    <label>Date Reported</label>
                                    <input  type="text" <?php 
if (ALLOW_EDIT) {
    ?>
 name="date_reported" class="datetime" <?php 
} else {
    ?>
 class="date_picker" <?php 
Пример #3
0
?>
" method="post" class="form" id="edit_batch_form" >
                                    <input type="hidden" name="id" value="<?php 
echo $batchData['drug_batch_id'];
?>
" >

                                    <div class="form-group" id="section-1">
                                        <label>Batch number</label>
                                        <?php 
if (ADMIN) {
    echo $batchList = get_batch_dropdown($batchData['batch_number']);
} else {
    ?>
                                        <input  id="batch_number" type="text" width="100px;" readonly="readonly" value="<?php 
    echo get_batch_map($batchData['batch_number']);
    ?>
">
                                        <?php 
}
?>
                                    </div>
                                    <div class="form-group" id="section-2">
                                        <label>Total implants</label>
                                        <input <?php 
if (ALLOW_EDIT) {
    ?>
 name="total_implants" <?php 
}
?>
 id="total_implants"  type="text" <?php 
Пример #4
0
                            <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 
    }
}
?>


                            </tbody></table>
                    </div>
Пример #5
0
                                                    <th class="top-title" title="">Total Batches</th>
                                                    <th class="top-title" title="">Total Implants</th>
                                                    <th class="top-title" title="Implants allocated to quality control">Total Imp All QC</th>
                                                    <th class="top-title" title="Implants allocated to clinical trials">Total Imp All CT</th>
                                                </tr>
                                            </thead>
                                            <tbody target="drug_batch">
                                                <?php 
foreach ($batches as $batch) {
    ?>
                                                    <tr class="report-row" row_id="<?php 
    echo $batch['drug_batch_id'];
    ?>
">
                                                        <td><?php 
    echo get_batch_map($batch['batch_number']);
    ?>
</td>
                                                        <td><?php 
    echo $batch['total_implants'];
    ?>
</td>
                                                        <td><?php 
    echo $batch['imp_alloc_qc'];
    ?>
</td>
                                                        <td><?php 
    echo $batch['imp_alloc_ct'];
    ?>
</td>
                                                    </tr>
Пример #6
0
            <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>
                    <td><?php 
            echo $si['study_subject_id'];
            ?>
</td>
                    <td><?php 
            echo get_batch_map($si['implant_batch']);
            ?>
</td>
                    <td><?php 
            echo date('d/m/Y', $si['implant_date']);
            ?>
</td>
                </tr>
            <?php 
        }
        ?>
            </tbody>
            </table>
        <?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 
        echo $delivery['confirmed_by'];
        ?>
</td>
                                        </tr>
                                        <?php 
    }
}
?>
Пример #8
0
    echo $readOnly;
    ?>
>
                                    <?php 
}
?>


                                    <label>Batch</label>
                                    <?php 
if (ADMIN) {
    echo $batchList = get_batch_dropdown($deliveryData['batch_number']);
} else {
    ?>
                                        <input  id="batch_number" type="text" width="100px;" readonly="readonly" value="<?php 
    echo get_batch_map($deliveryData['batch_number']);
    ?>
">
                                    <?php 
}
?>

                                    <label>Delivery Date</label>
                                    <input  type="text" <?php 
if (ADMIN) {
    ?>
 name="delivery_date" class="datetime" <?php 
} else {
    ?>
 class="date_picker" <?php 
}
        ?>
</span></td>
                <td><span><?php 
        echo $ia['implant_prob'] == 1 ? 'Yes' : 'No';
        ?>
</span></td>
                <td><span><?php 
        echo date('d-m-Y', $ia['implant_date']);
        ?>
</span></td>
                <td><span><?php 
        echo leading_zero($ia['implant_time']) . ':' . leading_zero($ia['implant_min']);
        ?>
</span></td>
                <td><?php 
        echo get_batch_map($ia['implant_batch']);
        ?>
</td>
            </tr>
            <?php 
    }
} else {
    ?>
        <tr>
            <td colspan="20">
                <em>No Data yet.</em>
            </td>
        </tr>
    <?php 
}
?>
Пример #10
0
    <th class="top-title">Pregnancy</th>
    <th class="top-title">Implant problems</th>
</tr>
</thead>
<tbody>
    <?php 
if (sizeof($result)) {
    foreach ($result as $patient) {
        ?>
            <tr >
                <td><span><?php 
        echo get_site_map($patient['site_id']);
        ?>
</span></td>
                <td><?php 
        echo get_batch_map($patient['implant_batch']);
        ?>
</td>
                <td><?php 
        echo $patient['date'];
        ?>
</td>
                <td><?php 
        echo leading_zero($patient['implant_time']) . ':' . leading_zero($patient['implant_min']);
        ?>
</td>
                <td>null</td>
                <td><?php 
        echo $patient['epp_symptoms'];
        ?>
</td>