本文整理汇总了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> </tD>";
echo "<td> </tD>";
//echo "<td> <b>".number_format( $ro->sumPartial_new($registrationNo) ,2)."</b> </tD>";
echo "</tr>";
echo "<tr>";
echo "<Td> <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> <span class='txtSize'><b>Balance</b></span></tD>";
echo "<td> </tD>";
echo "<td> <span class='txtSize'><b>" . number_format($grandTotalPHIC - $ro->getPHICPayment_total(), 2) . "</b></span></tD>";
echo "<td> <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> <span class='txtSize'><b>" . number_format($remainBalance - $HBandPF + $refund, 2) . "</b></span> </tD>";
} else {
echo "<td> <span class='txtSize'><b>" . number_format($remainBalance + $refund - $HBandPF + $refund, 2) . "</b></span> </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%'> </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();
示例2:
echo "<td> </tD>";
//echo "<td> <b>".number_format( $ro->sumPartial_new($registrationNo) ,2)."</b> </tD>";
echo "</tr>";
$refund = $ro->doubleSelectNow("patientPayment", "amountPaid", "registrationNo", $registrationNo, "paymentFor", "REFUND");
echo "<tr>";
echo "<Td> <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> <b>Balance</b></tD>";
echo "<td> </tD>";
echo "<td> <b>" . number_format($grandTotalPHIC - $ro->getPHICPayment_total(), 2) . "</b></tD>";
echo "<td> <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> <b>" . number_format($remainBalance, 2) . "</b> </tD>";
} else {
echo "<td> <b>" . number_format($remainBalance + $refund, 2) . "</b> </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);
示例3:
$refund = $ro->doubleSelectNow("patientPayment", "amountPaid", "registrationNo", $registrationNo, "paymentFor", "REFUND");
echo "<tr>";
echo "<Td><div align='left' class='Arial12BlackBold'> REFUND </span></td>";
echo "<TD></tD>";
echo "<td></td>";
echo "<td></td>";
echo "<TD><div align='right' class='Arial12BlackBold'>" . number_format($refund, 2) . " </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'> BALANCE </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'> 0.00 </div></tD>";
} else {
//if($finaltotalphic<0.00001){
echo "<td><div align='right' class='Arial12BlackBold'> " . number_format($finaltotalphic, 2) . " </div></tD>";
//}
//else{
//echo "<td> <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'> 0.00 </div></tD>";
} else {