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


PHP database4::inpatient_payment_total方法代码示例

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


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

示例1: round

    $phicTotal += $phic;
    ?>
											</td>

											<td>
												<?php 
    $unpaid = round($ro4->inpatient_paymentMode_total_charges($registrationNo, "cashUnpaid") + $ro4->inpatient_paymentMode_total_inventory($registrationNo, "cashUnpaid") + $ro4->inpatient_paymentMode_total_inventory_takeHomeMeds($registrationNo, "cashUnpaid") + $ro2->selectNow("registrationDetails", "hmoManualExcessValue", "registrationNo", $registrationNo) + $ro2->selectNow("registrationDetails", "PHICportion", "registrationNo", $registrationNo) + $ro2->selectNow("registrationDetails", "excessMaxBenefits", "registrationNo", $registrationNo) + $ro2->selectNow("registrationDetails", "excessRoom", "registrationNo", $registrationNo) + $ro2->selectNow("registrationDetails", "excessPF", "registrationNo", $registrationNo), 2);
    echo $unpaid;
    $unpaidTotal += $unpaid;
    ?>
											</td>


											<td>
												<?php 
    $cash = $ro4->inpatient_payment_total($registrationNo, "CASH");
    echo $cash;
    $cashTotal += $cash;
    ?>
											</td>

											<td>
												<?php 
    $creditCard = $ro4->inpatient_payment_total($registrationNo, "Credit Card");
    echo $creditCard;
    $creditCardTotal += $creditCard;
    ?>
											</td>

											<td>
												<?php 
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:inpatient-total.php

示例2: round

						<tr>
							<th>Reg#</th>
							<th>Discharged</th>
							<th>Patient</th>
							<th>Balance</th>
							<th></th>
						</tr>
					</thead>
					<tbody>
						<?php 
foreach ($ro4->inpatient_discharged_registrationNo() as $registrationNo) {
    ?>
						<?php 
    //get balance px
    $unpaid = round($ro4->inpatient_paymentMode_total_charges($registrationNo, "cashUnpaid") + $ro4->inpatient_paymentMode_total_inventory($registrationNo, "cashUnpaid") + $ro4->inpatient_paymentMode_total_inventory_takeHomeMeds($registrationNo, "cashUnpaid") + $ro->selectNow("registrationDetails", "hmoManualExcessValue", "registrationNo", $registrationNo) + $ro->selectNow("registrationDetails", "PHICportion", "registrationNo", $registrationNo) + $ro->selectNow("registrationDetails", "excessMaxBenefits", "registrationNo", $registrationNo) + $ro->selectNow("registrationDetails", "excessRoom", "registrationNo", $registrationNo) + $ro->selectNow("registrationDetails", "excessPF", "registrationNo", $registrationNo), 2);
    $cash = $ro4->inpatient_payment_total($registrationNo, "Cash");
    $balPaid = $ro4->inpatient_balancePayment_total($registrationNo, "Cash");
    $creditCard = $ro4->inpatient_payment_total($registrationNo, "Credit Card");
    $disc = round($ro->selectNow("registrationDetails", "discount", "registrationNo", $registrationNo), 2);
    $totalPaid = $cash + $balPaid + $creditCard + $disc;
    $bal = $unpaid - $totalPaid;
    ?>

							<?php 
    if ($bal > 0) {
        ?>
							<tr>
								<td><?php 
        echo $registrationNo;
        ?>
</td>
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:ipdBalance.php

示例3:

			</form>			
			<div class="col-md-7">
				<table class="table table-hover">
					<thead>
						<tr>
							<th>Date</th>
							<th>Patient</th>
							<th>Amount</th>
						</tr>
					</thead>
					<tbody>
						<?php 
foreach ($ro4->inpatient_discharged_registrationNo() as $registrationNo) {
    ?>
							<?php 
    $cash = $ro4->inpatient_payment_total($registrationNo, $payment);
    ?>
							<?php 
    $refund = $ro4->inpatient_refund_total($registrationNo, $payment);
    ?>
							<?php 
    $pxCash = $cash - $refund;
    ?>
							<?php 
    $paymentTotal += $pxCash;
    ?>
							<?php 
    if ($pxCash > 0) {
        ?>
								<tr>
									<td>
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:transactionSummary_ipdPayments.php


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