當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。