Пример #1
0
<?php

include "packageControl.php";
$desc = $_GET['desc'];
$packageName = $_GET['packageName'];
$package = new hospitalPackage();
$package->searchItem($desc, $packageName);
Пример #2
0
<?php

include "packageControl.php";
$desc = $_GET['desc'];
$packageName = $_GET['packageName'];
$packagePrice = $_GET['packagePrice'];
$phicPrice = $_GET['phicPrice'];
$package = new hospitalPackage();
$package->searchDoctor($desc, $packageName, $packagePrice, $phicPrice);
Пример #3
0
<?php

include "../packageControl.php";
include "../../../myDatabase1.php";
$packageName = $_GET['packageName'];
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$package = new hospitalPackage();
$ro = new database1();
/*
$ro->getBatchNo();
$myFile = $ro->getReportInformation("homeRoot")."/COCONUT/trackingNo/batchNo.dat";
$fh = fopen($myFile, 'r');
$batchNo = fread($fh, 100);
fclose($fh);
*/
$batchNo = $ro->selectNow("trackingNo", "value", "name", "batchNo");
echo "<center><font size=2 color=red>UNCHECK means the medicine/supplies is not available in the pharmacy</font>";
echo "<Br><Br>";
$package->showAddedPackage_onPatient($packageName, $registrationNo, $username, $batchNo);
Пример #4
0
<?php

include "packageControl.php";
$desc = $_GET['desc'];
$packageName = $_GET['packageName'];
$packagePrice = $_GET['packagePrice'];
$phicPrice = $_GET['phicPrice'];
$package = new hospitalPackage();
$package->searchItem($desc, $packageName, $packagePrice, $phicPrice);
<?php

include "../packageControl.php";
$charges = $_GET['charges'];
$packageNo = $_GET['packageNo'];
$ro = new hospitalPackage();
$ro->searchReplaceItem($packageNo, $charges);
Пример #6
0
<?php

include "packageControl.php";
$desc = $_GET['desc'];
$packageName = $_GET['packageName'];
$searchFrom = $_GET['searchFrom'];
$package = new hospitalPackage();
$package->searchInventory($desc, $packageName, $searchFrom);
Пример #7
0
<?php

include "packageControl.php";
$desc = $_POST['desc'];
$packageName = $_POST['packageName'];
$packagePrice = $_POST['packagePrice'];
$qty = $_POST['qty'];
$unitcost = $_POST['unitcost'];
$Added = $_POST['Added'];
$package = new hospitalPackage();
$totalPrice = $unitcost * $qty;
$package->addPackageInclude($packageName, $desc, $qty, $packagePrice, $totalPrice, $Added);
Пример #8
0
<?php

include "../packageControl.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$package = new hospitalPackage();
$package->getMedicalPackage_onPatient($registrationNo, $username);
Пример #9
0
<?php

include "../packageControl.php";
$package = new hospitalPackage();
$package->getMedicalPackage();
<?php

include "../packageControl.php";
$charges = $_GET['charges'];
$packageNo = $_GET['packageNo'];
$inventoryLocation = $_GET['inventoryLocation'];
$ro = new hospitalPackage();
$ro->searchReplaceItem($packageNo, $charges, $inventoryLocation);
Пример #11
0
<?php

include "packageControl.php";
$desc = $_GET['desc'];
$packageName = $_GET['packageName'];
$packagePrice = $_GET['packagePrice'];
$phicPrice = $_GET['phicPrice'];
$package = new hospitalPackage();
$package->searchInventory($desc, $packageName, $packagePrice, $phicPrice);
Пример #12
0
<?php

include "packageControl.php";
$packageName = $_GET['packageName'];
$package = new hospitalPackage();
$package->showAddedPackage($packageName);