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


PHP database2::getPHICPayment_total方法代码示例

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


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

示例1: date

echo "<td>&nbsp;</tD>";
echo "<td>&nbsp;</tD>";
//echo "<td>&nbsp;<b>".number_format( $ro->sumPartial_new($registrationNo) ,2)."</b>&nbsp;</tD>";
echo "</tr>";
echo "<tr>";
echo "<Td>&nbsp;<span class='txtSize'><b>REFUND</b></span></td>";
echo "<TD></tD>";
echo "<td></td>";
echo "<td></td>";
echo "<TD><span class='txtSize'>" . number_format($refund, 2) . "</span></tD>";
echo "</tr>";
$totalCompanyPayment = $ro->getCompanyPayment_total + $ro->getCompanyPayment_discount + $ro->getCompanyPayment_tax();
echo "<Tr>";
echo "<td>&nbsp;<span class='txtSize'><b>Balance</b></span></tD>";
echo "<td>&nbsp;</tD>";
echo "<td>&nbsp;<span class='txtSize'><b>" . number_format($grandTotalPHIC - $ro->getPHICPayment_total(), 2) . "</b></span></tD>";
echo "<td>&nbsp;<span class='txtSize'><b>" . number_format($grandTotalCompany1 - $totalCompanyPayment, 2) . "</b></span></tD>";
$paidz = $ro->sumPartial_new($registrationNo, "amountPaid");
//$remainBalance = ( $grandTotalz - $ro->sumPartial_new($registrationNo) );
$remainBalance = $grandTotalz - $ro->descPartialPayment_total();
if ($remainBalance > 0) {
    echo "<td>&nbsp;<span class='txtSize'><b>" . number_format($remainBalance - $HBandPF + $refund, 2) . "</b></span>&nbsp;</tD>";
} else {
    echo "<td>&nbsp;<span class='txtSize'><b>" . number_format($remainBalance + $refund - $HBandPF + $refund, 2) . "</b></span>&nbsp;</tD>";
}
echo "</tr>";
echo "</table>";
//echo "<font size=2>Payment's</font>";
//$ro->getPaymentHistory_showUp($registrationNo);
echo "\n<Table border=0>\n<td>\n__________________________<br><font size=2>Signature over Printed Name</font><br><font size=3>Informant & Relationship:___________________________</font></font>\n</tD>\n<tD width='40%'>&nbsp;</tD>\n\n\n</table>\n<Br>\n<Table width='110%'>\n<tD>\n<font size=2><u>Tina Marie Mansueto</u><Br><b>Billing Section</b></font>\n</tD>\n\n\n<tD>\n\n\n<font size=2><u>Tina Marie Mansueto</u><Br><b>Cashier</b></font>\n</tD>\n</table>\n<Br>\n\n\n\n<font size=2>" . date("M_d_Y") . "@" . date("H:i:s") . "</font>\n\n<br>";
$ro->coconutBoxStop();
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:summary-jan_29_2015-tessieFormat.php

示例2:

echo "<td>&nbsp;</tD>";
//echo "<td>&nbsp;<b>".number_format( $ro->sumPartial_new($registrationNo) ,2)."</b>&nbsp;</tD>";
echo "</tr>";
$refund = $ro->doubleSelectNow("patientPayment", "amountPaid", "registrationNo", $registrationNo, "paymentFor", "REFUND");
echo "<tr>";
echo "<Td>&nbsp;<b>REFUND</b></td>";
echo "<TD></tD>";
echo "<td></td>";
echo "<td></td>";
echo "<TD>" . number_format($refund, 2) . "</tD>";
echo "</tr>";
$totalCompanyPayment = $ro->getCompanyPayment_total + $ro->getCompanyPayment_discount + $ro->getCompanyPayment_tax();
echo "<Tr>";
echo "<td>&nbsp;<b>Balance</b></tD>";
echo "<td>&nbsp;</tD>";
echo "<td>&nbsp;<b>" . number_format($grandTotalPHIC - $ro->getPHICPayment_total(), 2) . "</b></tD>";
echo "<td>&nbsp;<b>" . number_format($grandTotalCompany1 - $totalCompanyPayment, 2) . "</b></tD>";
$paidz = $ro->sumPartial_new($registrationNo, "amountPaid");
//$remainBalance = ( $grandTotalz - $ro->sumPartial_new($registrationNo) );
$remainBalance = $grandTotalz - $ro->descPartialPayment_total();
if ($remainBalance > 0) {
    echo "<td>&nbsp;<b>" . number_format($remainBalance, 2) . "</b>&nbsp;</tD>";
} else {
    echo "<td>&nbsp;<b>" . number_format($remainBalance + $refund, 2) . "</b>&nbsp;</tD>";
}
echo "</tr>";
echo "</table>";
echo "<br>";
//echo "<font size=2>Payment's</font>";
//$ro->getPaymentHistory_showUp($registrationNo);
$logusername = $ro->selectNow("registeredUser", "completeName", "username", $username);
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:summaryCompany.php

示例3:

$refund = $ro->doubleSelectNow("patientPayment", "amountPaid", "registrationNo", $registrationNo, "paymentFor", "REFUND");
echo "<tr>";
echo "<Td><div align='left' class='Arial12BlackBold'>&nbsp;REFUND&nbsp;</span></td>";
echo "<TD></tD>";
echo "<td></td>";
echo "<td></td>";
echo "<TD><div align='right' class='Arial12BlackBold'>" . number_format($refund, 2) . "&nbsp;</div></tD>";
echo "</tr>";
echo "<tr>";
echo "<td colspan='5' height='10'></tD>";
echo "</tr>";
$totalCompanyPayment = $ro->getCompanyPayment_total + $ro->getCompanyPayment_discount + $ro->getCompanyPayment_tax();
echo "<Tr>";
echo "<td><div align='left' class='Arial12BlackBold'>&nbsp;BALANCE&nbsp;</div></tD>";
echo "<td></tD>";
$asd = $ro->getPHICPayment_total();
$finaltotalphic = $grandTotalPHIC - $asd;
$x = number_format($finaltotalphic, 2);
if ($x == "-0.00") {
    echo "<td><div align='right' class='Arial12BlackBold'>&nbsp;0.00&nbsp;</div></tD>";
} else {
    //if($finaltotalphic<0.00001){
    echo "<td><div align='right' class='Arial12BlackBold'>&nbsp;" . number_format($finaltotalphic, 2) . "&nbsp;</div></tD>";
    //}
    //else{
    //echo "<td>&nbsp;<span class='txtSize'><b>".number_format($finaltotalphic,2)."</b></span></tD>";
}
$y = number_format($grandTotalCompany1 - $totalCompanyPayment, 2);
if ($y == "-0.00") {
    echo "<td><div align='right' class='Arial12BlackBold'>&nbsp;0.00&nbsp;</div></tD>";
} else {
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:summary.php


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