当前位置: 首页>>代码示例>>PHP>>正文


PHP Appointment::get_parient_id_for_bill方法代码示例

本文整理汇总了PHP中Appointment::get_parient_id_for_bill方法的典型用法代码示例。如果您正苦于以下问题:PHP Appointment::get_parient_id_for_bill方法的具体用法?PHP Appointment::get_parient_id_for_bill怎么用?PHP Appointment::get_parient_id_for_bill使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Appointment的用法示例。


在下文中一共展示了Appointment::get_parient_id_for_bill方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: Appointment

<?php

//$value = array('RIPON','Amit','Touhid','Kafi');
//$s_value = array('RIPON','Touhid','Kafi');
//
//$t_value = in($value, $s_value);
////print_r($t_value);
//if($t_value == NULL){
//    echo 'not found';
//}else{
//    echo 'found';
//}
require_once './admin/classes/appointment.php';
$obj_appointment = new Appointment();
$doctor_id = 2;
//$patient_id_appointment = $obj_appointment->get_parient_id_for_appointment(2, '2015-09-07');
//$patient_id_bill = $obj_appointment->get_parient_id_for_bill($doctor_id, $get_date);
$patient_id_appointment = $obj_appointment->get_parient_id_for_appointment('R0179001');
$patient_id_bill = $obj_appointment->get_parient_id_for_bill($doctor_id, $patient_id_appointment, '2015-09-07');
//if ($target_array != NULL) {
开发者ID:riponjaherul,项目名称:hospital,代码行数:20,代码来源:temp.php

示例2:

                    <td><?php 
        if ($row1['appointment_status'] == 0) {
            echo '<b style="color: #ff0000">Pending</b>&nbsp;&nbsp;' . '<a href="?option=change_appointment_status&id=' . $row1['appointment_id'] . '&rid=' . $row1['patient_reg_id'] . '" class="glyphicon glyphicon-link"></a>';
        } else {
            echo '<b style="color: #006600">Confirm</b>';
        }
        ?>
                    </td>
                    <td>
                        <?php 
        if ($row1['appointment_status'] == 1) {
            if ($row1['patient_reg_id'] == '0') {
                echo '<b style="color: #ff0000">DUE</b>';
            } else {
                $patient_id_appointment = $obj_appointment->get_parient_id_for_appointment($row1['patient_reg_id']);
                $patient_id_bill = $obj_appointment->get_parient_id_for_bill($doctor_id, $patient_id_appointment, $get_date);
                if ($patient_id_bill != NULL) {
                    ?>
                                    <b style="color: #006600">PAID</b>
                                    <?php 
                } else {
                    ?>
                                    <b style="color: #ff0000">DUE</b>&nbsp;&nbsp;&nbsp;
                                    <a href="?page=appointment_payment&id=<?php 
                    echo $row1['patient_reg_id'];
                    ?>
&did=<?php 
                    echo $doctor_id;
                    ?>
" class="glyphicon glyphicon-link"></a>
                                    <?php 
开发者ID:riponjaherul,项目名称:hospital,代码行数:31,代码来源:appointment_details2.php


注:本文中的Appointment::get_parient_id_for_bill方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。