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


PHP database2::getPaymentHistory_showUp_returnPaid方法代码示例

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


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

示例1:

    echo "<td>&nbsp;</tD>";
}
echo "</tr>";
//$ro->getPatientDoc($registrationNo);
//$gross = (  $cashz - $ro->getPaymentHistory_showUp_returnPaid() );
//$disc = $ro->getRegistrationDetails_discount() * $gross;
echo "<tr>";
echo "<td><b>Professional Fee</b></tD>";
echo "<td>&nbsp;</tD>";
echo "<td>&nbsp;</tD>";
echo "<td>&nbsp;</tD>";
//echo "<td>&nbsp;<b>".$pf_phic."</b></tD>";
echo "<td>&nbsp;</tD>";
echo "</tr>";
$ro->getPatientDoc($registrationNo);
$gross = $cashz - $ro->getPaymentHistory_showUp_returnPaid();
$disc = $ro->getRegistrationDetails_discount() * $gross;
echo "<tr>";
echo "<td><b></b></tD>";
echo "<td>&nbsp;<input type='text' class='editable' value='" . $pf_gt . "'></tD>";
echo "<td>&nbsp;<input type='text' class='editable' value='" . $pf_phic . "'></tD>";
echo "<td>&nbsp;<input type='text' class='editable' value='" . $pf_company . "'></tD>";
//echo "<td>&nbsp;<b>".$pf_phic."</b></tD>";
echo "<td>&nbsp;<input type='text' class='editable' value='" . $pf_cash . "'></tD>";
echo "</tr>";
echo "<tr>";
echo "<td>&nbsp;</tD>";
echo "<td>&nbsp;</tD>";
echo "<td>&nbsp;</tD>";
echo "<td>&nbsp;</tD>";
echo "<td>&nbsp;</tD>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:summaryEditable.php

示例2:

}
echo "<td>&nbsp;</tD>";
echo "<td>&nbsp;</tD>";
if ($companyDiscount != "") {
    echo "<td>&nbsp;" . number_format($companyDiscount, 2) . "&nbsp;</tD>";
} else {
    echo "<td>&nbsp;</tD>";
}
if ($ro->getRegistrationDetails_discount() != "") {
    echo "<td>&nbsp;" . number_format($ro->getRegistrationDetails_discount(), 2) . "&nbsp;</tD>";
} else {
    echo "<td>&nbsp;0.00&nbsp;</tD>";
}
echo "</tr>";
//}
$gross = $cashz - $ro->getPaymentHistory_showUp_returnPaid();
$disc = $ro->getRegistrationDetails_discount() * $gross;
$grandTotalCompany = $hospitalBill_company + $pf_company;
$grandTotalCompany1 = $grandTotalCompany - $companyDiscount;
$grandTotalPHIC = $hospitalBill_phic + $pf_phic;
echo "<Tr>";
echo "<td>&nbsp;<b>Grand Total</b></tD>";
echo "<td>&nbsp;</tD>";
echo "<td>&nbsp;" . number_format($grandTotalPHIC, 2) . "</tD>";
if ($grandTotalCompany1 != "") {
    echo "<td>&nbsp;" . number_format($grandTotalCompany1, 2) . "</tD>";
} else {
    echo "<td>&nbsp;</tD>";
}
echo "<td>&nbsp;<b>" . number_format($gross - $ro->getRegistrationDetails_discount() + $pf_cash, 2) . "</b>&nbsp;</tD>";
echo "</tr>";
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:summaryCompany.php

示例3:

    echo "<td>&nbsp;<b>" . number_format($hospitalBill_cash1 + $pf_cash, 2) . "</b>&nbsp;</tD>";
}
echo "</tr>";
echo "<Tr>";
echo "<td>&nbsp;<font size=2>" . $ro->selectNow("registrationDetails", "discountType", "registrationNo", $registrationNo) . "</font></tD>";
echo "<td>&nbsp;</tD>";
echo "<td>&nbsp;</tD>";
echo "<td>&nbsp;</tD>";
if ($ro->getRegistrationDetails_discount() != "") {
    echo "<td>&nbsp;" . number_format($ro->getRegistrationDetails_discount(), 2) . "&nbsp;</tD>";
} else {
    echo "<td>&nbsp;0.00&nbsp;</tD>";
}
echo "</tr>";
//}
$gross = $hospitalBill_cash1 - $ro->getPaymentHistory_showUp_returnPaid();
$disc = $ro->getRegistrationDetails_discount() * $gross;
echo "<Tr>";
echo "<td>&nbsp;<b>Grand Total</b></tD>";
echo "<td>&nbsp;</tD>";
echo "<td>&nbsp;</tD>";
echo "<td>&nbsp;</tD>";
if ($ro->selectNow("registrationDetails", "isPackageCash", "registrationNo", $registrationNo) == "yes") {
    echo "<td>&nbsp;<b>" . number_format($gross - $ro->getRegistrationDetails_discount() + $pf_cash, 2) . "</b>&nbsp;</tD>";
} else {
    echo "<td>&nbsp;<b>" . number_format($gross - $ro->getRegistrationDetails_discount() + $pf_cash, 2) . "</b>&nbsp;</tD>";
}
echo "</tr>";
if ($ro->selectNow("registrationDetails", "isPackageCash", "registrationNo", $registrationNo) == "yes") {
    $grandTotalz = $gross - $ro->getRegistrationDetails_discount() + $pf_cash;
} else {
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:summary_package.php


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