Exemple #1
0
$module = $_GET['module'];
$username = $_GET['username'];
$ro = new database();
$ro->coconutDesign();
$ro->coconutFormStart("get", "addCharges1.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("category", $module);
$ro->coconutHidden("services", "Examination");
echo "<b>{$module}</b>";
$ro->coconutBoxStart("500", "215");
echo "<Br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>Description</td>";
echo "<td>";
$ro->coconutTextBox("description", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>OPD Price</td>";
echo "<td>";
$ro->coconutTextBox_short("opdprice", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>IPD Price (Ward)</td>";
echo "<td>";
$ro->coconutTextBox_short("ipdprice", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
Exemple #2
0
echo "<td><font class='labelz'>Description&nbsp;</font></td>";
if ($status == "old") {
    echo "<td><input type=text class='txtBox' name='description' value='{$description}' readonly autocomplete='off'></td>";
} else {
    echo "<td><input type=text class='txtBox' name='description' value='{$description}' autocomplete='off'></td>";
}
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>Generic&nbsp;</font></td>";
echo "<td><input type=text class='txtBox' name='generic' value='{$genericName}' autocomplete='off'></td>";
echo "</tr>";
echo "<tr>";
echo "<tr>";
echo "<td><font class='labelz'>Preparation&nbsp;</font></td>";
echo "<td>";
$ro->coconutTextBox("preparation", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>Unit of Measure&nbsp;</font></td>";
echo "<td>";
$ro->coconutTextBox("unitOfMeasure", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>Unit Cost&nbsp;</font></td>";
echo "<td><input type=text class='shortField' name='unitcost' autocomplete='off'></td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>Quantity&nbsp;</font></td>";
echo "<td><input type=text class='shortField' name='quantity' autocomplete='off'></td>";
echo "<tr>";
echo "<td><div class='style1'>Description&nbsp;</div></td>";
if ($status == "old") {
    echo "<td><input type=text class='txtBox' name='description' value='{$description}' readonly autocomplete='off'></td>";
} else {
    echo "<td><input type=text class='txtBox' name='description' value='{$description}' autocomplete='off'></td>";
}
echo "</tr>";
echo "<tr>";
echo "<td><div class='style1'>Unit Cost&nbsp;</div></td>";
echo "<td><input type=text class='shortField' name='unitcost' autocomplete='off'></td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='style1'>Unit of Measure&nbsp;</font></td>";
echo "<td>";
$ro->coconutTextBox("unitOfMeasure", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><div class='style1'>Selling Price&nbsp;</div></td>";
echo "<td><input type=text class='shortField' name='pricing' autocomplete='off'></td>";
echo "</tr>";
echo "<tr>";
echo "<td><div class='style1'>Quantity&nbsp;</div></td>";
echo "<td><input type=text class='shortField' name='quantity' autocomplete='off'></td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>B.I QTY&nbsp;</font></td>";
echo "<td><input type=text class='shortField' name='biQTY' value='{$biQTY}' readonly autocomplete='off'>&nbsp;&nbsp;<a href='/COCONUT/inventory/bi.php?stockCardNo={$stockCardNo}&username={$username}&status={$status}&genericName=&description={$description}' style='text-decoration:none;'><font size=2 color=red>[Add B.I]</font></a></td>";
echo "</tr>";
echo "<tr>";
Exemple #4
0
    if ($ro->selectNow("registeredUser", "module", "username", $username) == "PHILHEALTH" || $ro->selectNow("registeredUser", "module", "username", $username) == "HMO" || $ro->selectNow("registeredUser", "module", "username", $username) == "PHARMACY" || $ro->selectNow("registeredUser", "module", "username", $username) == "CASHIER" || $ro->selectNow("registeredUser", "module", "username", $username) == "BILLING") {
        echo "\n<tr>\n<td><font class='charges'>Cash (Unpaid)</font></td>\n<td><input type=text name='cashCovered' autocomplete='off' class='shortField' value=" . $ro->patientCharges_cashUnpaid() . "></td>\n</tr>\n<tr>\n<td><font class='charges'>Company</font></td>\n<td><input type=text name='companyCovered' autocomplete='off' class='shortField' value='" . $ro->patientCharges_company() . "'></td>\n</tr>";
        echo "<tr>\n<td><font class='charges'>PhilHealth</font></td>\n<td><input type=text name='phicCovered' autocomplete='off' class='shortField' value='" . $ro->patientCharges_phicCovered() . "'></td>\n</tr>\n";
    } else {
    }
} else {
    echo "\n<tr>\n<td><font class='charges'>Cash (Unpaid)</font></td>\n<td><input type=text name='cashCovered' autocomplete='off' class='shortField' value=" . $ro->patientCharges_cashUnpaid() . "></td>\n</tr>\n<tr>\n<td><font class='charges'>Company</font></td>\n<td><input type=text name='companyCovered' autocomplete='off' class='shortField' value='" . $ro->patientCharges_company() . "'></td>\n</tr>\n<tr>\n<td><font class='charges'>PhilHealth</font></td>\n<td><input type=text name='phicCovered' autocomplete='off' class='shortField' value='" . $ro->patientCharges_phicCovered() . "'></td>\n</tr>\n";
}
echo "\n<tr>\n<td><font class='charges'>Branch</font></td>\n<td><select name='branch' class='txtBox'>\n<option value='" . $ro->patientCharges_branch() . "'>" . $ro->patientCharges_branch() . "</option>\n";
$ro->showOption("branch", "branch");
echo "</select></td>\n</tr>\n";
if ($ro->patientCharges_title() == "LABORATORY") {
    echo "<tr>";
    echo "<td>Remarks&nbsp;</td>";
    echo "<td>";
    $ro->coconutTextBox("remarks", $ro->patientCharges_remarks());
    echo "</td>";
    echo "</tr>";
} else {
    if ($ro->patientCharges_title() == "OXYGEN") {
        echo "<tr>";
        echo "<td>Remarks&nbsp;</td>";
        echo "<td>";
        $ro->coconutTextBox("remarks", $ro->patientCharges_remarks());
        echo "</td>";
        echo "</tr>";
    } else {
        if ($ro->patientCharges_title() == "NITROUS") {
            echo "<tr>";
            echo "<td>Remarks&nbsp;</td>";
            echo "<td>";
Exemple #5
0
<?php

include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$lastName = $_GET['lastName'];
$firstName = $_GET['firstName'];
$ro = new database();
$ro->coconutDesign();
echo "<br><br><br><br>";
echo "<center><font color=red size=2>To View [" . strtoupper($lastName . " " . $firstName) . "] enter your username and password</font></center>";
$ro->coconutFormStart("post", "patientLogin1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutBoxStart("500", "120");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<Td>Username&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("username", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>Password&nbsp;</td>";
echo "<td>" . $ro->coconutPasswordBox_return("password", "") . "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
Exemple #6
0
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&nbsp;&nbsp;</tD>";
echo "<td>";
$ro->coconutTextBox("registrationNo", "manual_");
echo "</tD>";
echo "</tr>";
echo "<Tr>";
echo "<Td>Payment For&nbsp;&nbsp;</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>";
echo "<option value='UTZ'>UTZ</option>";
Exemple #7
0
<?php

include "../myDatabase.php";
$ro = new database();
$ro->coconutDesign();
echo "<Br><Br><br>";
$ro->coconutFormStart("get", "addSupplier1.php");
$ro->coconutBoxStart("500", "222");
echo "<br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>Supplier Name</tD>";
echo "<td>";
$ro->coconutTextBox("supplierName", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Address</tD>";
echo "<td>";
$ro->coconutTextBox("address", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Contact Person</tD>";
echo "<td>";
$ro->coconutTextBox("contactPerson", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Contact No</tD>";
echo "<td>";
include "../../../myDatabase1.php";
$userz = $_GET['username'];
$ro = new database();
$ro->coconutDesign();
$ro->coconutFormStart("get", "addVoucher1_acct.php");
$ro->coconutHidden("username", $userz);
$ro->coconutHidden("timeIssued", $ro->getSynapseTime());
$ro->coconutHidden("voucherNo", "");
echo "<Br><br>";
$ro->coconutBoxStart("500", "320");
echo "<br>";
echo "<table>";
echo "<tr>";
echo "<TD>Check#</tD>";
echo "<TD>";
$ro->coconutTextBox("checkedNo", "");
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>";
$ro->coconutTextBox("description", "");
Exemple #9
0
$room = $_GET['supplies'];
$pf = $_GET['pf'];
$suppliesOnly = $_GET['suppliesOnly'];
$username = $_GET['username'];
$ro = new database();
$ro->coconutDesign();
echo "<Br><Br>";
$ro->coconutFormStart("get", "editCasetype1.php");
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "280");
echo "<center><br><br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Casetype") . "&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("casetype", $casetype);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Medicine") . "&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("medicine", $medicine);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Supplies") . "&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("supplies", $supplies);
echo "</td>";
echo "</tr>";
echo "<tr>";
Exemple #10
0
<?php

include "../../../myDatabase.php";
$stockCardNo = $_GET['stockCardNo'];
$startLetter = $_GET['startLetter'];
$ro = new database();
$ro->coconutDesign();
echo "Description:&nbsp;<b>" . $ro->selectNow("inventoryStockCard", "description", "stockCardNo", $stockCardNo) . "</b>";
echo "<br>";
echo "Generic:&nbsp;<b>" . $ro->selectNow("inventoryStockCard", "genericName", "stockCardNo", $stockCardNo) . "</b>";
$ro->coconutFormStart("get", "rename1.php");
$ro->coconutHidden("stockCardNo", $stockCardNo);
$ro->coconutHidden("startLetter", $startLetter);
echo "<Br><br>";
echo "New Description:";
$ro->coconutTextBox("description", $ro->selectNow("inventoryStockCard", "description", "stockCardNo", $stockCardNo));
echo "<br><bR>";
echo "New Generic Name";
$ro->coconutTextBox("genericName", $ro->selectNow("inventoryStockCard", "genericName", "stockCardNo", $stockCardNo));
echo "<br><br>";
$ro->coconutButton("Rename");
$ro->coconutFormStop();
Exemple #11
0
<?php

include "../../../myDatabase.php";
$packageName = $_GET['packageName'];
$packagePrice = $_GET['packagePrice'];
$ro = new database();
$ro->coconutDesign();
echo "<Br><br><Br>";
$ro->coconutFormStart("get", "editPackage1.php");
$ro->coconutHidden("packageName", $packageName);
$ro->coconutBoxStart("400", "100");
echo "<br>";
echo "<table border=0>";
echo "<Tr>";
echo "<td>Price</tD>";
echo "<td>";
$ro->coconutTextBox("packagePrice", $packagePrice);
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
Exemple #12
0
$ro = new database();
$ro->coconutDesign();
echo "<Br><Br>";
$ro->coconutFormStart("get", "addPayment1.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("discount", "");
$ro->coconutHidden("receiptType", "");
$ro->coconutHidden("creditCardNo", "");
$ro->coconutHidden("shift", "1");
$ro->coconutBoxStart("500", "250");
echo "<Br>";
echo "<Table border=0>";
echo "<tr>";
echo "<TD>Name&nbsp;&nbsp;</tD>";
echo "<td>";
$ro->coconutTextBox("registrationNo", $paymentType . "");
echo "</tD>";
echo "</tr>";
echo "<Tr>";
echo "<Td>Payment For&nbsp;&nbsp;</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>";
echo "<option value='UTZ'>UTZ</option>";
Exemple #13
0
<?php

include "../../myDatabase.php";
$ro = new database();
$ro->coconutDesign();
echo "<Br><Br>";
$ro->coconutFormStart("get", "addCasetype1.php");
$ro->coconutBoxStart("500", "280");
echo "<center><br><br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Casetype") . "&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("casetype", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Medicine") . "&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("medicine", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Supplies") . "&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("supplies", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Room") . "&nbsp;</td>";
echo "<td>";
Exemple #14
0
$description = $_GET['description'];
$supplierCode = $_GET['supplierCode'];
$username = $_GET['username'];
$ro = new database();
$ro->coconutDesign();
echo "<Br><Br><br>";
$ro->coconutFormStart("get", "editSupplier1.php");
$ro->coconutHidden("supplierCode", $supplierCode);
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "222");
echo "<br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>Supplier Name</tD>";
echo "<td>";
$ro->coconutTextBox("supplierName", $supplierName);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Address</tD>";
echo "<td>";
$ro->coconutTextBox("address", $address);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Contact Person</tD>";
echo "<td>";
$ro->coconutTextBox("contactPerson", $contactPerson);
echo "</td>";
echo "</tr>";
echo "<tr>";
$noteNo = $_GET['noteNo'];
$noteType = $_GET['noteType'];
$noteBy = $_GET['noteBy'];
echo "\n\n<style type='text/css'>\n.message {\n\tborder: 1px solid #000;\n\tcolor: #000;\n\theight:329px;\n\twidth: 570px;\n\tpadding:4px 4px 4px 2px;\n}\n\n</style>\n\n";
$ro = new database();
$ro->coconutDesign();
$ro->coconutFormStart("post", "editNote1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("noteNo", $noteNo);
$ro->coconutBoxStart("650", "463");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Note By") . "</td>";
echo "<td>";
$ro->coconutTextBox("noteBy", $noteBy);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Note Type") . "</td>";
echo "<td>";
$ro->coconutTextBox_readonly("noteType", $noteType);
echo "</td>";
echo "</tr>";
echo "</table>";
echo $ro->coconutText("<font color=red>Message</font>");
echo "<Br>";
echo "\n<textarea name='noteMessage' class='message'>\n{$noteMessage}\n</textarea>";
echo "<br><br>";
//$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
Exemple #16
0
<?php

include "../../../myDatabase.php";
$registrationNo = $_GET['registrationNo'];
$ro = new database();
$ro->coconutDesign();
echo "<Br><br><br>";
$ro->coconutFormStart("get", "newPlan1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
echo "<Table border=0>";
echo "<tr>";
echo "<td>";
echo "Medicine:&nbsp;";
echo "</td>";
echo "<td>";
$ro->coconutTextBox("medicine", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>";
echo "Timing:&nbsp;";
echo "</td>";
echo "<td>";
$ro->coconutTextBox("timing", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>";
echo "Instruction:&nbsp;";
echo "</td>";
echo "<td>";
echo "<br><table border=0 cellpadding=0 cellspacing=0>";
echo "<input type=hidden name='inventoryType' value='medicine'>";
echo "<input type=hidden name='addedBy' value='{$username}'>";
echo "<tr>";
echo "<td><font class='labelz'>Description&nbsp;</font></td>";
echo "<td><input type=text class='txtBox' name='description' autocomplete='off'></td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>Generic&nbsp;</font></td>";
echo "<td><input type=text class='txtBox' name='generic' autocomplete='off'></td>";
echo "</tr>";
echo "<tr>";
echo "<tr>";
echo "<td><font class='labelz'>Preparation&nbsp;</font></td>";
echo "<td>";
$ro->coconutTextBox("preparation", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>Unit Cost&nbsp;</font></td>";
echo "<td><input type=text class='shortField' name='unitcost' autocomplete='off'></td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>Quantity&nbsp;</font></td>";
echo "<td><input type=text class='shortField' name='quantity' autocomplete='off'></td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>Expiration&nbsp;</font></td>";
echo "<td>";
echo "\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 "&nbsp;<select name='day' width='10'>";
Exemple #18
0
$address = $_POST['address'];
$username = $_POST['username'];
$ro = new database();
$ro->coconutDesign();
echo "<br><br><br>";
echo "<center><font color=red>" . $completeName . "</font></center>";
$ro->coconutFormStart("post", "/COCONUT/payroll/editInfoNow.php");
$ro->coconutHidden("employeeID", $employeeID);
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "283");
echo "<br>";
echo "<table border=0>";
echo "<Tr>";
echo "<td>Position&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("position", $position);
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<td>Salary/Rate&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("salaryBasic", $salaryBasic);
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<td>Department&nbsp;</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("department");
echo "<option value='{$department}'>{$department}</option>";
echo "<option value='LABORATORY'>LABORATORY</option>";
echo "<option value='RADIOLOGY'>RADIOLOGY</option>";
Exemple #19
0
<?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();
Exemple #20
0
$desc = $_GET['desc'];
$ro = new database();
$ro->coconutDesign();
$ro->coconutFormStart("get", "editFloor1.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("floorNo", $floorNo);
$ro->coconutHidden("show", $show);
$ro->coconutHidden("desc", $desc);
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", $description);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Branch") . "</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("branch");
echo "<option value='{$branch}'>{$branch}</option>";
$ro->showOption("branch", "branch");
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "</table>";
$ro->coconutButton("Proceed");
$ro->coconutFormStop();
$ro->coconutBoxStop();
    echo "<tr>";
    echo "<td>PHIC Type:</td>";
    echo "<td>";
    echo "<select name='phicType' class='comboBox'>";
    echo "<option value='" . $ro->getPHICtype_patientRecord() . "'>" . $ro->getPHICtype_patientRecord() . "</option>";
    echo "<option value=''><option>";
    $ro->showOption("phicType", "type");
    echo "</select>";
    echo "</td>";
    echo "</tr>";
    $pinNo = preg_split("/\\-/", $ro->getRegistrationDetails_PIN());
    //kkuning ung phic pin No
    echo "<tr>";
    echo "<td>PhilHealth PIN#:</td>";
    echo "<td>";
    $ro->coconutTextBox("pinNo", $ro->getRegistrationDetails_PIN());
    echo "</td>";
    echo "</tr>";
} else {
    $ro->coconutTextBox("pinNo");
}
echo "<tr>";
echo "<td>Company&nbsp;</td>";
echo "<td>\n<select name='company' class='comboBox'>";
echo "<option>" . $ro->getRegistrationDetails_company() . "</option>";
echo "<option value=''>&nbsp;</option>";
$ro->getAllCompany();
echo "</select></td>";
echo "</tr>";
echo "<tr>";
echo "<td>Time Register&nbsp;</td>";
Exemple #22
0
include "../../myDatabase.php";
$noteType = $_GET['noteType'];
$userName = $_GET['username'];
$registrationNo = $_GET['registrationNo'];
echo "\n\n<style type='text/css'>\n.message {\n\tborder: 1px solid #000;\n\tcolor: #000;\n\theight:329px;\n\twidth: 570px;\n\tpadding:4px 4px 4px 2px;\n}\n\n</style>\n\n";
$ro = new database();
$ro->coconutDesign();
$ro->coconutFormStart("post", "addNote1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutBoxStart("650", "463");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Note By") . "</td>";
echo "<td>";
$ro->coconutTextBox("noteBy", $userName);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Note Type") . "</td>";
echo "<td>";
$ro->coconutTextBox_readonly("noteType", $noteType);
echo "</td>";
echo "</tr>";
echo "</table>";
echo $ro->coconutText("<font color=red>Message</font>");
echo "<Br>";
echo "\n<textarea name='noteMessage' class='message'>\n\n</textarea>";
echo "<br><br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
Exemple #23
0
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>";
$ro->coconutTextBox("description", "");
Exemple #24
0
<?php

include "../myDatabase.php";
$ro = new database();
$ro->coconutDesign();
echo "<br><br><br>";
$ro->coconutFormStart("post", "addDiscountType1.php");
$ro->coconutBoxStart("500", "100");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Discount Type</td>";
echo "<td>";
$ro->coconutTextBox("discountType", "");
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
Exemple #25
0
echo "</tr>";
echo "<tr>";
echo "<td>Diet:</td>";
echo "<td>";
echo "<select name='diet' class='comboBox'>";
echo "<option value='" . $ro->selectNow("dietList", "dietNo", "dietNo", $ro->selectNow("registrationDetails", "diet", "registrationNo", $registrationNo)) . "'> " . $ro->selectNow("dietList", "dietName", "dietNo", $ro->selectNow("registrationDetails", "diet", "registrationNo", $registrationNo)) . " </option>";
$ro->showOption_with_value("dietList", "dietName", "dietNo");
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>";
<?php

include "../../myDatabase.php";
$registrationNo = $_GET['registrationNo'];
$ro = new database();
$ro->coconutDesign();
$ro->getPatientProfile($registrationNo);
echo "<br><font color=red>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</font>";
echo "<Br>";
echo "<font color=black>{$registrationNo}</font>";
echo "<Br><br><br>";
$ro->coconutFormStart("get", "rBanny_discount.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutBoxStart("500", "90");
echo "<Br>";
echo "<table>";
echo "<tr>";
echo "<td>Discount:&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("discount", "");
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
$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>";
echo "<tr>";
echo "<td>IPD Price (Ward)</td>";
echo "<td>";
$ro->coconutTextBox_short("ipdprice", $ward);
echo "</td>";
echo "</tr>";
echo "<tr>";
Exemple #28
0
?>
/COCONUT/ADMIN/request/initializeRequest.php"><font color=white>Home</font><span class="arrow"></span></a></li>
<li><a href="#" class='odd'><font color=yellow>Admin Approval</font><span class="arrow"></span></a></li>
<li>&nbsp;&nbsp;</li>
</ol>
<?php 
echo '<div class="menu"><ul>';
$ro->coconutUpperMenuStop();
?>
<br><br><br><br><Br>

<?php 
$ro->coconutBoxStart("500", "100");
$ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/ADMIN/request/table.php");
?>
<center>
<p>Date:&nbsp;<?php 
$ro->coconutTextBox("date", date("Y-m-d"));
?>
</p>
</center>
<?php 
$ro->coconutButton("Proceed");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("makeDo", "");
$ro->coconutFormStop();
$ro->coconutBoxStop();
?>
</body>
</html>
<?php

include "../myDatabase.php";
$ro = new database();
$ro->coconutDesign();
$ro->coconutFormStart("get", "networkConfiguration1.php");
echo "<center><br><br><Br><font size=3>Network &nbsp;</font><br>";
$ro->coconutBoxStart("400", "130");
echo "<br><br>";
$ro->coconutTextBox("ip", $ro->getMyUrl());
echo "<br><br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
Exemple #30
0
<title>Add Discount</title>
<?php 
include "../../myDatabase.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database();
$ro->coconutDesign();
$ro->getPatientProfile($registrationNo);
$target = "addDiscount1.php";
echo "\n<form method='get' action='{$target}'>\n<center>\n<br />\n<div style='border:1px solid #000000; width:500px; height:auto; border-color:black black black black;'>\n<br />\n<table border=0 cellpadding=0 cellspacing=0>\n";
if ($ro->selectNow("registeredUser", "module", "username", $username) == "CASHIER" || $ro->selectNow("registeredUser", "module", "username", $username) == "BILLING" || $ro->selectNow("registeredUser", "module", "username", $username) == "PHARMACY") {
    if ($ro->selectNow("registrationDetails", "type", "registrationNo", $registrationNo) == "IPD") {
        echo "<tr>";
        echo "<td>Discount Cash</td>";
        echo "<td>";
        $ro->coconutTextBox("discount", "");
        echo "</td>";
        echo "</tr>";
        echo "<tr>";
        echo "<td>Discount Company</td>";
        echo "<td>";
        $ro->coconutTextBox("companyDiscount", "");
        echo "</td>";
        echo "</tr>";
    } else {
        $ro->coconutHidden("discount", "");
        $ro->coconutHidden("companyDiscount", "");
    }
    echo "<Tr>";
    echo "<td>Discount Type</td>";
    echo "<td>";