e059f341c22dc35263604a88c76de0778dc11d02.svn-base 3.23 KB
<? include $_SERVER["DOCUMENT_ROOT"] . "/common/classes/ApiBill.php"; ?>
<?
	$obj = new ApiBill($_REQUEST);
	
	$result = $obj->getCalculateData() ; 
	
	$data = $result["data"] ;
	
// 	echo json_encode($data) ;
?>
<div class="pop pop4_1" style="margin-top: 150px;">
	<ul class="head">
		<li>o</li>
		<li class="title">세부 사용량</li>
		<li class="jExit" style="text-align:right;"><img src="/web/inc/images/btn_pop_x.png" alt="esc" width="30%" style="padding:9px 12px 0px 0px;"/></li>
		<div style="clear:both;"></div>
	</ul>
		<!-- 리스트 -->
		<div class="contant pop4">
			<ul>
				<li>
					<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
					<a>일사용료</a><!-- 이름 -->
					<a><span><?= number_format($data["daily_fee"]) ?></span> 원</a><!-- 금액 -->
				</li>
				<div style="clear:both;"></div>
				<li>
					<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
					<a>공과금</a><!-- 이름 -->
					<a><span><?= number_format($data["utility_fee"]) ?></span> 원</a><!-- 금액 -->
				</li>
				<div style="clear:both;"></div>
				<li>
					<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
					<a>관리비</a><!-- 이름 -->
					<a><span><?= number_format($data["maintenance_fee"]) ?></span> 원</a><!-- 금액 -->
				</li>
				<div style="clear:both;"></div>
				<li>
					<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
					<a>퇴실비</a><!-- 이름 -->
					<a><span><?= number_format($data["leaving_fee"]) ?></span> 원</a><!-- 금액 -->
				</li>
				<div style="clear:both;"></div>
				<li>
					<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
					<a>폐기물비</a><!-- 이름 -->
					<a><span><?= number_format($data["disposal_fee"]) ?></span> 원</a><!-- 금액 -->
				</li>
				<div style="clear:both;"></div>
				<li>
					<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
					<a>위약금</a><!-- 이름 -->
					<a><span><?= number_format($data["cancelation_fee"]) ?></span> 원</a><!-- 금액 -->
				</li>
				<div style="clear:both;"></div>
				<li>
					<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
					<a>파손비1</a><!-- 이름 -->
					<a><span><?= number_format($data["damage_fee_1"]) ?></span> 원</a><!-- 금액 -->
				</li>
				<div style="clear:both;"></div>
				<li>
					<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
					<a>파손비2</a><!-- 이름 -->
					<a><span><?= number_format($data["damage_fee_2"]) ?></span> 원</a><!-- 금액 -->
				</li>
				<div style="clear:both;"></div>
				<li>
					<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
					<a>파손비3</a><!-- 이름 -->
					<a><span><?= number_format($data["damage_fee_3"]) ?></span> 원</a><!-- 금액 -->
				</li>
				<div style="clear:both;"></div>
				<li>
					<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
					<a>파손비4</a><!-- 이름 -->
					<a><span><?= number_format($data["damage_fee_3"]) ?></span> 원</a><!-- 금액 -->
				</li>
				<div style="clear:both;"></div>
			</ul>
		</div>
		<!-- 리스트 -->
		<div class="total">
			<div>
				<a style="margin-right:45px;">소계</a>
				<a><span><?= number_format($data["subtraction_total"]) ?></span>원</a><!-- 금액 -->
			</div>
		</div>
</div>