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


PHP database2::selectNow方法代码示例

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


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

示例1:

<?php

include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$caserate = $_GET['caserate'];
$ro = new database2();
$ro->coconutDesign();
echo "<Br><Br><br>";
$caseRate_amount = $ro->selectNow("rBanny_caserate", "amount", "caseNo", $caserate);
//amount ng selected caserate
$hospitalBill = $ro->getTotal("total", "Room And Board", $registrationNo) + $ro->getTotal("total", "MEDICINE", $registrationNo) + $ro->getTotal("total", "SUPPLIES", $registrationNo) + $ro->getTotal("total", "LABORATORY", $registrationNo) + $ro->getTotal("total", "RADIOLOGY", $registrationNo) + $ro->getTotal("total", "NURSING-CHARGES", $registrationNo) + $ro->getTotal("total", "MISCELLANEOUS", $registrationNo) + $ro->getTotal("total", "OR/DR/ER Fee", $registrationNo) + $ro->getTotal("total", "OXYGEN", $registrationNo);
$pf = $ro->getTotal("phic", "PROFESSIONAL FEE", $registrationNo);
$targetAmount = $caseRate_amount - $caseRate_amount * 0.3;
echo "<Center>";
echo "<font color='blue' size=5><i>[R-Banny]-[noReset mode]</i></font>";
$ro->coconutBoxStart("500", "130");
echo "<br><font color=red size=4>Caserate</font>:&nbsp;" . $ro->selectNow("rBanny_caserate", "caserate", "caseNo", $caserate) . "&nbsp;[" . number_format($caseRate_amount, 2) . "]";
echo "<br>";
echo "<font color=red size=4>Hospital Bill:&nbsp;</font>" . number_format($hospitalBill, 2);
echo "<Br>";
echo "<font color=red size=4>Professional Fee:&nbsp;</font>" . number_format($pf, 2);
echo "<Br>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/rBanny/analyzingData_noReset.php");
//$cazeRate = $ro->selectNow("availableICD","hospital","icdCode",$ro->selectNow("patientICD","icdCode","registrationNo",$registrationNo));
echo "<i><font color=blue size=4>Target Amount:&nbsp;</font></i><br>" . $ro->coconutTextBox_return("targetAmount", $ro->getFirstCaseRate($ro->selectNow("patientICD", "icdCode", "registrationNo", $registrationNo)));
echo "<br><Br>";
//$ro->coconutHidden("targetAmount",$targetAmount);
$ro->coconutHidden("cash", $ro->getTotal("cashUnpaid", "", $registrationNo));
$ro->coconutHidden("registrationNo", $registrationNo);
if ($hospitalBill > $targetAmount) {
    $ro->coconutButton("Proceed");
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:approximate_noReset.php

示例2: strtoupper

$toTime_seconds = $_GET['toTime_seconds'];
$username = $_GET['username'];
$registrationNo = $_GET['registrationNo'];
$shift = $_GET['shift'];
$ro = new database2();
$ro->coconutDesign();
?>

<script type="text/javascript" src="http://<?php 
echo $ro->getMyUrl();
?>
/jquery1.11.1.js"></script>


<?php 
$patno = $ro->selectNow("registrationDetails", "patientNo", "registrationNo", $registrationNo);
echo strtoupper($ro->selectNow("patientRecord", "lastName", "patientNo", $patno)) . ", " . strtoupper($ro->selectNow("patientRecord", "firstName", "patientNo", $patno));
echo "<br><br>";
$ro->coconutFormStart("get", "editChargesCashier1.php");
$ro->coconutHidden("itemNo", $itemNo);
$ro->coconutHidden("month", $month);
$ro->coconutHidden("day", $day);
$ro->coconutHidden("year", $year);
$ro->coconutHidden("fromTime_hour", $fromTime_hour);
$ro->coconutHidden("fromTime_minutes", $fromTime_minutes);
$ro->coconutHidden("fromTime_seconds", $fromTime_seconds);
$ro->coconutHidden("toTime_hour", $toTime_hour);
$ro->coconutHidden("toTime_minutes", $toTime_minutes);
$ro->coconutHidden("toTime_seconds", $toTime_seconds);
$ro->coconutHidden("username", $username);
$ro->coconutHidden("registrationNo", $registrationNo);
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:editChargesCashier.php

示例3: count

<?php

include "../../../myDatabase2.php";
$itemNo = $_GET['itemNo'];
$countItem = count($itemNo);
$registrationNo = $_GET['registrationNo'];
$mode = $_GET['mode'];
$ro = new database2();
if ($mode == "cash2company1") {
    for ($x = 0; $x < $countItem; $x++) {
        $ro->getPatientChargesToEdit($itemNo[$x]);
        $totalTransfer = $ro->selectNow("patientCharges", "company1", "itemNo", $itemNo[$x]) + $ro->patientCharges_cashUnpaid();
        $ro->EditNow("patientCharges", "itemNo", $itemNo[$x], "company1", $totalTransfer);
        $ro->EditNow("patientCharges", "itemNo", $itemNo[$x], "cashUnpaid", 0);
    }
} else {
    if ($mode == "company1_to_cash") {
        for ($x = 0; $x < $countItem; $x++) {
            $ro->getPatientChargesToEdit($itemNo[$x]);
            $totalTransfer = $ro->selectNow("patientCharges", "company1", "itemNo", $itemNo[$x]) + $ro->patientCharges_cashUnpaid();
            $ro->EditNow("patientCharges", "itemNo", $itemNo[$x], "cashUnpaid", $totalTransfer);
            $ro->EditNow("patientCharges", "itemNo", $itemNo[$x], "company1", 0);
        }
    } else {
        if ($mode == "company2company1") {
            for ($x = 0; $x < $countItem; $x++) {
                $ro->getPatientChargesToEdit($itemNo[$x]);
                $totalTransfer = $ro->selectNow("patientCharges", "company1", "itemNo", $itemNo[$x]) + $ro->patientCharges_company();
                $ro->EditNow("patientCharges", "itemNo", $itemNo[$x], "company1", $totalTransfer);
                $ro->EditNow("patientCharges", "itemNo", $itemNo[$x], "company", 0);
            }
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:transferNow.php

示例4: date

<?php

include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$itemNo = $_GET['itemNo'];
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
$dateAdmit = $ro->selectNow("registrationDetails", "dateRegistered", "registrationNo", $registrationNo);
$ro->coconutFormStart("get", "computeDays1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("itemNo", $itemNo);
$ro->coconutHidden("dateIn", $dateAdmit);
$ro->coconutHidden("username", $username);
echo "<br><br><Br><Br>Date Admitted:&nbsp;" . $dateAdmit;
echo "<Br>";
echo "Date Discharge:&nbsp;";
$ro->coconutComboBoxStart_short("month");
echo "<option value='" . date("m") . "'>" . date("M") . "</option>";
echo "<option value='01'>Jan</option>";
echo "<option value='02'>Feb</option>";
echo "<option value='03'>Mar</option>";
echo "<option value='04'>Apr</option>";
echo "<option value='05'>May</option>";
echo "<option value='06'>Jun</option>";
echo "<option value='07'>Jul</option>";
echo "<option value='08'>Aug</option>";
echo "<option value='09'>Sep</option>";
echo "<option value='10'>Oct</option>";
echo "<option value='11'>Nov</option>";
echo "<option value='12'>Dec</option>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:computeDays.php

示例5:

<?php

include "../../myDatabase2.php";
$inventoryCode = $_GET['inventoryCode'];
$ro = new database2();
echo "<br><bR><br><br>";
echo "<center>";
echo "<table border=1 cellpadding=1 cellspacing=0>";
echo "<Tr>";
echo "<th> Description </th>";
echo "<th> Beginning QTY </th>";
echo "<th> Remaining QTY </th>";
echo "<th> Dispensed QTY </th>";
echo "</tr>";
echo "<tr>";
echo "<td>&nbsp;" . $ro->selectNow("inventory", "description", "inventoryCode", $inventoryCode) . "</tD>";
echo "<td>&nbsp;" . ($ro->selectNow("inventory", "quantity", "inventoryCode", $inventoryCode) + $ro->getQTY_dispensed($inventoryCode)) . "</tD>";
echo "<td>&nbsp;" . $ro->selectNow("inventory", "quantity", "inventoryCode", $inventoryCode) . "</tD>";
echo "<td>&nbsp;" . $ro->getQTY_dispensed($inventoryCode) . "</tD>";
echo "</tr>";
echo "</table>";
echo "</center>";
开发者ID:rickyx12,项目名称:protacio,代码行数:22,代码来源:begQTY.php

示例6:

include "../../../myDatabase2.php";
if (isset($_POST['registrationNo']) && isset($_POST['itemNo'])) {
    $registrationNo = $_POST['registrationNo'];
    $itemNo = $_POST['itemNo'];
} else {
    $registrationNo = 0;
    $itemNo = 0;
}
$ro = new database2();
echo "<div style='background:#47a3da; margin:10px; height:320px; width:500px; border-radius:15px;' >";
echo "<br>";
echo "<table border=0>";
echo "<Tr>";
echo "<td>&nbsp;<font color='white' size=4>Name:</font>&nbsp;</td>";
echo "<td><font color='white' size=4><i>" . $ro->selectNow("patientRecord", "lastName", "patientNo", $ro->selectNow("registrationDetails", "patientNo", "registrationNo", $registrationNo)) . ", " . $ro->selectNow("patientRecord", "firstName", "patientNo", $ro->selectNow("registrationDetails", "patientNo", "registrationNo", $registrationNo)) . "</i></font></td>";
echo "</tr>";
echo "<Tr>";
echo "<td>&nbsp;<font color='white' size=4>Age:</font>&nbsp;</td>";
echo "<td><font color='white' size=4><i>" . $ro->selectNow("patientRecord", "Age", "patientNo", $ro->selectNow("registrationDetails", "patientNo", "registrationNo", $registrationNo)) . "</i></font></td>";
echo "</tr>";
echo "<Tr>";
echo "<td>&nbsp;<font color='white' size=4>Sex:</font>&nbsp;</td>";
echo "<td><font color='white' size=4><i>" . $ro->selectNow("patientRecord", "Gender", "patientNo", $ro->selectNow("registrationDetails", "patientNo", "registrationNo", $registrationNo)) . "</i></font></td>";
echo "</tr>";
echo "</table>";
echo "<div style='background:yellow; height:5px;'></div>";
echo "<table border=0>";
echo "<Tr>";
echo "<td>&nbsp;<font color='white' size=4>Height:</font>&nbsp;</td>";
if ($ro->selectNow("registrationDetails", "height", "registrationNo", $registrationNo) != "HEIGHT") {
开发者ID:rickyx12,项目名称:mendero,代码行数:30,代码来源:viewPatient_information.php

示例7: date

<?php

include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$itemNo = $_GET['itemNo'];
$quantity = $_GET['quantity'];
$username = $_GET['username'];
$show = $_GET['show'];
$desc = $_GET['desc'];
$ro = new database2();
$titlez = $ro->getTitle($itemNo);
if ($ro->doubleSelectNow("patientCharges", "quantity", "itemNo", $itemNo, "registrationNo", $registrationNo) < $quantity) {
    echo "<br><br><br><font color=red>Ooopsss.. you are trying to return {$quantity} but there is only " . $ro->doubleSelectNow("patientCharges", "quantity", "itemNo", $itemNo, "registrationNo", $registrationNo) . " Dispensed to the patient</font>";
} else {
    if (($ro->getTitle($itemNo) == "MEDICINE" || $ro->getTitle($itemNo) == "SUPPLIES") && $ro->getChargesStatusDept($itemNo)) {
        if ($ro->selectNow("inventory", "autoDispense", "inventoryCode", $ro->selectNow("patientCharges", "chargesCode", "itemNo", $itemNo)) == "yes") {
            $currentQTY = $ro->selectNow("inventory", "quantity", "inventoryCode", $ro->selectNow("patientCharges", "chargesCode", "itemNo", $itemNo));
            // current qty ng meds/sup sa inventory
            $newQTY = $currentQTY + $quantity;
            //dagdag inventory once return
            $ro->editNow("inventory", "inventoryCode", $ro->selectNow("patientCharges", "chargesCode", "itemNo", $itemNo), "quantity", $newQTY);
            // update qty sa database
            $ro->deletePatientCharges($registrationNo, $itemNo);
        } else {
            $ro->editNow("patientCharges", "itemNo", $itemNo, "status", "Return");
            $ro->editNow("patientCharges", "itemNo", $itemNo, "dateReturn", date("Y-m-d"));
            $ro->editNow("patientCharges", "itemNo", $itemNo, "departmentStatus", $quantity . "_" . $registrationNo);
            $ro->returnInventory($itemNo, $registrationNo, $ro->selectNow("patientCharges", "description", "itemNo", $itemNo), $quantity, date("Y-m-d") . "@" . $ro->getSynapseTime(), $username);
            /*
            $regNo = $ro->selectNow("patientCharges","registrationNo","itemNo",$itemNo);
            $chargeCodez = $ro->selectNow("patientCharges","chargesCode","itemNo",$itemNo);
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:deletePatientCharges_redirect.php

示例8: foreach

							<tr>
								<th>#</th>
								<th>Patient</th>
								<th>&nbsp;</th>
							</tr>
						</thead>
						<tbody>
							<?php 
if ($ro4->opd_patient_census_registrationNo() != "") {
    ?>
								<?php 
    foreach ($ro4->opd_patient_census_registrationNo() as $registrationNo) {
        ?>
									<tr>
										<td>&nbsp;<?php 
        echo $ro->selectNow("registrationDetails", "pxCount", "registrationNo", $registrationNo);
        ?>
</td>
										<td>&nbsp;<?php 
        echo $ro->selectNow("patientRecord", "lastName", "patientNo", $ro->selectNow("registrationDetails", "patientNo", "registrationNo", $registrationNo));
        ?>
, <?php 
        echo $ro->selectNow("patientRecord", "firstName", "patientNo", $ro->selectNow("registrationDetails", "patientNo", "registrationNo", $registrationNo));
        ?>
</td>

										<?php 
        if ($ro->selectNow("registrationDetails", "mgh_date", "registrationNo", $registrationNo) != "") {
            ?>
											<td><span class="glyphicon glyphicon-ok"></span></td>
										<?php 
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:census-new.php

示例9:

echo "<tr>";
echo "<td>Patient#:&nbsp;</td><td>" . $ro->getRegistrationDetails_patientNo() . "</td>";
echo "<td>&nbsp;</td>";
echo "<td>Registration#:&nbsp;</td><td>" . $ro->getRegistrationDetails_registrationNo() . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Name:&nbsp;</td><td>&nbsp;<a href='#' onClick='printF(printData)' style='text-decoration:none; color:black;'>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</a></td>";
echo "<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>" . $ro->coconutText("Physician") . "</td><td>&nbsp;" . $ro->getAttendingDoc($registrationNo, "Attending") . "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Admitted") . ":&nbsp;</td><td>&nbsp;" . $ro->getRegistrationDetails_dateRegistered() . "@" . $ro->getRegistrationDetails_timeRegistered() . "</td>";
echo "<td>&nbsp;</td>";
//echo "<td>CaseType:</td><TD>".$ro->getRegistrationDetails_caseType()."</tD>";
echo "<Td>" . $ro->coconutText("Discharged") . ":&nbsp;</td><td>&nbsp;" . $ro->getRegistrationDetails_dateUnregistered() . "@" . $ro->getRegistrationDetails_timeUnregistered() . "</td>";
echo "</tr>";
if ($ro->selectNow("registrationDetails", "LimitHMO", "registrationNo", $registrationNo) != "") {
    $hmoLimit = number_format($ro->selectNow("registrationDetails", "LimitHMO", "registrationNo", $registrationNo), 2);
} else {
    if ($ro->selectNow("Company", "type", "companyName", $ro->getRegistrationDetails_company()) == "insurance") {
        //check kung insurance..
        $hmoLimit = number_format(2000, 2);
    } else {
        $hmoLimit = "";
    }
}
if ($ro->selectNow("registrationDetails", "company", "registrationNo", $registrationNo) != "") {
    echo "<tr>";
    echo "<td>Company:</td>";
    echo "<td>" . $ro->getRegistrationDetails_company() . " - {$hmoLimit} </td>";
    echo "<td>&nbsp;</td>";
    echo "<td></td>";
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:summary_nov-27-2014.php

示例10: printF

$ro->getPatientProfile($registrationNo);
$cashz = 0;
$phicz = 0;
$company = 0;
$gt = 0;
$hospitalBill_cash = 0;
$hospitalBill_phic = 0;
$hospitalBill_company = 0;
$hospitalBill_gt = 0;
$pf_cash = 0;
$pf_phic = 0;
$pf_company = 0;
$pf_gt = 0;
$room = preg_split("/\\-/", $ro->getRegistrationDetails_room());
$room1 = preg_split("/\\_/", $room[0]);
$roomRate = $ro->selectNow("room", "rate", "Description", $ro->getRegistrationDetails_room());
?>

<script type="text/javascript">
function printF(printData)
{
	var a = window.open ('',  '',"status=1,scrollbars=1, width=auto,height=auto");
	a.document.write(document.getElementById(printData).innerHTML.replace(/<a\/?[^>]+>/gi, ''));
	a.document.close();
	a.focus();
	a.print();
	a.close();
}
</script>
<style type="text/css">
<!--
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:summary-jan_29_2015-tessieFormat.php

示例11: date

$preparation = $_GET['preparation'];
$phic = $_GET['phic'];
$added = $_GET['added'];
$criticalLevel = $_GET['criticalLevel'];
$supplier = $_GET['supplier'];
$suppliesUNITCOST = $_GET['suppliesUNITCOST'];
$autoDispense = $_GET['autoDispense'];
$status = $_GET['status'];
$classification = $_GET['classification'];
$ipdPrice = $_GET['ipdPrice'];
$opdPrice = $_GET['opdPrice'];
$unitOfMeasure = $_GET['unitOfMeasure'];
$inventoryCode = $_GET['inventoryCode'];
$quantity = $_GET['quantity'];
$inventoryLocation = $_GET['inventoryLocation'];
$dateAdded = date("Y-m-d");
$timeAdded = date("H:i:s");
$begCapital = "";
$begQTY = "";
$description1 = "";
$genericName1 = "";
$biQTY = "";
$biInventoryCode = "";
$encodedQTY = $quantity;
$ro = new database2();
//pinagkunan ng quantity
$source_QTY = $ro->selectNow("inventory", "quantity", "inventoryCode", $inventoryCode);
//ung natirang quantity pagtapos bawasan
$source_newQTY = $source_QTY - $quantity;
$ro->editNow("inventory", "inventoryCode", $inventoryCode, "quantity", $source_newQTY);
$ro->transferMedicine($stockCardNo, $description, $generic, $unitcost, $quantity, $expiration, $addedBy, $dateAdded, $timeAdded, $inventoryLocation, $inventoryType, $branch, $transition, $remarks, $preparation, $phic, $added, $criticalLevel, $supplier, $begCapital, $begQTY, $suppliesUNITCOST, $autoDispense, $status, $classification, $description1, $genericName1, $ipdPrice, $opdPrice, $unitOfMeasure, $biQTY, $biInventoryCode, $encodedQTY, $inventoryCode);
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:transferInventory1.php

示例12:

<?php

include "../../../myDatabase2.php";
$username = $_GET['username'];
$chargeNo = $_GET['chargeNo'];
$ro = new database2();
$ro->coconutDesign();
$timeStart = preg_split("/\\:/", $ro->selectNow("generatorCharge", "timeStart", "chargeNo", $chargeNo));
$timeStop = preg_split("/\\:/", $ro->selectNow("generatorCharge", "timeStop", "chargeNo", $chargeNo));
echo "<Br><Br><BR>";
$ro->coconutFormStart("get", "manual1_new.php");
$ro->coconutBoxStart("500", "250");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("chargeNo", $chargeNo);
echo "<Br>";
echo "<table border=0>";
/*
echo "<Tr>";
echo "<Td>Date</tD>";
echo "<td>";
$ro->coconutComboBoxStart_short("month");
echo "<option value='01'>Jan</option>";
echo "<option value='02'>Feb</option>";
echo "<option value='03'>Mar</option>";
echo "<option value='04'>Apr</option>";
echo "<option value='05'>May</option>";
echo "<option value='06'>Jun</option>";
echo "<option value='07'>Jul</option>";
echo "<option value='08'>Aug</option>";
echo "<option value='09'>Sep</option>";
echo "<option value='10'>Oct</option>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:manual_new.php

示例13:

echo "";
//echo "<font size=5><b><a href='#' style='color:#000; text-decoration:none;'>".$ro->getReportInformation("hmoSOA_name")."</a></b></font>";
//echo "<br><font size=2>".$ro->getReportInformation("hmoSOA_address")."</font>";
echo "<center>";
echo "<table>";
echo "<tr>";
echo "<td>Name:&nbsp;</td><td>&nbsp;<a href='#' onClick='printF(printData)' style='text-decoration:none; color:black;'>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</a></td>";
echo "<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>" . $ro->coconutText("Physician") . "</td><td>&nbsp;" . $ro->getAttendingDoc($registrationNo, "Attending") . "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Admitted") . ":&nbsp;</td><td>&nbsp;" . $ro->getRegistrationDetails_dateRegistered() . "</td>";
echo "<td>&nbsp;</td>";
//echo "<td>CaseType:</td><TD>".$ro->getRegistrationDetails_caseType()."</tD>";
echo "<Td>" . $ro->coconutText("Discharged") . ":&nbsp;</td><td>&nbsp;" . $ro->getRegistrationDetails_dateUnregistered() . "@" . $ro->getRegistrationDetails_timeUnregistered() . "</td>";
echo "</tr>";
if ($ro->selectNow("registrationDetails", "package", "registrationNo", $registrationNo) != "") {
    $package = $ro->selectNow("registrationDetails", "package", "registrationNo", $registrationNo);
    $splitPackage = preg_split("/\\_/", $package);
    echo "<tr>";
    if ($ro->getPatientRecord_phic() == "NO") {
        echo "<Td>Package:&nbsp;" . $splitPackage[1] . " - " . $ro->selectNow("hospitalPackage", "packagePrice", "packageNo", $splitPackage[0]) . "</td>";
    } else {
        echo "<Td>Package:&nbsp;" . $splitPackage[1] . " - " . $ro->selectNow("hospitalPackage", "package_phicPrice", "packageNo", $splitPackage[0]) . "</td>";
    }
    echo "</tr>";
} else {
}
//echo "<tr>";
//echo "<Td>".$ro->coconutText("Company").":&nbsp;</td><td>&nbsp;".$ro->getRegistrationDetails_company()."</td>";
//echo "<td>&nbsp;</tD>";
//echo "<Td>".$ro->coconutText("Fx Diagnosis:").":&nbsp;</td><td>&nbsp;".$ro->getRegistrationDetails_finalDiagnosis()."</td>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:summary_05092014.php

示例14: round



											<td>
												<?php 
    $total = $lab + $xray + $utz + $ctscan + $ecg + $erfee + $or + $misc + $spirometry + $meds + $supp + $pf + $room + $cardiac + $pt + $ot + $st + $others;
    echo $total;
    $grandTotal += $total;
    ?>
											</td>

											<td>&nbsp;</td>
											<td>&nbsp;</td>
											<td>&nbsp;</td>
											<td>
												<?php 
    $disc = round($ro2->selectNow("registrationDetails", "discount", "registrationNo", $registrationNo), 2);
    echo $disc;
    $discTotal += $disc;
    ?>
											</td>

											<td>
												<?php 
    $excessDeduction = $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);
    $hmo = round($ro4->inpatient_paymentMode_total_charges($registrationNo, "company") + $ro4->inpatient_paymentMode_total_inventory($registrationNo, "company") - $excessDeduction, 2);
    echo $hmo;
    $hmoTotal += $hmo;
    ?>
											</td>

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

示例15:

<?php

include "../../myDatabase2.php";
$username = $_GET['username'];
$ro = new database2();
echo "<center><br>";
$ro->coconutFormStart("post", "create_ipd_census.php");
$ro->coconutHidden("username", $username);
$ro->coconutTableStart();
$ro->coconutTableRowStart();
$ro->coconutTableHeader("Room");
$ro->coconutTableHeader("Reg#");
$ro->coconutTableHeader("Patient");
$ro->coconutTableHeader("Admitted");
$ro->coconutTableHeader("Company");
$ro->coconutTableHeader("Cash");
$ro->coconutTableHeader("PhilHealth");
$ro->coconutTableHeader("Company");
$ro->coconutTableRowStop();
$ro->currentAdmitted("3rd floor");
$ro->currentAdmitted("2nd floor");
$ro->coconutTableStop();
echo "<Br>";
if ($ro->selectNow("ipdCensus", "id", "date", date("Y-m-d")) != "") {
    //dont show button
} else {
    $ro->coconutButton("Create Inpatient Census");
}
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:29,代码来源:currentAdmitted.php


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