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


PHP database4::inpatient_paymentMode_total_inventory方法代码示例

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


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

示例1: round

			<div class="col-md-8">
				<table class="table table-hover">
					<thead>
						<tr>
							<th>Patient</th>
							<th>Admitted</th>
							<th>Receivables</th>
						</tr>
					</thead>
					<tbody>
						<?php 
foreach ($ro4->inpatient_discharged_registrationNo() as $registrationNo) {
    ?>
							<?php 
    $phic = round($ro4->inpatient_paymentMode_total_charges($registrationNo, "phic") + $ro4->inpatient_paymentMode_total_inventory($registrationNo, "phic"), 2);
    $patientType = $ro->selectNow("registrationDetails", "type", "registrationNo", $registrationNo);
    ?>
								<?php 
    if ($phic > 0) {
        ?>
									<tr>
										<td>
											<?php 
        $patientNo = $ro->selectNow("registrationDetails", "patientNo", "registrationNo", $registrationNo);
        $lastName = $ro->selectNow("patientRecord", "lastName", "patientNo", $patientNo);
        $firstName = $ro->selectNow("patientRecord", "firstName", "patientNo", $patientNo);
        echo strtoupper($lastName) . ", " . strtoupper($firstName);
        $totalPatient += 1;
        ?>
										</td>
开发者ID:rickyx12,项目名称:protacio,代码行数:30,代码来源:new-receivables-ipd.php

示例2: round

					<thead>
						<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;
        ?>
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:ipdBalance.php

示例3: round

					</thead>
					<tbody>
						<?php 
foreach ($ro4->inpatient_discharged_registrationNo() as $registrationNo) {
    ?>
							<?php 
    $cashPayment = $ro4->inpatient_payment_total($registrationNo, "Cash");
    ?>
							<?php 
    $creditCardPayment = $ro4->inpatient_payment_total($registrationNo, "Credit Card");
    ?>
							<?php 
    $discount = $ro->selectNow("registrationDetails", "discount", "registrationNo", $registrationNo);
    ?>
							<?php 
    $pxCharges = round($ro4->inpatient_paymentMode_total_charges($registrationNo, "cashUnpaid") + $ro4->inpatient_paymentMode_total_inventory($registrationNo, "cashUnpaid") + $ro4->inpatient_paymentMode_total_inventory_takeHomeMeds($registrationNo, "cashUnpaid"), 2);
    ?>
							<?php 
    $hmoExcess = $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);
    ?>
							<?php 
    $pxTotalCharges = $pxCharges + $hmoExcess;
    ?>
							<?php 
    $pxPayment = $cashPayment + $creditCardPayment + $discount;
    ?>
							<?php 
    $pxBalance = $pxTotalCharges - $pxPayment;
    ?>
							<?php 
    if ($pxBalance > 0) {
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:transactionSummary_ipdBalance.php


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