include "../../myDatabase3.php"; include "../../myDatabase4.php"; $month = $_GET['month']; $day = $_GET['day']; $year = $_GET['year']; $month1 = $_GET['month1']; $day1 = $_GET['day1']; $year1 = $_GET['year1']; $ro3 = new database3(); $ro4 = new database4(); $date = $year . "-" . $month . "-" . $day; $date1 = $year1 . "-" . $month1 . "-" . $day1; echo "<form method='post' action='inpatient-total.php' target='_blank'>"; $ro3->transactionSummaryDischarge($date, $date1); echo "<Br><br>"; $ro4->inpatient_deposit($date, $date1, "Cash"); $ro4->inpatient_deposit($date, $date1, "Credit Card"); $deposit_cash = 0; $deposit_creditCard = 0; ?> DEPOSIT <table border=1 cellspacing="0"> <tr> <th>Reg#</th> <th>Discharge</th> <th>Cash</th> <th>Credit Card</th> </tr> <?php for ($a = 0, $b = 0, $c = 0, $d = 0; $a < count($ro4->inpatient_deposit_registrationNo()), $b < count($ro4->inpatient_deposit_dateUnregistered()), $c < count($ro4->inpatient_deposit_amountPaid()), $d < count($ro4->inpatient_deposit_paidVia()); $a++, $b++, $c++, $d++) { ?>
include "../../myDatabase.php"; include "../../myDatabase4.php"; ?> <?php $date1 = $_GET['date1']; $date2 = $_GET['date2']; $payment = $_GET['payment']; $paymentTotal = 0; ?> <?php $ro = new database(); $ro4 = new database4(); $ro4->inpatient_discharged($date1, $date2); $ro4->inpatient_deposit($date1, $date2, $payment); ?> <!DOCTYPE html> <html> <head> <title></title> <meta charset="UTF-8"> <script src="../../jquery-2.1.4.min.js"></script> <script src="../js/jquery-ui.min.js"></script> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../../bootstrap-3.3.6/css/bootstrap.css"></link> <link rel="stylesheet" href="../js/jquery-ui.css"></link> <link rel="stylesheet" href="../js/jquery-ui.theme.min.css"></link> <script> $(document).ready(function(){