Exemplo n.º 1
0
<?php

include "../../../myDatabase2.php";
$description = $_GET['description'];
$ro = new database2();
$ro->deptInventory($description, "LABORATORY");
Exemplo n.º 2
0
<?php

include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$targetAmount = $_GET['targetAmount'];
$ro = new database2();
$itemz = preg_split("/\\_/", $ro->getMaximumTotal_rBanny($registrationNo, "Room and Board"));
$ro->getPatientChargesToEdit($itemz[1]);
if ($ro->getTotal("cashUnpaid", "Room And Board", $registrationNo) > 0) {
    echo "<br><Br><br><br><br>";
    echo "<font color=red>R-Banny is now Calculating Room</font><br>";
    echo "Total:&nbsp;" . $itemz[0];
    echo "<br>";
    echo "Item#:&nbsp;" . $itemz[1];
    if ($targetAmount >= $itemz[0]) {
        $ro->editNow("patientCharges", "itemNo", $itemz[1], "cashUnpaid", "0");
        $ro->editNow("patientCharges", "itemNo", $itemz[1], "Company", "0");
        $ro->editNow("patientCharges", "itemNo", $itemz[1], "phic", $itemz[0]);
    } else {
        //echo "<br><Br><br><br><font color=blue size=5>R-Banny is Having a trouble in Computation</font>";
        $newCash = $itemz[0] - $targetAmount;
        $newPHIC = $ro->selectNow("patientCharges", "total", "itemNo", $itemz[1]) - $newCash;
        $ro->editNow("patientCharges", "itemNo", $itemz[1], "cashUnpaid", $newCash);
        $ro->editNow("patientCharges", "itemNo", $itemz[1], "Company", "0");
        $ro->editNow("patientCharges", "itemNo", $itemz[1], "phic", $newPHIC);
    }
    $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/rBanny/consumedRoom.php?registrationNo={$registrationNo}&targetAmount={$targetAmount}");
} else {
    $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/rBanny/consumedMeds.php?registrationNo={$registrationNo}&targetAmount={$targetAmount}");
}
Exemplo n.º 3
0
<?php

include "../myDatabase2.php";
$username = $_GET['username'];
$datez = $_GET['datez'];
$from = $_GET['from'];
$ro = new database2();
//echo "<font size=2>Date&nbsp;</font>&nbsp;<font size=2 color=red>".$datez."</font>";
echo "<form method='get' action='/COCONUT/opdRegistration.php'>";
$ro->coconutHidden("from", $from);
echo "<input type='text' style='border:1px solid #ff0000;' name='datez' value='{$datez}'>";
echo "</form>";
$ro->getPatientForReg($datez, $username);
Exemplo n.º 4
0
<?php

include "../../../myDatabase2.php";
$inventoryCode = $_GET['inventoryCode'];
$department = $_GET['department'];
$description = $_GET['description'];
$date = $_GET['date'];
$time = $_GET['time'];
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
echo "<br><br><br><br><center><font size=2 color=red>{$description}</font></center>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/inventory/department/inventoryLog.php");
$ro->coconutHidden("inventoryCode", $inventoryCode);
$ro->coconutHidden("department", $department);
$ro->coconutHidden("description", $description);
$ro->coconutHidden("date", $date);
$ro->coconutHidden("time", $time);
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "85");
echo "<br>";
echo "<table border=0>";
echo "<Tr>";
echo "<td>QTY:&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox_short("qty", "1");
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
Exemplo n.º 5
0
<?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);
            }
Exemplo n.º 6
0
<?php

include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$ro = new database2();
$ro->getPatientProfile($registrationNo);
?>

<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>

<a href='#' onClick="printF('printData')" style="text-decoration:none;"><?php 
echo $ro->coconutImages("printer.jpeg");
?>
 <font color=red>Print</font></a><Br><Br>

<div id="printData">

