当前位置: 首页>>代码示例>>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;未经允许,请勿转载。