當前位置: 首頁>>代碼示例>>PHP>>正文


PHP database4::inpatient_deposit方法代碼示例

本文整理匯總了PHP中database4::inpatient_deposit方法的典型用法代碼示例。如果您正苦於以下問題:PHP database4::inpatient_deposit方法的具體用法?PHP database4::inpatient_deposit怎麽用?PHP database4::inpatient_deposit使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在database4的用法示例。


在下文中一共展示了database4::inpatient_deposit方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1:

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++) {
    ?>
開發者ID:rickyx12,項目名稱:protacio,代碼行數:31,代碼來源:transactionSummaryCheckBalance.php

示例2: database

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(){
開發者ID:rickyx12,項目名稱:protacio,代碼行數:31,代碼來源:transactionSummary_ipdPayments.php


注:本文中的database4::inpatient_deposit方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。