<?php 
echo "<Center><font size=3>" . $ro->getReportInformation("hmoSOA_name") . "</font></center>";
echo "<center><font size=2>" . $ro->getReportInformation("hmoSOA_address") . "</font></center>";
echo "<Br>\n<center><b><font size=2>STATEMENT OF ACTUAL CHARGES</font></b></center>\n";
Exemplo n.º 7
0
<?php

include "../../myDatabase2.php";
$month = $_GET['month'];
$day = $_GET['day'];
$year = $_GET['year'];
$ro = new database2();
$mydate = $year . "-" . $month . "-" . $day;
$ro->showIssuedRequest($mydate);
Exemplo n.º 8
0
<?php

include "../../../myDatabase2.php";
$ro = new database2();
$ro->coconutDesign();
echo "<br><br>";
$ro->coconutFormStart("get", "labCensus.php");
$ro->coconutBoxStart("500", "160");
echo "<br>";
echo "<table border=0>";
echo "Year-Month-Day";
echo "<tr>";
echo "<td>From</td>";
echo "<td>";
$ro->coconutComboBoxStart_short("fromYear");
for ($x = date("Y"); $x > 2000; $x--) {
    echo "<option value={$x}>{$x}</option>";
}
$ro->coconutBoxStop();
echo "</td>";
echo "<td>";
$ro->coconutComboBoxStart_short("fromMonth");
for ($x = 1; $x <= 12; $x++) {
    if ($x < 10) {
        echo "<option value=0{$x}>0{$x}</option>";
    } else {
        echo "<option value={$x}>{$x}</option>";
    }
}
$ro->coconutBoxStop();
echo "</td>";
Exemplo n.º 9
0
include "../../myDatabase2.php";
$itemNo = $_GET['itemNo'];
$month = $_GET['month'];
$day = $_GET['day'];
$year = $_GET['year'];
$fromTime_hour = $_GET['fromTime_hour'];
$fromTime_minutes = $_GET['fromTime_minutes'];
$fromTime_seconds = $_GET['fromTime_seconds'];
$toTime_hour = $_GET['toTime_hour'];
$toTime_minutes = $_GET['toTime_minutes'];
$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);
<?php

include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$itemNo = $_GET['itemNo'];
$description = $_GET['description'];
$quantity = $_GET['quantity'];
$username = $_GET['username'];
$show = $_GET['show'];
$desc = $_GET['desc'];
$ro = new database2();
/*
if( ($ro->getTitle($itemNo) == "MEDICINE" || $ro->getTitle($itemNo) == "SUPPLIES")  && $ro->selectNow("registeredUser","module","username",$username) != "PHARMACY" ) {
echo "<br><Br><Br><font color=red>PHARMACY NA LANG MAG RERETURN.
<bR>
NAHIYA AKO SAYO EH BKA BUSY KA. =)</font>";
*/
//}else {
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/verifyDelete_redirect.php?registrationNo={$registrationNo}&itemNo={$itemNo}&description={$description}&quantity={$quantity}&username={$username}&show={$show}&desc={$desc}");
//}
Exemplo n.º 11
0
include "../myDatabase2.php";
$month = $_GET['month'];
$day = $_GET['day'];
$year = $_GET['year'];
$fromTime_hour = $_GET['fromTime_hour'];
$fromTime_minutes = $_GET['fromTime_minutes'];
$fromTime_seconds = $_GET['fromTime_seconds'];
$toTime_hour = $_GET['toTime_hour'];
$toTime_minutes = $_GET['toTime_minutes'];
$toTime_seconds = $_GET['toTime_seconds'];
$module = $_GET['module'];
$username = $_GET['username'];
$branch = $_GET['branch'];
$myDate = $year . "-" . $month . "-" . $day;
$ro = new database2();
echo "<html>";
echo "<head>";
echo "<script src='http://" . $ro->getMyUrl() . "/jquery.js'></script>";
echo "<script>";
?>
function playBuzzer(){
        $("body").append("<embed src='doorbell.wav' autostart='true' loop='false' width='2' height='0'></embed>");
}

     var aSound = document.createElement('audio');
     aSound.setAttribute('src', 'doorbell.wav');

