<?php

include "../../myDatabase2.php";
$returnNo = $_GET['returnNo'];
$inventoryCode = $_GET['inventoryCode'];
$returnFrom = $_GET['returnFrom'];
$returnTo = $_GET['returnTo'];
$username = $_GET['username'];
$qtyReturn = $_GET['qtyReturn'];
$ro = new database2();
echo "<br><br><br><br><br><br>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/inventory/receiveDepartmentReturn1.php");
$ro->coconutHidden("returnTo", $returnTo);
$ro->coconutHidden("username", $username);
$ro->coconutHidden("returnNo", $returnNo);
$ro->coconutHidden("inventoryCode", $inventoryCode);
$ro->coconutHidden("qtyReturn", $qtyReturn);
$ro->coconutBoxStart_red("500", "70");
echo "<br>";
echo "Received Return of {$qtyReturn} pcs <b>" . $ro->selectNow("inventory", "description", "inventoryCode", $inventoryCode) . "</b> of  <b>{$returnFrom}</b>?";
echo "<br><br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
<?php

include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$refNo = $_GET['refNo'];
$amountPaid = $_GET['amountPaid'];
$datePaid = $_GET['datePaid'];
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/Payments/deleteCompanyPayment1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("refNo", $refNo);
$ro->coconutHidden("username", $username);
echo "<Br>";
$ro->coconutBoxStart_red("700", "80");
echo "<Br>";
echo "Delete The Payment <font color=red>" . number_format($amountPaid, 2) . "</font> that was posted in <font color=red>{$datePaid}</font>?";
echo "<br><br><br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例#3
0
<?php

include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
$prePackage = $ro->selectNow("registrationDetails", "prePackage", "registrationNo", $registrationNo);
$splitPrePackage = preg_split("/\\_/", $prePackage);
echo "<br><br><br><br>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/SOAoption/isPackageCash1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart_red("600", "120");
echo "<br>";
echo "Is Package <font color=red>" . $splitPrePackage[0] . "</font> will pay by cash?";
echo "<br><br>";
$ro->coconutComboBoxStart_short("isCash");
echo "<option value='" . $ro->selectNow("registrationDetails", "isPackageCash", "registrationNo", $registrationNo) . "'>" . $ro->selectNow("registrationDetails", "isPackageCash", "registrationNo", $registrationNo) . "</option>";
echo "<option value='no'>no</option>";
echo "<option value='yes'>yes</option>";
$ro->coconutComboBoxStop();
echo "<br><br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例#4
0
<?php

include "../../../myDatabase2.php";
$controlNo = $_GET['controlNo'];
$ro = new database2();
$ro->coconutDesign();
echo "<Br><br><br>";
$ro->coconutFormStart("get", "deleteVoucher1.php");
$ro->coconutHidden("controlNo", $controlNo);
$ro->coconutBoxStart_red("400", "100");
echo "<br>";
echo "DELETE?";
echo "<Br><Br>";
$ro->coconutButton("Yes");
$ro->coconutBoxStop();
$ro->coconutFormStop();
<?php

include "../../../myDatabase2.php";
$reconcileNo = $_GET['reconcileNo'];
$registrationNo = $_GET['registrationNo'];
$ro = new database2();
$ro->coconutDesign();
echo "<Br><Br><br><Br>";
$ro->coconutFormStart("get", "reconcileDetails_deleteNow.php");
$ro->coconutHidden("reconcileNo", $reconcileNo);
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutBoxStart_red("500", "88");
echo "<Br><br>";
echo "DELETE?";
echo "<Br><Br>";
$ro->coconutButton("Yes");
$ro->coconutBoxStop();
$ro->coconutFormStop();