本文整理匯總了PHP中database2::coconutTableHeader方法的典型用法代碼示例。如果您正苦於以下問題:PHP database2::coconutTableHeader方法的具體用法?PHP database2::coconutTableHeader怎麽用?PHP database2::coconutTableHeader使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類database2
的用法示例。
在下文中一共展示了database2::coconutTableHeader方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: count
include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$itemNo = $_GET['itemNo'];
$countz = count($itemNo);
$ro = new database2();
$ro->coconutDesign();
$total = 0;
$discount = 0;
echo "<center>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/individualPayment/paidItems.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("username", $username);
$ro->coconutTableStart();
$ro->coconutTableRowStart();
$ro->coconutTableHeader("");
$ro->coconutTableHeader("Description");
$ro->coconutTableHeader("QTY;");
$ro->coconutTableHeader("Price");
$ro->coconutTableHeader("Discount");
$ro->coconutTableHeader("Total");
$ro->coconutTableRowStop();
for ($x = 0; $x < $countz; $x++) {
$ro->coconutTableRowStart();
$ro->coconutTableData("<input type='checkbox' name='itemNo[]' value='" . $itemNo[$x] . "' checked>");
$ro->coconutTableData($ro->doubleSelectNow("patientCharges", "description", "itemNo", $itemNo[$x], "registrationNo", $registrationNo));
$ro->coconutTableData($ro->doubleSelectNow("patientCharges", "quantity", "itemNo", $itemNo[$x], "registrationNo", $registrationNo));
$ro->coconutTableData($ro->doubleSelectNow("patientCharges", "sellingPrice", "itemNo", $itemNo[$x], "registrationNo", $registrationNo));
$ro->coconutTableData($ro->doubleSelectNow("patientCharges", "discount", "itemNo", $itemNo[$x], "registrationNo", $registrationNo));
$ro->coconutTableData($ro->doubleSelectNow("patientCharges", "cashUnpaid", "itemNo", $itemNo[$x], "registrationNo", $registrationNo));
$discount += $ro->doubleSelectNow("patientCharges", "discount", "itemNo", $itemNo[$x], "registrationNo", $registrationNo);
示例2:
<?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();
示例3:
<?php
include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
//echo "<a href='http://".$ro->getMyUrl()."/COCONUT/Laboratory/laboratoryNote.php?username=$username'>Send Laboratory Note</a>";
echo "<center><br><br>";
$ro->coconutTableStart();
$ro->coconutTableRowStart();
$ro->coconutTableHeader("Lab Test");
$ro->coconutTableHeader("Date");
$ro->coconutTableHeader("");
$ro->coconutTableHeader("");
$ro->coconutTableRowStop();
$ro->getLabTest_done($registrationNo, $username);
$ro->radioResult_onPatient($registrationNo, $username);
$ro->coconutTableStop();
示例4:
}
}
}
}
}
}
}
}
}
$ro = new database2();
$totalz = 0;
echo "<Center><font size=4><B>{$description}</b></font><br><font size=2>({$monthWord} {$year})</font> <br>";
echo "<Br><font color=red>Consumed by Patient</font>";
$ro->coconutTableStart();
$ro->coconutTableRowStart();
$ro->coconutTableHeader("Date");
$ro->coconutTableHeader("Quantity");
$ro->coconutTableRowStop();
for ($x = 1; $x < 32; $x++) {
if ($x < 10) {
$ro->coconutTableRowStart();
$ro->coconutTableData($monthWord . " {$x}," . $year);
$ro->coconutTableData($ro->getFastMovingChart($month, "0" . $x, $year, $description, "All", $inventoryCode));
$totalz += $ro->getFastMovingChart($month, "0" . $x, $year, $description, "All", $inventoryCode);
$ro->coconutTableRowStop();
} else {
$ro->coconutTableRowStart();
$ro->coconutTableData($monthWord . " {$x}," . $year);
$ro->coconutTableData($ro->getFastMovingChart($month, $x, $year, $description, "All", $inventoryCode));
$totalz += $ro->getFastMovingChart($month, $x, $year, $description, "All", $inventoryCode);
$ro->coconutTableRowStop();
示例5:
float: left;
width: 30%;
margin:30px;
}
.rightcol {
float: left;
width: 60%;
}
</style>
<?php
echo "<center><font size=4>Cash and Charge for Medicine and Supplies</font>";
echo "<Br>" . $from . " to " . $to . "</center>";
echo "<table border=1 cellspacing=0 class='leftcol'>";
$ro->coconutTableRowStart();
$ro->coconutTableHeader("Date");
$ro->coconutTableHeader("Particulars");
$ro->coconutTableHeader("Cash");
$ro->coconutTableRowStart();
echo "<tr>";
echo "<td> </tD>";
echo "<td align='center'> <b>MEDICINE</b></td>";
echo "<td> </td>";
echo "</tr>";
$ro->cashANDcharge_paid($from, $to, "MEDICINE");
echo "<Tr>";
echo "<td> </td>";
echo "<td> <b>TOTAL</b></td>";
echo "<td> " . number_format($ro->cashANDcharge_paid_medicine(), 2) . "</td>";
echo "</tr>";
echo "<tr>";
示例6:
include "../../../myDatabase2.php";
$month = $_GET['month'];
$day = $_GET['day'];
$year = $_GET['year'];
$month1 = $_GET['month1'];
$day1 = $_GET['day1'];
$year1 = $_GET['year1'];
$show = $_GET['show'];
$username = $_GET['username'];
$ro = new database2();
echo "<font size=5>CASH COLLECTION</font>";
echo "<br>";
echo "<font size=3>{$month} {$day}, {$year} - {$month1} {$day1}, {$year1}</font>";
$ro->coconutTableStart();
$ro->coconutTableRowStart();
$ro->coconutTableHeader(" ");
$ro->coconutTableHeader("Patient");
$ro->coconutTableHeader("LABORATORY");
$ro->coconutTableHeader("RADIOLOGY");
$ro->coconutTableHeader("MEDICINE");
$ro->coconutTableHeader("SUPPLIES");
$ro->coconutTableHeader("BLOODBANK");
$ro->coconutTableHeader("NBS");
$ro->coconutTableHeader("MISCLLANEOUS");
$ro->coconutTableHeader("NURSING CARE");
$ro->coconutTableHeader("ECG");
$ro->coconutTableRowStop();
$ro->coconutTableRowStart();
$ro->coconutTableData(" ");
$ro->coconutTableData(" ");
$ro->coconutTableData(" ");
示例7:
<?php
include "../../myDatabase2.php";
$month = $_GET['month'];
$day = $_GET['day'];
$year = $_GET['year'];
$month1 = $_GET['month1'];
$day1 = $_GET['day1'];
$year1 = $_GET['year1'];
$ro = new database2();
echo "<br><Br>";
echo "<center><font size=5>PhilHealth Receivable for PHARMACY</font></center>";
echo "<center><font size=3>( {$month} {$day}, {$year} - {$month1} {$day1}, {$year1} )</font></center>";
echo "<Br>";
echo "<center>";
$ro->coconutTableStart();
$ro->coconutTableRowStart();
$ro->coconutTableHeader("Discharged");
$ro->coconutTableHeader("Patient");
$ro->coconutTableHeader("MEDICINE");
$ro->coconutTableHeader("SUPPLIES");
$ro->coconutTableRowStop();
$ro->discharged_name($month, $day, $year, $month1, $day1, $year1);
$ro->coconutTableRowStart();
$ro->coconutTableData("<b>TOTAL</b>");
$ro->coconutTableData("");
$ro->coconutTableData(" <B>" . number_format($ro->discharged_name_medicine(), 2) . "</b>");
$ro->coconutTableData(" <B>" . number_format($ro->discharged_name_supplies(), 2) . "</b>");
$ro->coconutTableRowStop();
$ro->coconutTableStop();