popupCalculate.php
3.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<? 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>