<?php include "../../../myDatabase.php"; $username = $_GET['username']; $ro = new database(); $ro->coconutDesign(); echo "<Br><Br>"; $ro->coconutFormStart("get", "addPayment1.php"); $ro->coconutHidden("username", $username); $ro->coconutHidden("datePaid", date("M_d_Y")); $ro->coconutBoxStart("500", "220"); echo "<Br>"; echo "<Table border=0>"; echo "<tr>"; echo "<TD>Name </tD>"; echo "<td>"; $ro->coconutTextBox("registrationNo", "manual_"); echo "</tD>"; echo "</tr>"; echo "<Tr>"; echo "<Td>Payment For </tD>"; echo "<Td>"; $ro->coconutTextBox("paymentFor", ""); /* $ro->coconutComboBoxStart_long("paymentFor"); echo "<option value='ADVANCE PAYMENT'>ADVANCE PAYMENT</option>"; echo "<option value='HOSPITAL BILL'>HOSPITAL BILL</option>"; echo "<option value='BILLED'>BILLED</option>"; echo "<option value='PARTIAL PAYMENT'>PARTIAL PAYMENT</option>"; echo "<option value='FULL PAYMENT'>FULL PAYMENT</option>"; echo "<option value='XRAY'>XRAY</option>";
<?php include "../../myDatabase.php"; $ro = new database(); $ro->coconutHeading("NURSING SERVICE", "COCONUT/NURSING/initializeNursing.php"); $ro->coconutDesign(); echo "<br><br>"; $ro->coconutFormStart("get", "nursingStation.php"); $ro->coconutHidden("username", ""); $ro->coconutHidden("module", ""); $ro->coconutBoxStart("600px", "125px"); echo "<Br><br>"; $ro->coconutComboBoxStart_long("branch"); $ro->showOption("branch", "branch"); $ro->coconutComboBoxStop(); echo "<br>"; $ro->coconutComboBoxStart_long("floor"); $ro->showFloor(); $ro->coconutComboBoxStop(); echo "<br><Br>"; $ro->coconutButton("Proceed"); $ro->coconutBoxStop(); $ro->coconutFormStop();
echo "<tr>"; echo "<td><font class='labelz'>To Date </font></td>"; echo "<td>\n<select name='toMonth' class='comboBoxShort'> \n<option value='01'>Jan</option>\n<option value='02'>Feb</option>\n<option value='03'>Mar</option>\n<option value='04'>Apr</option>\n<option value='05'>May</option>\n<option value='06'>Jun</option>\n<option value='07'>Jul</option>\n<option value='08'>Aug</option>\n<option value='09'>Sep</option>\n<option value='10'>Oct</option>\n<option value='11'>Nov</option>\n<option value='12'>Dec</option>\n</select>"; echo " <select name='toDay' class='comboBoxShort'>"; for ($x = 1; $x < 32; $x++) { if ($x < 10) { echo "<option value='0{$x}'>0{$x}</option>"; } else { echo "<option value='{$x}'>{$x}</option>"; } } echo "</select>"; echo " <input type=text name='toYear' class='shortField' value='" . date("Y") . "'>"; echo "</td>"; echo "</tr>"; /* echo "<tr>"; echo "<Td><font class='labelz'>Department </font></td>"; echo "<td>"; echo "<Select name='department' class='comboBox'>"; echo "<option value='LABORATORY'>LABORATORY</option>"; echo "<option value='RADIOLOGY'>RADIOLOGY<option>"; echo "</select>"; echo "</td>"; echo "</tr>"; */ echo "</table>"; $ro->coconutHidden("department", "LABORATORY"); echo "<br><input type=submit value='Proceed' style='border:1px solid #000; background-color:#3b5998; color:white;' >"; echo "</div>"; echo "</form>";
<?php include "../../../myDatabase.php"; $month = $_GET['month']; $year = $_GET['year']; $description = $_GET['description']; $ro = new database(); $ro->coconutFormStart("post", "bestSellingChart_ipd.php"); $ro->coconutHidden("month", $month); $ro->coconutHidden("year", $year); $ro->coconutHidden("description", $description); echo "<br><Br>"; $ro->coconutBoxStart("550", "90"); echo "<Br>"; echo "You are about to view the Chart of <br> {$description} for {$month} {$year}"; echo "<Br><Br>"; $ro->coconutButton("Proceed"); $ro->coconutBoxStop(); $ro->coconutFormStop();
<?php include "../../myDatabase.php"; $function = $_GET['function']; $description = $_GET['description']; $value = $_GET['value']; $id = $_GET['id']; $username = $_GET['username']; $ro = new database(); $ro->coconutDesign(); echo "<br><br>"; $ro->coconutBoxStart("600", "180"); echo "<Br>"; $ro->coconutFormStart("get", "editMisc.php"); $ro->coconutHidden("id", $id); $ro->coconutHidden("username", $username); echo "<table border=0>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Function") . "</td>"; echo "<td><input type='text' name='function' value='{$function}' class='txtBox' readonly></td>"; echo "</tr>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Description") . "</td>"; echo "<td><textarea class='txtArea' name='description'>{$description}</textarea></td>"; echo "</tr>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Value") . "</td>"; if ($function == "anotherPrice") { echo "<Td>"; $ro->coconutComboBoxStart_short("val"); echo "<option value='{$value}'>{$value}</option>";
$username = $_GET['username']; $module = $_GET['module']; $branch = $_GET['branch']; $ro = new database(); ?> <link rel="stylesheet" type="text/css" href="http://<?php echo $ro->getMyUrl(); ?> /COCONUT/myCSS/coconutCSS.css" /> <?php echo "<form method='get' action='mainPageBill.php'>"; echo "<input type=hidden name='module' value='{$module}'>"; echo "<input type=hidden name='username' value='{$username}'>"; $ro->coconutHidden("branch", $branch); echo "<br><br><Br><br><center><div style='border:1px solid #000000; width:500px; height:180px; border-color:black black black black;'>"; echo "<br><table border=0 cellpadding=0 cellspacing=0>"; echo "<tr>"; echo "<td><font class='labelz'>Date </font></td>"; echo "<td>\n<select name='month' class='comboBoxShort'> \n<option value='" . date("m") . "'>" . date("M") . "</option>\n<option value='01'>Jan</option>\n<option value='02'>Feb</option>\n<option value='03'>Mar</option>\n<option value='04'>Apr</option>\n<option value='05'>May</option>\n<option value='06'>Jun</option>\n<option value='07'>Jul</option>\n<option value='08'>Aug</option>\n<option value='09'>Sep</option>\n<option value='10'>Oct</option>\n<option value='11'>Nov</option>\n<option value='12'>Dec</option>\n</select>"; echo " <select name='day' class='comboBoxShort'>"; echo "<option value='" . date("d") . "'>" . date("d") . "</option>"; for ($x = 1; $x < 32; $x++) { if ($x < 10) { echo "<option value='0{$x}'>0{$x}</option>"; } else { echo "<option value='{$x}'>{$x}</option>"; } } echo "</select>";
} } echo "</select>"; echo " <input type=text name='yearAdded' value='" . date("Y") . "' class='bdayField' autocomplete='off'>"; echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td><div class='style1'>Location </div></td>"; echo "<td>"; echo "<select class='comboBox' name='inventoryLocation'>"; echo "<option value='PHARMACY'>PHARMACY</option>"; $ro->showInventoryLocation(); echo "</select>"; echo "</td>"; echo "</tr>"; $ro->coconutHidden("branch", ""); $ro->coconutHidden("transition", ""); $ro->coconutHidden("phic", ""); echo "<tr>\n<td><div class='style1'>Critical Level</div></td>\n<td><input type=text name='criticalLevel' class='txtBox' autocomplete='off'></td>\n</tr>"; echo "<tr>\n<td><div class='style1'>Remarks</div></td>\n<td><input type=text name='remarks' class='txtBox' autocomplete='off'></td>\n</tr>"; echo "<tr>\n<td><div class='style1'>Supplier</div></td>\n<td><select name='supplier' class='txtBox'>"; echo "<option value=''></option>"; $ro->showOption("supplier", "supplierName"); echo "</select></td>\n</tr>"; echo "<tr>\n<td><div class='style1'>Auto Dispense</div></td>\n<td><select name='autoDispense' class='txtBox'>"; echo "<option value='no'>no</option>"; echo "<option value='yes'>yes</option>"; echo "</select></td>\n</tr>"; echo "\n<tr>\n<td><div class='style1'>Classification</div></td>\n<td>\n<select name='classification' class='txtBox'>\n<option value='inventory'>Invnetory</option>\n<option value='noInventory'>No Invnetory</option>\n</select>\n</td>\n</tr>\n"; echo "</table>"; echo "<p id='curTime'>";
<?php include "../../../myDatabase1.php"; $userz = $_GET['username']; $ro = new database(); $ro->coconutDesign(); $ro->coconutFormStart("get", "addVoucher1.php"); $ro->coconutHidden("username", $userz); $ro->coconutHidden("timeIssued", $ro->getSynapseTime()); echo "<Br><br>"; $ro->coconutBoxStart("500", "320"); echo "<br>"; echo "<table>"; echo "<tr>"; echo "<TD>Voucher#</tD>"; echo "<TD>"; $ro->coconutTextBox("voucherNo", ""); echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<TD>Payment Mode</tD>"; echo "<TD>"; $ro->coconutComboBoxStart_long("paymentMode"); echo "<option value='cash'>Cash</option>"; echo "<option value='check'>Check</option>"; $ro->coconutComboBoxStop(); echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<TD>Description</tD>"; echo "<TD>";
background-color:green; color:black; } </style> <?php echo "<br>"; echo "<br>"; echo "<br>"; echo "<br>"; echo "<br><center><div style='border:1px solid #000000; width:495px; height:auto; border-color:black black black black;'>"; echo "<br>"; echo "<form method='get' action='http://" . $ro->getMyUrl() . "/COCONUT/Cashier/cashierReport/reportShift.php' target='_blank'>"; $ro->coconutHidden("module", $module); $ro->coconutHidden("username", $username); $ro->coconutHidden("reportName", $reportName); $ro->coconutHidden("status", $status); echo "<input type=submit value='Daily Collection Report' class='button'>"; echo "</form>"; echo "<form method='get' action='http://" . $ro->getMyUrl() . "/COCONUT/Cashier/cashierReport/dailyCashiersReport_date.php'>"; echo "<input type=submit value='Daily Cashiers Report' class='button'>"; echo "</form>"; echo "<form method='get' action='http://" . $ro->getMyUrl() . "/COCONUT/Cashier/cashierReport/CollectionReportSD.php' target='_blank'>"; $ro->coconutHidden("username", $username); echo "<input type=submit value='Collection Report' class='button2'>"; echo "</form>"; echo "<Br>"; echo "</div>";
//echo "<select name='room' class='comboBox'>"; //echo "<option value='".$ro->getRegistrationDetails_room()."'>".$ro->getRegistrationDetails_room()."</option>"; //$ro->showVacantRoom($ro->getRegistrationDetails_branch()); //echo "</select>"; //echo "</td>"; //echo "</tr>"; if ($ro->getRegistrationDetails_company() != "") { /* echo "<tr>"; echo "<td>".$ro->coconutText("Cash Limit:")."</td>"; echo "<td>"; $ro->coconutTextBox("cashLimit",$ro->getRegistrationDetails_limitCASH()); echo "</td>"; echo "<tr>"; */ $ro->coconutHidden("cashLimit", ""); echo "<tr>"; echo "<td>" . $ro->coconutText("HMO Limit:") . "</td>"; echo "<td>"; $ro->coconutTextBox("hmoLimit", $ro->getRegistrationDetails_limitHMO()); echo "</td>"; echo "<tr>"; } else { $ro->coconutHidden("cashLimit", ""); $ro->coconutHidden("hmoLimit", ""); } echo "<input type=hidden name='room' value='" . $ro->getRegistrationDetails_room() . "'>"; } else { echo "<input type=hidden name='room' value='" . $ro->getRegistrationDetails_room() . "'>"; echo "<input type=hidden name='cashLimit' value=''>"; echo "<input type=hidden name='hmoLimit' value=''>";
echo "<tr>"; echo "<td>Remarks </td>"; echo "<td>"; $ro->coconutTextBox("remarks", $ro->patientCharges_remarks()); echo "</td>"; echo "</tr>"; } else { if ($ro->patientCharges_title() == "NITROUS") { echo "<tr>"; echo "<td>Remarks </td>"; echo "<td>"; $ro->coconutTextBox("remarks", $ro->patientCharges_remarks()); echo "</td>"; echo "</tr>"; } else { $ro->coconutHidden("remarks", $ro->patientCharges_remarks()); } } } if ($ro->patientCharges_status() == "PAID") { $timePaid = preg_split("/\\:/", $ro->patientCharges_timePaid()); echo "<tr>"; echo "<Td> <font class='charges'>Date Paid</font></tD>"; echo "<Td>"; $ro->coconutTextBox("datePaid", $ro->patientCharges_datePaid()); echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td><font class='charges' color=red>Time Paid (H:M:S)</font></td>"; echo "<td>"; echo "<select name='timePaid_hour' class='comboBoxShort'>";
<?php include "../../myDatabase.php"; $username = $_GET['username']; $ro = new database(); $ro->coconutDesign(); $ro->coconutFormStart("get", "addFloor1.php"); $ro->coconutHidden("username", $username); echo "<Br><br>"; $ro->coconutBoxStart("500", "100"); echo "<Br>"; echo "<table border=0>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Floor") . "</td>"; echo "<Td>"; $ro->coconutTextBox("floor", ""); echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Branch") . "</td>"; echo "<td>"; $ro->coconutComboBoxStart_long("branch"); $ro->showOption("branch", "branch"); $ro->coconutComboBoxStop(); echo "</td>"; echo "</tr>"; echo "</table>"; $ro->coconutButton("Proceed"); $ro->coconutFormStop(); $ro->coconutBoxStop();
<?php include "../../../myDatabase.php"; $packageNo = $_GET['packageNo']; $inventoryCode = $_GET['inventoryCode']; $ro = new database(); $ro->coconutDesign(); echo "<br><br><br>"; $ro->coconutFormStart("get", "updateNow.php"); $ro->coconutHidden("packageNo", $packageNo); $ro->coconutHidden("inventoryCode", $inventoryCode); $ro->coconutBoxStart("400", "80"); echo "<br>"; echo "<table border=0>"; echo "<tr>"; echo "<td>QTY</td>"; echo "<td>"; $ro->coconutTextBox_short("qty", "1"); echo "</td>"; echo "</tr>"; echo "</table>"; echo "<br>"; $ro->coconutButton("Proceed"); $ro->coconutBoxStop(); $ro->coconutFormStop(); ?>
} echo "</select>"; echo "</td>"; echo "</tr>"; if ($username == "cris") { echo "<tr>"; echo "<tD>Show All: </tD>"; echo "<Td>"; $ro->coconutComboBoxStart_short("username"); echo "<option value='{$username}'>No</option>"; echo "<option value='smch'>Yes</option>"; $ro->coconutComboBoxStop(); echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<tD>Show Cut-off: </tD>"; echo "<Td>"; $ro->coconutComboBoxStart_short("cutoff"); echo "<option value='no'>No</option>"; echo "<option value='yes'>Yes</option>"; $ro->coconutComboBoxStop(); echo "</td>"; echo "</tr>"; } else { $ro->coconutHidden("username", $username); $ro->coconutHidden("cutoff", "no"); } echo "</table>"; echo "<br><Br><br><input type=submit value='Proceed' style='border:1px solid #000; background-color:#3b5998; color:white;' >"; echo "</div>"; echo "</form>";
include "../../../myDatabase.php"; $chargesCode = $_GET['chargesCode']; $description = $_GET['description']; $service = $_GET['service']; $category = $_GET['category']; $opd = $_GET['opd']; $ward = $_GET['ward']; $soloward = $_GET['soloward']; $semiprivate = $_GET['semiprivate']; $private = $_GET['private']; $hmo = $_GET['hmo']; $unitCost = $_GET['unitCost']; $ro = new database(); $ro->coconutDesign(); $ro->coconutFormStart("get", "editCharges1.php"); $ro->coconutHidden("chargesCode", $chargesCode); $ro->coconutBoxStart("500", "185"); echo "<Br>"; echo "<Table border=0>"; echo "<tr>"; echo "<td>Description</td>"; echo "<td>"; $ro->coconutTextBox("description", $description); echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td>OPD Price</td>"; echo "<td>"; $ro->coconutTextBox_short("opdprice", $opd); echo "</td>"; echo "</tr>";
<li><a href="http://<?php echo $ro->getMyUrl(); ?> /Registration/newRecord.php" class="odd"><font color=white><b>Registration Form</b></font><span class="arrow"></span></a></li> <li><a href="#">Verify Registration<span class="arrow"></span></a></li> <li><a href="#" class="odd">Patient<span class="arrow"></span></a></li> <li> </li> </ol> <br> <form action="http://<?php echo $ro->getMyUrl(); ?> /Registration/newRecord.php" method="post"> <input type=submit value='New Registration' style='border:1px solid #000000; background:#3b5998 no-repeat 4px 4px; color:white;'> <?php $ro->coconutHidden("from", $from); ?> </form> <?php echo "<form name='recordSearch'>"; echo " <input type=text name='record' autocomplete='off' id='searchRecord' style=' \n\tbackground:#FFFFFF no-repeat 4px 4px;\n\tpadding:4px 4px 4px 2px;\n\tborder:1px solid #CCCCCC;\n\twidth:400px;\n\theight:25px;' class='txtBox'\n\tonfocus='SetMsg(this, true);'\n \tonblur='SetMsg(this,false);'\n\tvalue='Search Record'\n \tonkeyup='showResult();' \n>"; $ro->coconutHidden("from", $from); echo "<form>"; /* echo "<br> <table border=1 cellpadding=0 cellspacing=0 rules=all>"; echo "<tr>"; echo "<th bgcolor='#3b5998'> <font color=white>Patient's Name</font> </th>"; echo "<th bgcolor='#3b5998'> <font color=white>BirthDate</font> </th>"; echo "<th bgcolor='#3b5998'> <font color=white>Gender</font> </th>";
if ($x < 10) { echo "<option value='0{$x}'>0{$x}</option>"; } else { echo "<option value='{$x}'>{$x}</option>"; } } $ro->coconutComboBoxStop(); echo "-"; $ro->coconutTextBox_short("year", date("Y")); echo "</td>"; echo "</tr>"; echo "</table>"; echo "<br>"; $ro->coconutButton("Proceed"); $ro->coconutBoxStop(); $ro->coconutHidden("status", $status); $ro->coconutHidden("registrationNo", $registrationNo); $ro->coconutHidden("chargesCode", $chargesCode); $ro->coconutHidden("description", $description); $ro->coconutHidden("sellingPrice", $sellingPrice); $ro->coconutHidden("discount", $discount); $ro->coconutHidden("timeCharge", $timeCharge); $ro->coconutHidden("chargeBy", $chargeBy); $ro->coconutHidden("service", $service); $ro->coconutHidden("title", $title); $ro->coconutHidden("paidVia", $paidVia); $ro->coconutHidden("cashPaid", $cashPaid); $ro->coconutHidden("batchNo", $batchNo); $ro->coconutHidden("username", $username); $ro->coconutHidden("quantity", $quantity); $ro->coconutHidden("inventoryFrom", $inventoryFrom);
<?php include "../../../myDatabase.php"; $registrationNo = $_GET['registrationNo']; $ro = new database(); $ro->getPatientProfile($registrationNo); $ro->coconutFormStart("get", "registrationCensusDelete1.php"); $ro->coconutHidden("registrationNo", $registrationNo); echo "<Br><Br><br><br><br><Br>"; $ro->coconutBoxStart_red("600", "120"); echo "<br>\t"; echo "<font size=3 color=red>You are about to delete the record of " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . " <br>with a registration No#: " . $registrationNo . " and register by " . $ro->getRegistrationDetails_registeredBy() . "</font>"; echo "<br><br>"; $ro->coconutButton("Delete"); $ro->coconutBoxStop(); $ro->coconutFormStop();
<?php include "../../../myDatabase.php"; $username = $_GET['username']; $title = $_GET['title']; $ro = new database(); ?> <link rel="stylesheet" type="text/css" href="http://<?php echo $ro->getMyUrl(); ?> /COCONUT/myCSS/coconutCSS.css" /> <?php echo "<form method='get' action='showBestSelling.php'>"; echo "<input type=hidden name='username' value='{$username}'>"; $ro->coconutHidden("title", $title); echo "<br><br><Br><br><center><div style='border:1px solid #000000; width:500px; height:100px; border-color:black black black black;'>"; echo "<br><table border=0 cellpadding=0 cellspacing=0>"; echo "<tr>"; echo "<td><font class='labelz'> Date </font></td>"; echo "<td>\n<select name='month' class='comboBoxShort'> \n<option value='01'>Jan</option>\n<option value='02'>Feb</option>\n<option value='03'>Mar</option>\n<option value='04'>Apr</option>\n<option value='05'>May</option>\n<option value='06'>Jun</option>\n<option value='07'>Jul</option>\n<option value='08'>Aug</option>\n<option value='09'>Sep</option>\n<option value='10'>Oct</option>\n<option value='11'>Nov</option>\n<option value='12'>Dec</option>\n</select>"; echo " <input type=text name='year' class='shortField' value='" . date("Y") . "'>"; echo "</td>"; echo "</tr>"; echo "</table>"; echo "<br><input type=submit value='Proceed' style='border:1px solid #000; background-color:#3b5998; color:white;' >"; echo "</div>"; echo "</form>";
echo "<tr>"; echo "<td>Username</td>"; echo "<td>" . $ro->coconutTextBox_return("username", "") . "</td>"; echo "</tr>"; echo "<tr>"; echo "<td>Password</td>"; echo "<td>" . $ro->coconutPasswordBox_return("password", "") . "</td>"; echo "</tr>"; echo "<tr>"; echo "<td>Complete Name</td>"; echo "<td>" . $ro->coconutPasswordBox_return("name", "") . "</td>"; echo "</tr>"; echo "</table>"; echo "<br>"; $ro->coconutButton("Proceed"); $ro->coconutHidden("module", "APPROVAL"); $ro->coconutHidden("key", $key); $ro->coconutBoxStop(); $ro->coconutFormStop(); } else { echo "<Br><bR><br><Br><BR>"; $ro->coconutBoxStart("500", "100"); $ro->coconutFormStart("post", $_SERVER["PHP_SELF"]); echo "<br>"; echo "<table border=0>"; echo "<tr>"; echo "<td>Key</td>"; echo "<td>" . $ro->coconutPasswordBox_return("key", "") . "</td>"; echo "</table>"; echo "<Br>"; $ro->coconutButton("Proceed");
<?php include "../../myDatabase.php"; $payrollNo = $_GET['payrollNo']; $empID = $_GET['empID']; $username = $_GET['username']; $ro = new database(); $ro->coconutFormStart("post", "/COCONUT/payroll/deletePayroll1.php"); $ro->coconutHidden("payrollNo", $payrollNo); $ro->coconutHidden("empID", $empID); $ro->coconutHidden("username", $username); echo "<br><br><br><br><br><BR>"; $ro->coconutBoxStart_red("500", "100"); echo "<br>"; echo "<font color=red> Delete Payroll of</font> <font color='blue'>" . $ro->selectNow("registeredUser", "completeName", "employeeID", $empID) . "<font color=red> from " . $ro->selectNow("employeePayroll", "payFrom", "payrollNo", $payrollNo) . " to " . $ro->selectNow("employeePayroll", "payTo", "payrollNo", $payrollNo) . "?? </font>"; echo "<br><br>"; echo "<input type='submit' value='Delete' style='border:1px solid #ff0000;'>"; $ro->coconutBoxStop(); $ro->coconutFormStop();
echo "</select>"; echo "</td>"; echo "</tr>"; if ($ro->getPatientRecord_phic() == "YES") { echo "<tr>"; echo "<td>PhilHealth PIN#:</td>"; if ($ro->selectNow("registeredUser", "module", "username", $username) == "ADMIN" || $ro->selectNow("registeredUser", "module", "username", $username) == "BILLING" || $ro->selectNow("registeredUser", "module", "username", $username) == "CASHIER" || $ro->selectNow("registeredUser", "module", "username", $username) == "PHILHEALTH" || $ro->selectNow("registeredUser", "module", "username", $username) == "ADMITTING") { echo "<td>"; $ro->coconutTextBox("pinNo", $ro->getRegistrationDetails_PIN()); echo "</td>"; } else { echo "\n<td>\n<span class='Arial10RedBold'>Only Admin, Billing, Cashier, PhilHealth, Admitting accounts can change this.</span><br>\n<input type='text' name='pinNo' class='comboBox' value='" . $ro->getRegistrationDetails_PIN() . "' readonly />\n</td>\n"; } echo "</tr>"; } else { $ro->coconutHidden("pinNo", ""); } if ($ro->getPatientRecord_senior() == "YES") { echo "<tr>"; echo "<td>Senior ID#:</td>"; echo "<td>"; $ro->coconutTextBox("seniorNo", $ro->selectNow("registrationDetails", "seniorID", "registrationNo", $registrationNo)); echo "</td>"; echo "</tr>"; } else { $ro->coconutHidden("seniorNo", ""); } echo "<tr>"; echo "<td>Company </td>"; if ($ro->selectNow("registeredUser", "module", "username", $username) == "ADMIN" || $ro->selectNow("registeredUser", "module", "username", $username) == "BILLING" || $ro->selectNow("registeredUser", "module", "username", $username) == "CASHIER" || $ro->selectNow("registeredUser", "module", "username", $username) == "PHILHEALTH" || $ro->selectNow("registeredUser", "module", "username", $username) == "ADMITTING") { echo "<td>\n<select name='company' class='comboBox'>";
$username = $_SESSION['username']; $registrationNo = $_SESSION['registrationNo']; $module = $_SESSION['module']; $ro = new database(); echo "\n<style type='text/css'>\na { text-decoration:none; color:red; }\n</style>\n\n"; $ro->coconutDesign(); $ro->coconutHeading($module, "/COCONUT/currentPatient/initializeProfile.php"); $ro->coconutUpperMenuStart(); $ro->coconutUpperMenuStop(); $url = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; //kuhain ang current web address if (!isset($username) && !isset($registrationNo)) { header("Location:/LOGINPAGE/module.php "); die; } echo "<br><br><center>"; $ro->coconutBoxStart("600", "100"); echo "<br>"; echo "<font size=3 color=black>Logged as {$username}</font>"; echo "<Br>"; echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/unknownUser/verifyUser.php?registrationNo={$registrationNo}'><font color=red size=2><< Sign Out</a> "; //echo " <a href='http://".$ro->getMyUrl()."/COCONUT/currentPatient/patientInterface1.php?username=$username®istrationNo=$_GET[registrationNo]'><font color=blue size=2>Sign In >></font></a>"; $ro->coconutFormStart("post", "/COCONUT/currentPatient/patientInterface1.php"); $ro->coconutHidden("patientSearch", ""); $ro->coconutHidden("username", $username); $ro->coconutHidden("module", $module); $ro->coconutHidden("registrationNo", $registrationNo); echo "<br>"; echo "<input type='submit' style='background:transparent; border:1px solid #0000FF; color:blue' value='Sign In >>>'>"; $ro->coconutFormStop(); $ro->coconutBoxStop();
} else { $ro->coconutTableData($ro->getCurrentPHIC_check($registrationNo, "PROFESSIONAL FEE")); } if ($ro->getTotal("company", "", $registrationNo) > $ro->getRegistrationDetails_limitHMO()) { $ro->coconutTableData("" . $ro->getTotal("company", "", $registrationNo) . " - <font color='red'>" . ($ro->getTotal("company", "", $registrationNo) - $ro->getRegistrationDetails_limitHMO()) . "</font>"); } else { $ro->coconutTableData($ro->getTotal("company", "", $registrationNo)); } $ro->coconutTableData($ro->getTotal("cashUnpaid", "", $registrationNo)); $ro->coconutTableRowStop(); $ro->coconutTableStop(); echo "<br><br>"; echo "<table border=0>"; echo "<td>"; $ro->coconutFormStart("get", "limitMagic.php"); $ro->coconutHidden("registrationNo", $registrationNo); $ro->coconutHidden("casetype", $casetype); $ro->coconutHidden("phicMed_excess", $ro->getTotal("phic", "MEDICINE", $registrationNo) - $ro->getPHIClimit_medicine()); $total = $ro->getCurrentPHIC_check($registrationNo, "SUPPLIES"); $ro->coconutHidden("phicSup_excess", $ro->getCurrentPHIC_check($registrationNo, "SUPPLIES") - $ro->getPHIClimit_supplies()); //$ro->coconutTextBox("phicMed_allowedLimit",$ro->getCurrentPHIC_check($registrationNo,"MEDICINE")); //$ro->coconutTextBox("phicMed_excess",$ro->getCurrentPHIC_check($registrationNo,"MEDICINE") - $ro->getPHIClimit_medicine()); //$ro->coconutButton("Generate"); $ro->coconutFormStop(); echo "</td>"; echo "<tr>"; echo "<td>"; $ro->coconutFormStart("get", "phicFuller_getReady.php"); $ro->coconutHidden("registrationNo", $registrationNo); $ro->coconutHidden("casetype", $casetype); $ro->coconutHidden("case", "ordinaryCase");
include "../../myDatabase.php"; session_start(); $username = $_SESSION['username']; $module = $_SESSION['module']; $ro = new database(); echo "\n<style type='text/css'>\na { text-decoration:none; color:red; }\n</style>\n\n"; $ro->coconutDesign(); $ro->coconutHeading($module, "COCONUT/currentPatient/initializePatient.php"); $ro->coconutUpperMenuStart(); $ro->coconutUpperMenuStop(); $url = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; //kuhain ang current web address if (!isset($username) && !isset($module)) { header("Location:/LOGINPAGE/module.php "); die; } echo "<br><br><center>"; $ro->coconutBoxStart("600", "100"); echo "<br>"; echo "<font size=3 color=black>Logged as {$username}</font>"; echo "<Br>"; echo "<a href='http://" . $ro->getMyUrl() . "/LOGINPAGE/module.php'><font color=red size=2><< Sign Out</a> "; //echo " <a href='http://".$ro->getMyUrl()."/COCONUT/currentPatient/patientInterface.php?patientSearch=&username=$username&module=$module'><font color=blue size=2>Sign In >></font></a>"; $ro->coconutFormStart("post", "/COCONUT/currentPatient/patientInterface.php"); $ro->coconutHidden("patientSearch", ""); $ro->coconutHidden("username", $username); $ro->coconutHidden("module", $module); echo "<br>"; echo "<input type='submit' style='background:transparent; border:1px solid #0000FF; color:blue' value='Sign In >>>'>"; $ro->coconutFormStop(); $ro->coconutBoxStop();
echo "<td>"; echo "<select class='comboBox' name='inventoryLocation'>"; echo "<option value='PHARMACY'>PHARMACY</option>"; $ro->showInventoryLocation(); echo "</select>"; echo "</td>"; echo "</tr>"; /* echo "<tr> <td><font class='labelz'>Branch</font></td> <td><select name='branch' class='txtBox'>"; $ro->showOption("branch","branch"); echo "</select></td> </tr>"; */ $ro->coconutHidden("branch", ""); /* echo "<tr> <td><font class='labelz'>Transition</font></td> <td><select name='transition' class='txtBox'>"; $ro->showOption("inventoryTransition","transition"); echo "</select></td> </tr>"; */ $ro->coconutHidden("transition", ""); echo "<tr>\n<td><font class='labelz'>Medicine Type</font></td>\n<td><select name='medicineType' class='txtBox'>"; echo "<option value=''></option>"; echo "<option value='ORAL'>ORAL</option>"; echo "<option value='AMPULE'>AMPULE</option>"; echo "<option value='IV FLUID'>IV FLUID</option>"; echo "</select></td>\n</tr>";
include "../../myDatabase.php"; $username = $_GET['username']; $phicID = $_GET['phicID']; $salaryBracket = $_GET['salaryBracket']; $salaryRange1 = $_GET['salaryRange1']; $salaryRange2 = $_GET['salaryRange2']; $salaryBase = $_GET['salaryBase']; $totalMonthlyPremium = $_GET['totalMonthlyPremium']; $employeeShare = $_GET['employeeShare']; $employerShare = $_GET['employerShare']; $ro = new database(); $ro->coconutDesign(); echo "<br>"; $ro->coconutFormStart("post", "/COCONUT/payroll/editPHIC1.php"); $ro->coconutHidden("username", $username); $ro->coconutHidden("phicID", $phicID); $ro->coconutBoxStart("500", "290"); echo "<br>"; echo "<table border=0>"; echo "<tr>"; echo "<Td><font size=2>Salary Bracket</font></tD>"; echo "<Td>" . $ro->coconutTextBox_return("salaryBracket", $salaryBracket) . "</tD>"; echo "</tr>"; echo "<tr>"; echo "<Td><font size=2>Range1</font></tD>"; echo "<Td>" . $ro->coconutTextBox_return("salaryRange1", $salaryRange1) . "</tD>"; echo "</tr>"; echo "<tr>"; echo "<Td><font size=2>Range2</font></tD>"; echo "<Td>" . $ro->coconutTextBox_return("salaryRange2", $salaryRange2) . "</tD>";
echo "<td><select name='Gender' class='comboBox'>\n<option value='{$Gender}'>{$Gender}</option>\n<option value='male'>Male</option>\n<option value='female'>Female</option>\n</select></td>"; echo "</tr>"; echo "<tr>"; echo "<td><font class='labelz'>Senior</font></td>"; echo "<td>\n<select name='Senior' class='comboBoxShort'>\n<option value='{$Senior}'>{$Senior}</option>\n<option value='NO'>No</option>\n<option value='YES'>Yes</option>\n</select>\n</td>"; echo "</tr>"; echo "<tr>"; echo "<td><font class='labelz'>Address</font></td>"; echo "<td><textarea class='txtArea' name='Address'>{$Address}</textarea></td>"; echo "</tr>"; echo "<tr>"; echo "<td><font class='labelz'>Contact No#</font></td>"; echo "<td><input type=text class='txtBox' name='contactNo' value='{$contactNo}'></td>"; echo "</tr>"; echo "<tr>"; echo "<td><font class='labelz'>PhilHealth</font></td>"; echo "<td><select name='PHIC' class='comboBoxShort'>\n<option value='{$PHIC}'>{$PHIC}</option>\n<option value='YES'>Yes</option>\n<option value='NO'>No</option>\n</select></td>"; echo "</tr>"; echo "<tr>"; echo "<td><font class='labelz'>Civil Status</font></td>"; echo "<td><select name='civilStatus' class='comboBox'>\n<option value='{$civilStatus}'>{$civilStatus}</option>\n<option value='Single'>Single</option>\n<option value='Married'>Married</option>\n<option value='Seperated'>Seperated</option>\n<option value='Widow'>Widow</option>\n</select></td>"; echo "</tr>"; echo "</table>"; echo "<br>"; $ro->coconutButton("Proceed"); $ro->coconutHidden("patientNo", $patientNo); $ro->coconutHidden("username", $username); $ro->coconutHidden("show", $show); $ro->coconutHidden("desc", $desc); $ro->coconutFormStop(); $ro->coconutBoxStop();
<?php include $_SERVER['DOCUMENT_ROOT'] . "/coreClass/inventory/movement/inventoryMovement.php"; include "../../../myDatabase.php"; if (isset($_GET['inventoryLocation'])) { $inventoryLocation = $_GET['inventoryLocation']; } else { $inventoryLocation = "PHARMACY"; } $type = $_GET['type']; $im = new inventoryMovement(); $ro = new database(); $ro->coconutDesign(); echo "<form method='get' action='inventoryMovementMonthly.php'>"; $ro->coconutHidden("type", $type); echo "Location: <select name='inventoryLocation' onchange='this.form.submit()' style='border:solid 1px #ff0000'>"; echo "<option value='{$inventoryLocation}'>{$inventoryLocation}</option>"; echo "<option value='ER'>ER</option>"; echo "<option value='OR'>OR</option>"; echo "<option value='WARD'>WARD</option>"; echo "<option value='PHARMACY'>PHARMACY</option>"; $ro->coconutComboBoxStop(); $im->showInventoryForMovement($type, $inventoryLocation); echo "</form>";
echo "<td><font class='labelz'>Location </font></td>"; echo "<td>"; echo "<select class='comboBox' name='inventoryLocation'>"; $ro->showInventoryLocation(); echo "</select>"; echo "</td>"; echo "</tr>"; /* echo "<tr> <td><font class='labelz'>Branch</font></td> <td><select name='branch' class='txtBox'>"; $ro->showOption("branch","branch"); echo "</select></td> </tr>"; */ $ro->coconutHidden("branch", ""); /* echo "<tr> <td><font class='labelz'>Transition</font></td> <td><select name='transition' class='txtBox'>"; $ro->showOption("inventoryTransition","transition"); echo "</select></td> </tr>"; */ $ro->coconutHidden("transition", ""); echo "<tr>\n<td><font class='labelz'>PhilHealth</font></td>\n<td><select name='phic' class='txtBox'>"; echo "<option value='no'>No</option>"; echo "<option value='yes'>Yes</option>"; echo "</select></td>\n</tr>"; echo "<tr>\n<td>"; echo "<select name='pricing' style='width=20%; border: 1px solid #000; color: #000;' >";