385 lines
16 KiB
PHP
385 lines
16 KiB
PHP
<html>
|
|
|
|
<head>
|
|
<title>TANDA TERIMA <?=$kwitansi[0]['NAMA_PELANGGAN']?> <?=$kwitansi[0]['TANGGAL']?></title>
|
|
|
|
<!-- Web Fonts -->
|
|
<link href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800" rel="stylesheet" type="text/css">
|
|
|
|
<!-- Vendor CSS -->
|
|
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/bootstrap/css/bootstrap.css" />
|
|
|
|
<!-- Invoice Print Style -->
|
|
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/stylesheets/invoice-print.css" />
|
|
<script src="<?php echo base_url('') ?>assets/ajax/jquery.min.js"></script>
|
|
|
|
<style type="text/css">
|
|
.f5 {
|
|
font-size: 5px;
|
|
}
|
|
|
|
.f9 {
|
|
font-size: 9px;
|
|
}
|
|
|
|
.f10 {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.f11 {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.f12 {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.f13 {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.f14 {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.f15 {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.f16 {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.f17 {
|
|
font-size: 17px;
|
|
}
|
|
|
|
td {
|
|
width: auto;
|
|
}
|
|
|
|
th {
|
|
width: auto;
|
|
}
|
|
|
|
th.pd-2 {
|
|
padding: 2px;
|
|
}
|
|
|
|
td.min {
|
|
width: 1%;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
td.fz10-td {
|
|
font-size: 10px;
|
|
}
|
|
|
|
td.fz12-td {
|
|
font-size: 12px;
|
|
}
|
|
|
|
th.nilai {
|
|
width: 6%;
|
|
}
|
|
|
|
address.fz12 {
|
|
font-size: 12px;
|
|
}
|
|
|
|
span.fz12s {
|
|
font-size: 12px;
|
|
}
|
|
|
|
p.fz12-p {
|
|
font-size: 12px;
|
|
}
|
|
|
|
|
|
.single-line {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
@page {
|
|
size: A5 landscape;
|
|
margin: 0.2in 0.2in 0.2in 0.2in;
|
|
}
|
|
</style>
|
|
|
|
</head>
|
|
<script type="text/javascript">
|
|
var tinggi = 0;
|
|
var tIdentitas = 0;
|
|
|
|
function getIdentitas(sn) {
|
|
tIdentitas = $("#identitas" + sn).height();
|
|
if (tIdentitas > 69) {
|
|
tIdentitas = tIdentitas - 69;
|
|
} else {
|
|
tIdentitas = 0;
|
|
}
|
|
|
|
}
|
|
|
|
function ivc(posisi, tot, idTabel, idTBody) {
|
|
var tblId = document.getElementById(idTabel);
|
|
var tblBd = document.getElementById(idTBody);
|
|
var barisT = document.getElementById('baristambahan' + idTabel);
|
|
|
|
var pjgtambah = 320 - tIdentitas - tblId.offsetHeight;
|
|
if (posisi == tot) {
|
|
$("#" + idTBody).append(`<tr id="baristambahan` + idTabel + `" style="height: ` + pjgtambah + `px;">
|
|
<td class="center fz10-td" style="border-right:1px solid #ddd; border-top: none; border-bottom:1px solid #ddd; padding: 0px; vertical-align: middle;"></td>
|
|
</tr>`);
|
|
// alert(tblId.offsetHeight);
|
|
}
|
|
return true;
|
|
}
|
|
</script>
|
|
|
|
<body style="width: 900px;">
|
|
|
|
<div class="invoice" style="padding-bottom: 0px;">
|
|
<header class="clearfix">
|
|
<div class="row">
|
|
<div class="col-sm-12 mt-md mb-md">
|
|
<div class="ib">
|
|
<?php if ($kwitansi[0]['CORP_ID']==1) { ?>
|
|
<img src="<?php echo base_url('') ?>assets/images/kopTmp.jpg" height="100" alt="OKLER Themes" style="padding-top: 15px;" />
|
|
<?php } else if ($kwitansi[0]['CORP_ID']==2) { ?>
|
|
<img src="<?php echo base_url('') ?>assets/images/kopDmt.jpg" height="90" alt="OKLER Themes" style="padding-top: 15px;" />
|
|
<?php } else if ($kwitansi[0]['CORP_ID']==3) { ?>
|
|
<br><br>
|
|
<?php } else if ($kwitansi[0]['CORP_ID']==4) { ?>
|
|
<img src="<?php echo base_url('') ?>assets/images/kopSftr.jpg" height="65" alt="OKLER Themes" style="padding-top: 9px;" />
|
|
<?php } else if ($kwitansi[0]['CORP_ID']==5) { ?>
|
|
<img src="<?php echo base_url('') ?>assets/images/kopItp.png" height="45" alt="OKLER Themes" style="padding-top: 9px;" />
|
|
<?php } ?>
|
|
</div>
|
|
<?php if ($kwitansi[0]['CORP_ID']==1) { ?>
|
|
<address class="ib mr-xlg f16" style="margin-bottom: 15px; margin-top:-80px; margin-left:115px;">
|
|
<b style="color:Black">Ruko Mangga Dua Blok A6 No. 6
|
|
<br />
|
|
Jl. Jagir Wonokromo No. 100, Surabaya
|
|
<br />
|
|
Telp : (031) 8475047, Fax : (031) 8475048</b>
|
|
</address>
|
|
<?php } else if ($kwitansi[0]['CORP_ID']==2) { ?>
|
|
<address class="ib mr-xlg f16" style="margin-bottom: 25px; margin-top:-70px; margin-left:150px;">
|
|
<b style="color:Black">Jl. Bendul Merisi No. 71, Surabaya 60244
|
|
<br />
|
|
Telp : (031) 8484348, Fax : (031) 8475048</b>
|
|
</address>
|
|
<?php } else if ($kwitansi[0]['CORP_ID']==3) { ?>
|
|
<address class="ib mr-xlg f16" style="margin-bottom: 25px; margin-top:-50px; margin-left:130px;">
|
|
  
|
|
</address>
|
|
<?php } else if ($kwitansi[0]['CORP_ID']==4) { ?>
|
|
<address class="ib mr-xlg f16" style="margin-bottom: 25px; margin-top:-50px; margin-left:130px;">
|
|
<b style="color:Black">ITC Surabaya Lt.2 Blok H3A No 1
|
|
<br />
|
|
Kapasan Simokerto, Kota Surabaya, Jawa Timur
|
|
<br />
|
|
Telp : -, Fax : -
|
|
</address>
|
|
<?php } else if ($kwitansi[0]['CORP_ID']==5) { ?>
|
|
<address class="ib mr-xlg f16" style="margin-bottom: 25px; margin-top:-50px; margin-left:165px;">
|
|
<b style="color:Black">ITC Mega Grosir Lt2 Blok H3a No. 1-6
|
|
<br />
|
|
Jl. Gembong No.20 - 30, Surabaya
|
|
<br />
|
|
Telp : -, Fax : -
|
|
</address>
|
|
<?php } ?>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<div class="">
|
|
<table class="table" style="margin-bottom: 40px; margin-top:-25px;">
|
|
<tbody id="tabelBody">
|
|
<tr>
|
|
<td class="text-center" style="font-size:<?php if ($kwitansi[0]['CORP_ID']==3) { ?>30px<?php } else { ?>25px<?php } ?>; border-right:none solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none; color:Black; "><u><b>TANDA TERIMA PEMBAYARAN</b></u><br><i style="font-size:19px"><?= $kwitansi[0]['KODE_KWITANSI'] ?></i></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="" style="font-size:19px; border-right:none solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"><br><b>Telah Terima Dari :</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="" style="font-size:17px; border-right:none solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"> <?= $kwitansi[0]['NAMA_PELANGGAN'] ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="" style="font-size:19px; border-right:none solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"><br><b>Informasi Transaksi :</b></td>
|
|
</tr>
|
|
<tr>
|
|
<?php if ($kwitansi[0]['JENIS_KWITANSI']==1) { ?>
|
|
<td class="" style="font-size:17px; border-right:none solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"> Pembayaran Uang Muka Senilai Rp <?= number_format($kwitansi[0]['NILAI_KWITANSI'],0) ?>,-</td>
|
|
<?php } else if ($kwitansi[0]['JENIS_KWITANSI']==2) { ?>
|
|
<td class="" style="font-size:17px; border-right:none solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"> Pembayaran Lunas Senilai Rp <?= number_format($kwitansi[0]['NILAI_KWITANSI'],0) ?>,-</td>
|
|
<?php } ?>
|
|
</tr>
|
|
<tr>
|
|
<td class="" style="font-size:17px; border-right:none solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"><br><b>Keterangan :</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="" style="font-size:17px; border-right:none solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"> <?= $kwitansi[0]['KET_KWITANSI'] ?></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<br><br>
|
|
<div class="">
|
|
<div class="row">
|
|
<div class="col-md-12" style="margin-top:-45px;">
|
|
<div class="col-md-12">
|
|
<p class="f17">
|
|
|
|
<i>Surabaya, <?=$kwitansi[0]['TANGGAL']?></i>
|
|
</p>
|
|
<p class="f17">
|
|
|
|
Penerima
|
|
</p>
|
|
<br>
|
|
<br>
|
|
<p class="f17">
|
|
(..............................................)
|
|
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php if ($kwitansi[0]['CORP_ID']==3) { ?>
|
|
<br><br><br>
|
|
<?php } ?>
|
|
</div>
|
|
|
|
<!-- Page Copy -->
|
|
<div class="invoice" style="padding-bottom: 0px;">
|
|
|
|
<header class="clearfix">
|
|
<div class="row">
|
|
<div class="col-sm-12 mt-md mb-md">
|
|
<div class="ib">
|
|
<?php if ($kwitansi[0]['CORP_ID']==1) { ?>
|
|
<img src="<?php echo base_url('') ?>assets/images/kopTmp.jpg" height="100" alt="OKLER Themes" style="padding-top: 15px;" />
|
|
<?php } else if ($kwitansi[0]['CORP_ID']==2) { ?>
|
|
<img src="<?php echo base_url('') ?>assets/images/kopDmt.jpg" height="90" alt="OKLER Themes" style="padding-top: 15px;" />
|
|
<?php } else if ($kwitansi[0]['CORP_ID']==3) { ?>
|
|
<br><br>
|
|
<?php } else if ($kwitansi[0]['CORP_ID']==4) { ?>
|
|
<img src="<?php echo base_url('') ?>assets/images/kopSftr.jpg" height="65" alt="OKLER Themes" style="padding-top: 9px;" />
|
|
<?php } else if ($kwitansi[0]['CORP_ID']==5) { ?>
|
|
<img src="<?php echo base_url('') ?>assets/images/kopItp.png" height="45" alt="OKLER Themes" style="padding-top: 9px;" />
|
|
<?php } ?>
|
|
</div>
|
|
<?php if ($kwitansi[0]['CORP_ID']==1) { ?>
|
|
<address class="ib mr-xlg f16" style="margin-bottom: 15px; margin-top:-80px; margin-left:115px;">
|
|
<b style="color:Black">Ruko Mangga Dua Blok A6 No. 6
|
|
<br />
|
|
Jl. Jagir Wonokromo No. 100, Surabaya
|
|
<br />
|
|
Telp : (031) 8475047, Fax : (031) 8475048</b>
|
|
</address>
|
|
<?php } else if ($kwitansi[0]['CORP_ID']==2) { ?>
|
|
<address class="ib mr-xlg f16" style="margin-bottom: 25px; margin-top:-70px; margin-left:150px;">
|
|
<b style="color:Black">Jl. Bendul Merisi No. 71, Surabaya 60244
|
|
<br />
|
|
Telp : (031) 8484348, Fax : (031) 8475048</b>
|
|
</address>
|
|
<?php } else if ($kwitansi[0]['CORP_ID']==3) { ?>
|
|
<address class="ib mr-xlg f16" style="margin-bottom: 25px; margin-top:-50px; margin-left:130px;">
|
|
  
|
|
</address>
|
|
<?php } else if ($kwitansi[0]['CORP_ID']==4) { ?>
|
|
<address class="ib mr-xlg f16" style="margin-bottom: 25px; margin-top:-50px; margin-left:130px;">
|
|
<b style="color:Black">ITC Surabaya Lt.2 Blok H3A No 1
|
|
<br />
|
|
Kapasan Simokerto, Kota Surabaya, Jawa Timur
|
|
<br />
|
|
Telp : -, Fax : -
|
|
</address>
|
|
<?php } else if ($kwitansi[0]['CORP_ID']==5) { ?>
|
|
<address class="ib mr-xlg f16" style="margin-bottom: 25px; margin-top:-50px; margin-left:165px;">
|
|
<b style="color:Black">ITC Mega Grosir Lt2 Blok H3a No. 1-6
|
|
<br />
|
|
Jl. Gembong No.20 - 30, Surabaya
|
|
<br />
|
|
Telp : -, Fax : -
|
|
</address>
|
|
<?php } ?>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<div class="">
|
|
<div>
|
|
<img src="<?php echo base_url('') ?>/assets/images/copywatermark.png" style="width:70%; position:absolute; opacity: 0.15; padding-top: 80px; padding-left: 250px; ">
|
|
</div>
|
|
<table class="table" style="margin-bottom: 40px; margin-top:-25px;">
|
|
<tbody id="tabelBody">
|
|
<tr>
|
|
<td class="text-center" style="font-size:<?php if ($kwitansi[0]['CORP_ID']==3) { ?>30px<?php } else { ?>25px<?php } ?>; border-right:none solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none; color:Black; "><u><b>TANDA TERIMA PEMBAYARAN</b></u><br><i style="font-size:19px"><?= $kwitansi[0]['KODE_KWITANSI'] ?></i></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="" style="font-size:19px; border-right:none solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"><br><b>Telah Terima Dari :</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="" style="font-size:17px; border-right:none solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"> <?= $kwitansi[0]['NAMA_PELANGGAN'] ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="" style="font-size:17px; border-right:none solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"><br><b>Informasi Transaksi :</b></td>
|
|
</tr>
|
|
<tr>
|
|
<?php if ($kwitansi[0]['JENIS_KWITANSI']==1) { ?>
|
|
<td class="" style="font-size:17px; border-right:none solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"> Pembayaran Uang Muka Senilai Rp <?= number_format($kwitansi[0]['NILAI_KWITANSI'],0) ?>,-</td>
|
|
<?php } else if ($kwitansi[0]['JENIS_KWITANSI']==2) { ?>
|
|
<td class="" style="font-size:17px; border-right:none solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"> Pembayaran Lunas Senilai Rp <?= number_format($kwitansi[0]['NILAI_KWITANSI'],0) ?>,-</td>
|
|
<?php } ?>
|
|
</tr>
|
|
<tr>
|
|
<td class="" style="font-size:17px; border-right:none solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"><br><b>Keterangan :</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="" style="font-size:17px; border-right:none solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"> <?= $kwitansi[0]['KET_KWITANSI'] ?></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<br><br>
|
|
<div class="">
|
|
<div class="row">
|
|
<div class="col-md-12" style="margin-top:-45px;">
|
|
<div class="col-md-12">
|
|
<p class="f17">
|
|
|
|
<i>Surabaya, <?=$kwitansi[0]['TANGGAL']?></i>
|
|
</p>
|
|
<p class="f17">
|
|
|
|
Penerima
|
|
</p>
|
|
<br>
|
|
<br>
|
|
<p class="f17">
|
|
(..............................................)
|
|
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
window.print();
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|