<?php 
if ($module == "PHARMACY") {
    $tag = "MEDICINE";
Exemplo n.º 12
0
<?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>";
Exemplo n.º 13
0
<?php

include "../../../myDatabase2.php";
$registrationNo = $_POST['registrationNo'];
$itemNo = $_POST['itemNo'];
$subjective = $_POST['subjective'];
$objective = $_POST['objectives'];
$assessment = $_POST['assessment'];
$ro = new database2();
$ro->getBatchNo();
$myFile = $ro->getReportInformation("homeRoot") . "/COCONUT/trackingNo/batchNo.dat";
$fh = fopen($myFile, 'r');
$batchNo = fread($fh, 100);
fclose($fh);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/android/doctor/mobileAddCharges.php?batchNo={$batchNo}&registrationNo={$registrationNo}&itemNo={$itemNo}&subjective={$subjective}&objective={$objective}&assessment={$assessment}&username=ricky");
Exemplo n.º 14
0
<?php

include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$package = $_GET['package'];
$ro = new database2();
$ro->editNow("registrationDetails", "registrationNo", $registrationNo, "prePackage", $package);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientProfile_handler.php?registrationNo={$registrationNo}&username={$username}");
Exemplo n.º 15
0
$dateRegistered = $_GET['dateRegistered'];
$attendingDoctor = $_GET['attendingDoctor'];
$admittingDoctor = $_GET['admittingDoctor'];
$diet = $_GET['diet'];
$pulse = $_GET['pulse'];
$respiratory = $_GET['respiratory'];
$from = $_GET['from'];
$infectionControl = $_GET['infectionControl'];
$service = $_GET['service'];
$serviceOthers = $_GET['serviceOthers'];
if ($service == 'Others') {
    $newservice = "Others-" . $serviceOthers;
} else {
    $newservice = $service;
}
$ro = new database2();
?>

<link rel="stylesheet" type="text/css" href="http://<?php 
echo $ro->getMyUrl();
?>
/COCONUT/flow/rickyCSS1.css" />

<script type='text/javascript'>
$("#breadcrumbs a").hover(
    function () {
        $(this).addClass("hover").children().addClass("hover");
        $(this).parent().prev().find("span.arrow:first").addClass("pre_hover");
    },
    function () {
        $(this).removeClass("hover").children().removeClass("hover");
Exemplo n.º 16
0
<?php

include "../../myDatabase2.php";
$username = $_GET['username'];
$registrationNo = $_GET['registrationNo'];
$status = $_GET['status'];
$ro = new database2();
echo "\n<style type='text/css'>\n.head {\nfont-size:13px;\n}\n\n.find {\n\tborder: 1px solid #000;\n\tcolor: #000;\n\theight: 25px;\n\twidth: 370px;\n\tborder-color:black black black black;\n\tbackground:#FFFFFF url(http://" . $ro->getMyUrl() . "/COCONUT/myImages/search.jpeg) no-repeat 4px 4px;\n\tpadding:4px 4px 4px 22px;\n}\n\n\n.button {\n\tborder: 1px solid #000;\n\tcolor: #fff;\n\theight: 23px;\n\twidth: 70px;\n\tborder-color:black black black black;\n\ttext-align:center;\n\tbackground-color:#3b5998;\n}\n\n</style>\n\n";
echo "<script type='text/javascript'>\n\nvar charges = 'Find Charges';\nfunction SetMsg (txt,active) {\n    if (txt == null) return;\n    \n \n    if (active) {\n        if (txt.value == charges) txt.value = '';                     \n    } else {\n        if (txt.value == '') txt.value = charges;\n    }\n}\n\n</script>";
echo "<form method='get' action='patientCharges.php' >";
echo "<input type=text name='desc'\t\n\tonfocus='SetMsg(this, true);'\n    \tonblur='SetMsg(this,false);' \n\tvalue='Find Charges'\n\tautocomplete='off'\t\n\tclass='find'>&nbsp;";
echo "<input type=hidden name='show' value='search'>";
echo "<input type=hidden name='registrationNo' value='{$registrationNo}'>";
echo "<input type=hidden name='username' value='{$username}'>";
echo "<form>";
echo "<br><br>&nbsp;";
echo "<table border=1 cellpadding=0 cellspacing=0 rules=all>";
echo "<tr>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'></font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>Description</font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>Price</font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>QTY</font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>Disc</font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>Total</font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>Time</font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>Date</font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>User</font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>Service</font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>Status</font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>Payment</font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>Balance</font>&nbsp;</th>";
Exemplo n.º 17
0
<?php

include "../../../myDatabase2.php";
$checkedNo = $_GET['checkedNo'];
$ro = new database2();
$ro->coconutDesign();
echo "<Br>";
$ro->coconutFormStart("get", "voucherList.php");
echo "Invoice No#&nbsp;" . $ro->coconutTextBox_return("checkedNo", "");
$ro->coconutFormStop();
$ro->listVoucher($checkedNo);
<?php

include "../../../myDatabase2.php";
$stockCardNo = $_GET['stockCardNo'];
$description = $_GET['description'];
$movementNo = $_GET['movementNo'];
$ro = new database2();
$ro->coconutDesign();
echo "<br>";
echo "<center><b><i>" . $description . "</i></b></center>";
$ro->coconutBoxStart("400", "400");
echo "<Br>";
echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/Reports/inventoryReport/inventoryMovementOption1.php?menu=beginningBalance&stockCardNo={$stockCardNo}' style='text-decoration:none; color:red;'>Beginning Balance</a>";
echo "<br><Br>";
if ($movementNo != "") {
    echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/Reports/inventoryReport/inventoryMovementOption1.php?menu=firstThreePurchases&stockCardNo={$stockCardNo}&movementNo={$movementNo}' style='text-decoration:none; color:red;'>3 months Purchases Jan/Feb/Mar</a>";
    echo "<hr>";
    echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/Reports/inventoryReport/inventoryMovementOption1.php?menu=secondThreePurchases&stockCardNo={$stockCardNo}&movementNo={$movementNo}' style='text-decoration:none; color:blue;'>3 months Purchases Apr/May/Jun</a>";
    echo "<hr>";
    echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/Reports/inventoryReport/inventoryMovementOption1.php?menu=thirdThreePurchases&stockCardNo={$stockCardNo}&movementNo={$movementNo}' style='text-decoration:none; color:red;'>3 months Purchases Jul/Aug/Sep</a>";
    echo "<hr>";
    echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/Reports/inventoryReport/inventoryMovementOption1.php?menu=fourthThreePurchases&stockCardNo={$stockCardNo}&movementNo={$movementNo}' style='text-decoration:none; color:blue;'>3 months Purchases Oct/Nov/Dec</a>";
    echo "<hr>";
    echo "<br><br><br>";
    echo "<hr>";
    echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/Reports/inventoryReport/inventoryMovementOption1.php?menu=medicineType&stockCardNo={$stockCardNo}&movementNo={$movementNo}' style='text-decoration:none; color:red;'>Medicine Type</a>";
    echo "<hr>";
    echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/inventory/addInventory.php?username=xx&status=old&stockCardNo={$stockCardNo}&description={$description}&genericName=" . $ro->selectNow("inventoryStockCard", "genericName", "stockCardNo", $stockCardNo) . "' style='text-decoration:none; color:blue;'>Add New Quantity</a>";
    echo "<hr>";
} else {
    echo "<a href='#' style='text-decoration:none; color:gray;'>3 months Purchases Jan/Feb/Mar</a>";
Exemplo n.º 19
0
<?php

include "../../../myDatabase2.php";
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
$ro->getRequestNo();
$myFile = $ro->getReportInformation("homeRoot") . "/COCONUT/trackingNo/requestNo.dat";
$fh = fopen($myFile, 'r');
$requestNo = fread($fh, 100);
fclose($fh);
/*
echo $username;
echo "<br>";
echo $requestNo;
*/
echo "<Br><Br><Br><Br>";
$ro->coconutFormStart("get", "requestHandler.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("requestNo", $requestNo);
$ro->coconutBoxStart("500", "80");
echo "<Br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>My Department:&nbsp;</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("department");
echo "<option value='ER E Cart'>ER</option>";
echo "<option value='ICU E Cart'>ICU</option>";
echo "<option value='OR E Cart'>OR</option>";
echo "<option value='DR E Cart'>DR</option>";
Exemplo n.º 20
0
<?php

include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$refno = $_GET['refno'];
$amount = $_GET['amount'];
$remarks = $_GET['remarks'];
$month = $_GET['month'];
$day = $_GET['day'];
$year = $_GET['year'];
$ro = new database2();
echo "\n<script language='javascript' type='text/javascript'>\nfunction closeWindow() {\nwindow.open('','_parent','');\nwindow.close();\n}\n</script> \n";
$datez = $month . "_" . $day . "_" . $year;
$ro->phicReconcile($registrationNo, $refno, $amount, $remarks, $datez);
echo "<Br><Br><Br>";
echo "<a href='javascript:closeWindow();' style='text-decoration:none; color:red;'>CLOSE</a>";
Exemplo n.º 21
0
<?php

include "../../../myDatabase2.php";
$transactionNo = $_POST['transactionNo'];
$subTitle = $_POST['subTitle'];
$paidTo = $_POST['paidTo'];
$narration = $_POST['narration'];
$invoiceNo = $_POST['invoiceNo'];
$datedMonth = $_POST['datedMonth'];
$datedDay = $_POST['datedDay'];
$datedYear = $_POST['datedYear'];
$debit = $_POST['debit'];
$credit = $_POST['credit'];
$username = $_POST['username'];
$dateEncoded = $_POST['dateEncoded'];
$type = $_POST['type'];
$ro = new database2();
$acctHeads = preg_split("/\\_/", $subTitle);
$accountNo = $acctHeads[0];
$accountTitle = $acctHeads[1];
$dated = $datedYear . "-" . $datedMonth . "-" . $datedDay;
$ro->addDisbursement($transactionNo, $accountNo, $accountTitle, $paidTo, $narration, $invoiceNo, $dated, $debit, $credit, $username, $dateEncoded, $type);
$ro->coconutFormStart("GET", "addEntry.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("transactionNo", $transactionNo);
$ro->coconutHidden("type", $type);
$ro->coconutButton("<< Back");
$ro->coconutFormStop();
Exemplo n.º 22
0
<?php

include "../../myDatabase2.php";
$batchNo = $_GET['batchNo'];
$username = $_GET['username'];
$ro = new database2();
$ro->getRequestForCSR_itemized($batchNo, $username);
Exemplo n.º 23
0
<?php

include "../../../myDatabase2.php";
$date = $_GET['date'];
$username = $_GET['username'];
$ro = new database2();
$ro->deleteNow("generatorCharge", "dateStart", $date);
echo "<center>";
echo "<Br><br><Br><Br><Br><Br>";
echo "<font color=red>Deleted!</font>";
echo "</center>";
Exemplo n.º 24
0
<?php

include "../../../myDatabase2.php";
$month = $_GET['month'];
$day = $_GET['day'];
$year = $_GET['year'];
$type = $_GET['type'];
$month_discharged = $_GET['month_discharged'];
$year_discharged = $_GET['year_discharged'];
$ro = new database2();
$date = $year . "-" . $month . "-" . $day;
$discharged = $year_discharged . "-" . $month_discharged . "%%%%%%%%%";
if ($month_discharged == "01") {
    $monthWord = "January";
} else {
    if ($month_discharged == "02") {
        $monthWord = "February";
    } else {
        if ($month_discharged == "03") {
            $monthWord = "March";
        } else {
            if ($month_discharged == "04") {
                $monthWord = "April";
            } else {
                if ($month_discharged == "05") {
                    $monthWord = "May";
                } else {
                    if ($month_discharged == "06") {
                        $monthWord = "June";
                    } else {
                        if ($month_discharged == "07") {
Exemplo n.º 25
0
<?php

include "../../../myDatabase2.php";
$month = $_GET['month'];
$day = $_GET['day'];
$year = $_GET['year'];
$month1 = $_GET['month1'];
$day1 = $_GET['day1'];
$year1 = $_GET['year1'];
$type = $_GET['type'];
$ro = new database2();
$ro->phic_reconcillation_acct($month, $day, $year, $month1, $day1, $year1, $type);
Exemplo n.º 26
0
<?php

include "../../../myDatabase2.php";
$doctorCode = $_GET['doctorCode'];
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
echo "<link rel='stylesheet' type='text/css' href='../css/default.css' />";
echo "\n<center>\n<header class='clearfix' style='margin:15px;'>\n<span>Synapse System</span>\n</header>\n";
echo "<div style='background:#47a3da; margin:10px; height:auto; width:150px; border-radius:15px;' >";
echo "<Br>";
echo "<table border='0' width='150px;'>";
echo "<tr>\n<th><font color='white' size=4>Name</font></th>\n</tr>";
$ro->androidViewPatient($doctorCode);
echo "</table>";
echo "</div>";
echo "<br>\n<a href='http://" . $ro->getMyUrl() . "/COCONUT/android/doctor/doctorInterface.php?username={$username}&doctorCode={$doctorCode}' style='text-decoration:none; color:#47a3da;' target='_parent'>Back To Menu</a>";
Exemplo n.º 27
0
<?php

include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$itemNo = $_GET['itemNo'];
$ro = new database2();
$ro->getRadiologyAttachment($registrationNo, $itemNo);
Exemplo n.º 28
0
<?php

include "../../../myDatabase2.php";
$month = $_GET['month'];
$day = $_GET['day'];
$year = $_GET['year'];
$ro = new database2();
echo "<br><br><center>";
echo "<Table width='80%' border=0 cellspacing=0 cellpadding=0>";
echo "<Tr>";
echo "<th>Patient</th>";
echo "<th>Total</th>";
echo "<th>Balance</th>";
echo "<th>Paid</th>";
echo "</tr>";
echo "<Tr>";
echo "<td>&nbsp;</td>";
echo "<td>&nbsp;</td>";
echo "<td>&nbsp;</td>";
echo "<td>&nbsp;</td>";
echo "</tr>";
$ro->newCollectionReport($month, $day, $year);
echo "</table>";
Exemplo n.º 29
0
<?php

include "../../myDatabase2.php";
$ro = new database2();
$ro->readyForMarkup();
Exemplo n.º 30
0
<?php

include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$ro = new database2();
$ro->getPatientProfile($registrationNo);
echo "<div style='background:#47a3da; border-radius:10px; width:550px; height:50px;' >";
echo "<Br>";
echo "&nbsp;&nbsp;<font color='white'><b>Patient:</b></font> <font color='white'><i>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</i></font>";
echo "</div>";
echo "<Br><br>";
$ro->mobileHospitalCharges($registrationNo, "LABORATORY");
$ro->mobileHospitalCharges($registrationNo, "RADIOLOGY");
$ro->mobileHospitalCharges($registrationNo, "MEDICINE");