-=[ Mr. Bumblebee ]=-
_Indonesia_
| Path : /var/www/html/print/ |
|
|
| Current File : //var/www/html/print/estimate-skin.php |
<?
if ( !isset($estimatecode)) exit ;
$einfo = estimate_detail_list( $einfo['repeat-detail'] , 12 , '<tr>
<td class="txtcenter">$TITLE</td>
<td class="txtcenter">$QRY</td>
<td class="txtcenter">$COST</td>
<td class="txtcenter">$SUM</td>
<td class="txtcenter">$ETC</td>
</tr>' , $einfo ) ;
?>
<!doctype html>
<html>
<head>
<meta charset="euc-kr">
<title>Ã౸¹ÝƼ ½ÎÄ¿³Ý</title>
<style>
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
background: #ffffff;
font-size:9pt;
font-family:dotum, gulim, sans-serif;
font-weight:normal;
color:#000000;
}
* {
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
#wrapper {
margin:0;
padding:0;
}
#Paper {
width: 128mm;
min-height:182mm;
padding: 5mm;
margin: 10mm auto;
border:0;
border-radius: 0;
background: #ffffff;
}
@Paper {
size: B6;
margin: 0;
}
@media print {
html, body {
width: 128mm;
height: 182mm;
}
#Paper {
margin: 0;
border: initial;
border-radius: initial;
width: initial;
min-height: initial;
box-shadow: initial;
background: initial;
page-break-after: always;
}
}
.head {
clear:both;
margin-bottom:10px;
line-height:1;
text-align:center;
font-size:18pt;
font-weight:bold;
letter-spacing:20px;
}
.Transact-Form {
width:100%;
}
.Transact-Form table {
width:100%;
border-collapse:collapse;
border-spacing:0;
}
.Transact-Form table > * {
border:1px solid #333;
}
.Transact-Form table > :not(caption) > * {
border-bottom:1px solid #c0c0c0;
}
.Transact-Form table > :not(caption) > tr:last-child {
border-bottom:0px;
}
.Transact-Form table._detail > tbody > * {
border-bottom-style:dashed;
}
.Transact-Form table > * > * > * {
padding:6px 4px;
vertical-align:middle;
border-right:1px solid #c0c0c0;
}
.Transact-Form table > * > * > :last-child {
border-color:#333333;
}
.Transact-Form td {
font-size:inherit;
}
.Transact-Form th {
text-align:center;
font-weight:bold;
}
.Transact-Form .table-head {}
.Transact-Form .table-body {
margin-top:-1px;
}
.txtcenter {text-align:center;}
.txtleft {text-align:left;}
.txtright {text-align:right;}
.total {
font-size:10pt;
font-weight:bold;
}
.total-fleft {
float:left;
}
.total-fright {
float:right;
}
.bill_sign {
position:relative;
padding-right:35px;
}
.bill_sign::after {
content:'';
display:block;
position:absolute;
right:0;
top:50%;
margin-top:-20px;
width:33px;
height:40px;
vertical-align:middle;
padding-right:30px;
background:url(/product/img/soccernet_bill_sign.png) no-repeat 100% 50%;
background-size:33px 40px;
}
.button-group {
clear:both;
margin:20px 0px;
text-align:center;
}
.button-group > * {
margin-left:5px;
margin-right:5px;
}
.bt_print {
cursor:pointer;
padding:7px 12px;
text-align:center;
font-size:14px;
color:#000;
background-color:#c7dbfa;
border:1px solid #a7b9d5;
border-radius:3px;
}
.bt_print:focus {
outline:none;
}
.btprint_Business {
background-color:#eddafb;
border-color:#dacae6;
}
.btprint_Bank {
background-color:#ffd738;
border-color:#f3b805;
}
</style>
</head>
<body>
<script type="text/javascript" src="/inc/jQuery/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="./jquery.printThis.js"></script>
<script type="text/javascript">
jQuery(document).ready(function($) {
$('#btnP1').click(function() { $('.estimate_contents1').printThis({importStyle: true}); });
$('#btnP2').click(function() { $('.estimate_contents2').printThis({importStyle: true}); });
$('#btnP3').click(function() { $('.estimate_contents3').printThis({importStyle: true}); });
});
</script>
<div id="wrapper">
<div id="Paper" class="estimate_contents1">
<div class="head"><?=$einfo['title']?></div>
<div class="Transact-Form">
<div class="table-head">
<table cellspacing="0" cellpadding="0">
<colgroup>
<col width="27%">
<col width="6%">
<col width="15%">
<col width="22%">
<col width="8%">
<col width="22%">
</colgroup>
<tbody>
<tr>
<td class="txtcenter"><?=$einfo['wdate']?></td>
<td rowspan="5" class="txtcenter">°ø ±Þ ÀÚ</td>
<td class="txtcenter">µî·Ï¹øÈ£</td>
<td colspan="3" class="txtcenter"><strong>808-30-00231</strong></td>
</tr>
<tr>
<td class="txtcenter"><?=$einfo['name']?></td>
<td class="txtcenter">»ó È£</td>
<td class="txtcenter">½ÎÄ¿³Ý</td>
<td class="txtcenter">¼º¸í</td>
<td class="txtcenter"><div class="bill_sign">±èº¹¼ø</div></td>
</tr>
<tr>
<td class="txtcenter">±ÍÇÏ</td>
<td class="txtcenter">»ç ¾÷ Àå<br>
¼Ò Àç Áö</td>
<td colspan="3" class="txtleft">¼¿ïƯº°½Ã Áß±¸ û±¸·Î113, »ê´Ùºôµù 201È£(½Å´çµ¿)</td>
</tr>
<tr>
<td rowspan="2" class="txtcenter" style="word-break:keep-all;">¾Æ·¡¿Í °°ÀÌ °ßÀûÇÕ´Ï´Ù.</td>
<td class="txtcenter">TEL</td>
<td class="txtleft">070-7018-3013</td>
<td class="txtcenter">FAX</td>
<td>02-2231-2514</td>
</tr>
<tr>
<td class="txtcenter">¾÷ ÅÂ</td>
<td class="txtcenter">¼Ò¸Å¾÷</td>
<td class="txtcenter">Á¾¸ñ</td>
<td class="txtcenter">ÀüÀÚ»ó°Å·¡¾÷</td>
</tr>
</tbody>
</table>
</div>
<div class="table-body">
<table cellspacing="0" cellpadding="0">
<colgroup>
<col width="23%">
<col width="77%">
</colgroup>
<tbody>
<tr>
<td class="txtcenter">ÇÕ°è±Ý¾×<br>(°ø±Þ°¡¾×+¼¼¾×)</td>
<td class="total"><div class="total-fleft">ÀÏ±Ý : <?=$einfo['sumcost_kr']?> Á¤</div><div class="total-fright">(\ <?=$einfo['sumcost']?>)</div></td>
</tr>
</tbody>
</table>
</div>
<div class="table-body">
<table cellspacing="0" cellpadding="0" class="_detail">
<colgroup>
<col width="37%">
<col width="16%">
<col width="17%">
<col width="17%">
<col width="13%">
</colgroup>
<thead>
<tr>
<th class="txtcenter">ǰ ¸í</th>
<th class="txtcenter">¼ö·®</th>
<th class="txtcenter">´Ü°¡</th>
<th class="txtcenter">±Ý¾×</th>
<th class="txtcenter">ºñ°í</th>
</tr>
</thead>
<tbody>
<?=$einfo['repeat-detail']?>
</tbody>
<tfoot>
<tr>
<th class="txtcenter">ÇÕ°è</th>
<td class="txtcenter"> </td>
<td class="txtcenter"> </td>
<td class="txtcenter"><?=$einfo['sumcost']?></td>
<td class="txtcenter"> </td>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
<div style="display:none;">
<div class="estimate_contents2">
<img src="/print/license.jpg" width="1000"/>
</div>
<div class="estimate_contents3">
<img src="/print/bank.jpg"/>
</div>
</div>
<div class="button-group">
<button type="button" id="btnP1" class="bt_print"><?=$einfo['title']?> Àμâ</button>
<button type="button" id="btnP2" class="bt_print btprint_Business">»ç¾÷ÀÚµî·ÏÁõ Àμâ</button>
<button type="button" id="btnP3" class="bt_print btprint_Bank">ÅëÀå»çº» Àμâ</button>
</div>
</div>
</body>
</html>
Copyright © 2017 || Recoded By Mr.Bumblebee