本文整理汇总了PHP中database4::patient_with_transaction_balance方法的典型用法代码示例。如果您正苦于以下问题:PHP database4::patient_with_transaction_balance方法的具体用法?PHP database4::patient_with_transaction_balance怎么用?PHP database4::patient_with_transaction_balance使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database4
的用法示例。
在下文中一共展示了database4::patient_with_transaction_balance方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<tr>
<th>Reg#</th>
<th>In</th>
<th>Out</th>
<th>Balance</th>
<th></th>
</tr>
</thead>
<tbody>
<?php
foreach ($ro4->registration_details_registrationNo() as $registrationNo) {
?>
<tr>
<?php
if ($ro4->patient_with_transaction_balance($registrationNo) > 0) {
?>
<td><?php
echo $registrationNo;
?>
</td>
<td><?php
echo $ro4->formatDate($ro->selectNow("registrationDetails", "dateRegistered", "registrationNo", $registrationNo));
?>
</td>
<td><?php
echo $ro4->formatDate($ro->selectNow("registrationDetails", "dateUnregistered", "registrationNo", $registrationNo));
?>
</td>
<td><?php
echo $ro4->patient_with_transaction_balance($registrationNo);
示例2:
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<!--morning-->
<?php
for ($a = 0, $b = 0, $c = 0, $d = 0, $e = 0; $a < $countFN_moring, $b < $countLN_morning, $c < $countReg_morning, $d < $countPXComp_morning, $e < $countPX_morning; $a++, $b++, $c++, $d++, $e++) {
?>
<tr>
<?php
$total_morning += $ro->patient_with_transaction_total($registrationNo_morning[$c]);
?>
<?php
$balance_morning += $ro->patient_with_transaction_balance($registrationNo_morning[$c]);
?>
<?php
$discount_morning += $ro->patient_with_transaction_discount($registrationNo_morning[$c]);
?>
<?php
$card_morning += $ro->patient_with_transaction_company($registrationNo_morning[$c]);
?>
<?php
$cash_morning += $ro->patient_with_transaction_cash($registrationNo_morning[$c]);
?>
<?php
$creditCard_morning += $ro->patient_with_transaction_creditCard($registrationNo_morning[$c]);
?>
<td><?php