copy dari repo om Irfan
This commit is contained in:
@@ -0,0 +1,586 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Invoice Print</title>
|
||||
<link rel="icon" type="image/png" href="<?php echo base_url('')?>assets/images/logoPcmBaru3.png" />
|
||||
<!-- 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="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/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;
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
if (posisi == tot) {
|
||||
var pjgtambah = 360 - tIdentitas - tblId.offsetHeight;
|
||||
|
||||
$("#" + idTBody).append(`<tr id="baristambahan` + idTabel + `" style="height: ` + pjgtambah + `px;">
|
||||
<td class="center fz10-td" style="border-right:1px solid #ddd; border-left:1px solid #ddd; border-top: none; border-bottom:1px solid #ddd; padding: 0px; vertical-align: middle; "> </td>
|
||||
<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>
|
||||
<td class="fz10-td" style="border-right:1px solid #ddd; border-top: none; border-bottom:1px solid #ddd; padding: 0px; vertical-align: middle;"></td>
|
||||
<td class="fz10-td" style="border-right:1px solid #ddd; border-top: none; border-bottom:1px solid #ddd; padding: 0px; vertical-align: middle;">
|
||||
<td class="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 + " -- " + idTabel + " - " + pjgtambah + ".." + tIdentitas);
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
|
||||
<body style="width: 900px;">
|
||||
|
||||
<div class="invoice" style="padding-bottom: 0px;">
|
||||
<header class="clearfix">
|
||||
<div class="row">
|
||||
<div class="col-sm-6 mt-md">
|
||||
<h3 class="mt-none mb-sm text-dark " style="margin-top: 0px; margin-bottom: 6px;"><b>INVOICE</b></h3>
|
||||
<h4 class="m-none text-dark text-bold" style="margin-top: 6px; margin-bottom: 0px;">#PJ1004391</h4>
|
||||
</div>
|
||||
<div class="col-sm-6 mt-md mb-md">
|
||||
<div class="ib text-right">
|
||||
<img src="<?php echo base_url('') ?>assets/images/ITPLogo.png" height="47" alt="OKLER Themes" style="padding-top: 9px;" />
|
||||
</div>
|
||||
<address class="ib mr-xlg f11 text-right" style="margin-bottom: 0px; margin-top:-40px; margin-right:55px;">
|
||||
ITC Mega Grosir Lt2 Blok H3a No. 1-6
|
||||
<br />
|
||||
Jl. Gembong No.20 - 30, Surabaya
|
||||
<br />
|
||||
Telp : -, Fax : -
|
||||
</address>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="bill-info">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div id="identitassatu" class="bill-to" style="margin-top:-23px; padding-bottom: 0px;">
|
||||
<p class="h5 mb-xs text-dark text-semibold" style="margin-bottom: 0px; margin-top:0px;">Kepada Yth:</p>
|
||||
<address class="f14" style="line-height: 15px; margin-bottom: 0px; margin-left:30px;">
|
||||
Nicholas
|
||||
<br />
|
||||
Jl Raya Purwosari No.1, Purwosari, Pasuruan, Jawa Timur 67162
|
||||
<br />
|
||||
081332037019
|
||||
</address>
|
||||
<p class="mb-none" style="margin-bottom: 0px;">
|
||||
<span class="text-dark f13">#SJ31020</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="bill-data text-right " style="margin-top:-23px; padding-bottom: 5px;">
|
||||
<p class="mb-none" style="margin-bottom: 0px;">
|
||||
<span class="text-dark f14">Tanggal : </span>
|
||||
<span class="value f14">
|
||||
08/06/2021
|
||||
</span>
|
||||
</p>
|
||||
<p class="mb-none" style="margin-bottom: 0px;">
|
||||
<span class="text-dark f14">Tanggal JT : </span>
|
||||
<span class="value f14">
|
||||
08/06/2021
|
||||
</span>
|
||||
</p>
|
||||
|
||||
<p class="mb-none" style="margin-bottom: 0px;">
|
||||
<span class="text-dark f14">Sales : </span>
|
||||
<span class="value f14">
|
||||
Service
|
||||
</span>
|
||||
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="">
|
||||
<table class="table" id="tabelivc" style="margin-bottom: 15px;">
|
||||
<thead>
|
||||
<tr class=" text-dark">
|
||||
<th id="cell-no" style="width: 7px; border-right:1px solid #ddd; border-left:1px solid #ddd; font-size: 13px; padding: 2px; " class="text-bold center">NO</th>
|
||||
<th id="cell-item" class="text-bold center" style="border-right:1px solid #ddd; font-size: 13px; width:110px; padding: 2px;">NAMA BARANG</th>
|
||||
<th id="" class="text-bold center" style="border-right:1px solid #ddd; font-size: 13px; width:13px; padding: 2px;">QTY</th>
|
||||
<th id="" class="text-bold nilai center" style="border-right:1px solid #ddd; font-size: 13px; width:20px; padding: 2px;">H. SATUAN</th>
|
||||
<th id="cell-total" class="text-bold nilai center" style="font-size: 13px; border-right:1px solid #ddd; width:25px; padding: 2px;">NILAI</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tabelBody">
|
||||
<?php
|
||||
echo '<script type="text/javascript">
|
||||
getIdentitas("satu")
|
||||
</script>';
|
||||
for ($i = 1; $i <= sizeof($dataInvoice); $i++) {
|
||||
|
||||
?>
|
||||
<tr>
|
||||
<td class="center " style=" <?php
|
||||
if ($dataInvoice[$i - 1]['serial_number'] != null) {
|
||||
echo "line-height: 10px;";
|
||||
}
|
||||
?> font-size:13px; border-right:1px solid #ddd; border-left:1px solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"><?= $i ?></td>
|
||||
<td class="" style="<?php
|
||||
if ($dataInvoice[$i - 1]['serial_number'] != null) {
|
||||
echo "line-height: 10px;";
|
||||
}
|
||||
?> font-size:13px; border-right:1px solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"><?= $dataInvoice[$i - 1]['nama_barang'] ?></td>
|
||||
<td class="center " style="<?php
|
||||
if ($dataInvoice[$i - 1]['serial_number'] != null) {
|
||||
echo "line-height: 10px;";
|
||||
}
|
||||
?> font-size:13px; border-right:1px solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"><?= $dataInvoice[$i - 1]['qty'] ?></td>
|
||||
<td class="text-right nilai " style="<?php
|
||||
if ($dataInvoice[$i - 1]['serial_number'] != null) {
|
||||
echo "line-height: 10px;";
|
||||
}
|
||||
?> font-size:13px; border-right:1px solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"><?= $dataInvoice[$i - 1]['harga_satuan'] ?></td>
|
||||
<td class="text-right nilai " style="<?php
|
||||
if ($dataInvoice[$i - 1]['serial_number'] != null) {
|
||||
echo "line-height: 10px;";
|
||||
}
|
||||
?> font-size:13px; border-right:1px solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"><?= $dataInvoice[$i - 1]['nilai'] ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
if ($dataInvoice[$i - 1]['serial_number'] != null) {
|
||||
?>
|
||||
<tr>
|
||||
<td class="center " style="line-height: 15px; font-size:13px; border-right:1px solid #ddd; border-left:1px solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"></td>
|
||||
<td class="" style="line-height: 15px; font-size:13px; border-right:1px solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;">
|
||||
<?php for ($x = 1; $x <= sizeof($dataInvoice[$i - 1]['serial_number']); $x++) {
|
||||
echo $dataInvoice[$i - 1]['serial_number'][$x - 1]['sn'];
|
||||
if ($x != sizeof($dataInvoice[$i - 1]['serial_number'])) {
|
||||
echo ", ";
|
||||
}
|
||||
} ?>
|
||||
</td>
|
||||
<td class="center " style="line-height: 15px; font-size:13px; border-right:1px solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"></td>
|
||||
<td class="text-right nilai " style="line-height: 15px; font-size:13px; border-right:1px solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"></td>
|
||||
<td class="text-right nilai " style="line-height: 15px; font-size:13px; border-right:1px solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
echo '<script type="text/javascript">
|
||||
ivc(' . $i . ', ' . sizeof($dataInvoice) . ',"tabelivc", "tabelBody");
|
||||
</script>';
|
||||
} ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="">
|
||||
<div class="row">
|
||||
<div class="col-sm-3 pull-right" style="margin-top:-15px; width:220px; padding-left:0px;">
|
||||
<table class="table ">
|
||||
<tbody>
|
||||
<tr class="b-top-none">
|
||||
<!-- <td class="f11" style="padding: 2px; border:0px solid #ddd;"></td> -->
|
||||
<td class="text-dark f13" style="width: 30%; padding: 2px;">Total Bruto</td>
|
||||
<td class="text-dark center min f13" style="padding: 2px; width:1%;"> : </td>
|
||||
<td class="text-dark text-right f13" style="padding: 2px; width: 40%;">300,000,000</td>
|
||||
</tr>
|
||||
|
||||
<!-- <tr>
|
||||
<td class="f11" style="padding: 2px; border:0px solid #ddd;"></td>
|
||||
<td class="text-dark f11" style="padding: 2px;">PPN 10%</td>
|
||||
<td class="text-dark center min f11" style="padding: 2px;"> : </td>
|
||||
<td class="text-dark text-right f11" style="padding: 2px;">30,000,000</td>
|
||||
</tr> -->
|
||||
<tr>
|
||||
<!-- <td class="f11" style="padding: 2px; border:0px solid #ddd;"></td> -->
|
||||
<td class="text-dark f13" style="padding: 2px;">Total Netto</td>
|
||||
<td class="text-dark center min f13" style="padding: 2px;"> : </td>
|
||||
<td class="text-dark text-right f13" style="padding: 2px;">330,000,000</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- <div class="col-sm-9 f11" style="margin-top:-15px; padding-right: 200px;">
|
||||
<p class="" style=" margin-bottom:2px">Terbilang : </p>
|
||||
</div> -->
|
||||
<div class="col-sm-9 f13" style="padding-right: 20px; ">
|
||||
<p style="margin-bottom: 5px;">Keterangan : </p>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
|
||||
<!-- <div class="col-sm-4 pull-right">
|
||||
<p class="f11"> Hormat Kami</p>
|
||||
<br>
|
||||
<br>
|
||||
<p class="f11">(....................................................)</p>
|
||||
</div> -->
|
||||
<!-- <div class=" col-md-3 pull-right" style="width: 305px;
|
||||
/* margin-top: -50px */
|
||||
">
|
||||
|
||||
<div style="border:1px solid black; padding:5px;">
|
||||
<p class="f10" style="margin:0px;"><b>REKENING BCA CAB MANGGA DUA SURABAYA (IDR)
|
||||
1070492233 A.N: PT. TRIPERWIRA MULTI PAMENANG</b></P>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="col-md-12">
|
||||
<!-- <p class=" f11">
|
||||
|
||||
Penerima
|
||||
|
||||
Hormat Kami
|
||||
|
||||
</p>
|
||||
<br>
|
||||
<br>
|
||||
<p class="f11">
|
||||
(....................................................)
|
||||
|
||||
(....................................................) -->
|
||||
|
||||
<div class="col-md-3 " style="border:1px solid black; padding:5px; width:300px; margin-top: 40px; margin-left:400px; margin-bottom:20px">
|
||||
<p class="f9 center" style="margin:0px;"><b>Invoice ini Sah dan diproses Oleh Sistem kami. Silahkan hubungi 031-8475047 apabila membutuhkan bantuan.</b></P>
|
||||
</div>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="invoice" style="padding-bottom: 0px;">
|
||||
|
||||
<header class="clearfix">
|
||||
<div class="row">
|
||||
<div class="col-sm-6 mt-md">
|
||||
<h3 class="mt-none mb-sm text-dark " style="margin-top: 0px; margin-bottom: 6px;"><b>INVOICE</b></h3>
|
||||
<h4 class="m-none text-dark text-bold" style="margin-top: 6px; margin-bottom: 0px;">#PJ1004391</h4>
|
||||
</div>
|
||||
<div class="col-sm-6 mt-md mb-md">
|
||||
<div class="ib text-right">
|
||||
<img src="<?php echo base_url('') ?>assets/images/ITPLogo.png" height="47" alt="OKLER Themes" style="padding-top: 9px;" />
|
||||
</div>
|
||||
<address class="ib mr-xlg f11 text-right" style="margin-bottom: 0px; margin-top:-40px; margin-right:55px;">
|
||||
ITC Mega Grosir Lt2 Blok H3a No. 1-6
|
||||
<br />
|
||||
Jl. Gembong No.20 - 30, Surabaya
|
||||
<br />
|
||||
Telp : -, Fax : -
|
||||
</address>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="bill-info">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div id="identitascopy" class="bill-to" style="margin-top:-23px; padding-bottom: 0px;">
|
||||
<p class="h5 mb-xs text-dark text-semibold" style="margin-bottom: 0px; margin-top:0px;">Kepada Yth:</p>
|
||||
<address class="f14" style="line-height: 15px; margin-bottom: 0px; margin-left:30px;">
|
||||
Nicholas
|
||||
<br />
|
||||
Jl Raya Purwosari No.1, Purwosari, Pasuruan, Jawa Timur 67162
|
||||
<br />
|
||||
081332037019
|
||||
</address>
|
||||
<p class="mb-none" style="margin-bottom: 0px;">
|
||||
<span class="text-dark f13">#SJ31020</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="bill-data text-right " style="margin-top:-23px; padding-bottom: 5px;">
|
||||
<p class="mb-none" style="margin-bottom: 0px;">
|
||||
<span class="text-dark f14">Tanggal : </span>
|
||||
<span class="value f14">
|
||||
08/06/2021
|
||||
</span>
|
||||
</p>
|
||||
<p class="mb-none" style="margin-bottom: 0px;">
|
||||
<span class="text-dark f14">Tanggal JT : </span>
|
||||
<span class="value f14">
|
||||
08/06/2021
|
||||
</span>
|
||||
</p>
|
||||
|
||||
<p class="mb-none" style="margin-bottom: 0px;">
|
||||
<span class="text-dark f14">Sales : </span>
|
||||
<span class="value f14">
|
||||
Service
|
||||
</span>
|
||||
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="">
|
||||
<div>
|
||||
<img src="../assets/images/copywatermark2.png" style="width:60%;height:60%; position:absolute; opacity: 0.15; padding-top: 40px; padding-left: 250px; ">
|
||||
</div>
|
||||
<table class="table" id="tabelivccopy" style="margin-bottom: 15px;">
|
||||
<thead>
|
||||
<tr class=" text-dark">
|
||||
<th id="cell-no" style="width: 7px; border-right:1px solid #ddd; border-left:1px solid #ddd; font-size: 13px; padding: 2px; " class="text-bold center">NO</th>
|
||||
<th id="cell-item" class="text-bold center" style="border-right:1px solid #ddd; font-size: 13px; width:110px; padding: 2px;">NAMA BARANG</th>
|
||||
<th id="" class="text-bold center" style="border-right:1px solid #ddd; font-size: 11px; width:13px; padding: 2px;">QTY</th>
|
||||
<th id="" class="text-bold nilai center" style="border-right:1px solid #ddd; font-size: 13px; width:20px; padding: 2px;">H. SATUAN</th>
|
||||
<th id="cell-total" class="text-bold nilai center" style="font-size: 13px; border-right:1px solid #ddd; width:25px; padding: 2px;">NILAI</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tabelBodycopy">
|
||||
<?php
|
||||
echo '<script type="text/javascript">
|
||||
getIdentitas("copy")
|
||||
</script>';
|
||||
for ($i = 1; $i <= sizeof($dataInvoice); $i++) { ?>
|
||||
<tr>
|
||||
<td class="center " style=" <?php
|
||||
if ($dataInvoice[$i - 1]['serial_number'] != null) {
|
||||
echo "line-height: 10px;";
|
||||
}
|
||||
?> font-size:13px; border-right:1px solid #ddd; border-left:1px solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"><?= $i ?></td>
|
||||
<td class="" style="<?php
|
||||
if ($dataInvoice[$i - 1]['serial_number'] != null) {
|
||||
echo "line-height: 10px;";
|
||||
}
|
||||
?> font-size:13px; border-right:1px solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"><?= $dataInvoice[$i - 1]['nama_barang'] ?></td>
|
||||
<td class="center " style="<?php
|
||||
if ($dataInvoice[$i - 1]['serial_number'] != null) {
|
||||
echo "line-height: 10px;";
|
||||
}
|
||||
?> font-size:13px; border-right:1px solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"><?= $dataInvoice[$i - 1]['qty'] ?></td>
|
||||
<td class="text-right nilai " style="<?php
|
||||
if ($dataInvoice[$i - 1]['serial_number'] != null) {
|
||||
echo "line-height: 10px;";
|
||||
}
|
||||
?> font-size:13px; border-right:1px solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"><?= $dataInvoice[$i - 1]['harga_satuan'] ?></td>
|
||||
<td class="text-right nilai " style="<?php
|
||||
if ($dataInvoice[$i - 1]['serial_number'] != null) {
|
||||
echo "line-height: 10px;";
|
||||
}
|
||||
?> font-size:13px; border-right:1px solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"><?= $dataInvoice[$i - 1]['nilai'] ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
if ($dataInvoice[$i - 1]['serial_number'] != null) {
|
||||
?>
|
||||
<tr>
|
||||
<td class="center " style="line-height: 15px; font-size:13px; border-right:1px solid #ddd; border-left:1px solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"></td>
|
||||
<td class="" style="line-height: 15px; font-size:13px; border-right:1px solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;">
|
||||
<?php for ($x = 1; $x <= sizeof($dataInvoice[$i - 1]['serial_number']); $x++) {
|
||||
echo $dataInvoice[$i - 1]['serial_number'][$x - 1]['sn'];
|
||||
if ($x != sizeof($dataInvoice[$i - 1]['serial_number'])) {
|
||||
echo ", ";
|
||||
}
|
||||
} ?>
|
||||
</td>
|
||||
<td class="center " style="line-height: 15px; font-size:13px; border-right:1px solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"></td>
|
||||
<td class="text-right nilai " style="line-height: 15px; font-size:13px; border-right:1px solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"></td>
|
||||
<td class="text-right nilai " style="line-height: 15px; font-size:13px; border-right:1px solid #ddd; padding: 2px; vertical-align: middle; border-bottom: none; border-top: none;"></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
echo '<script type="text/javascript">
|
||||
ivc(' . $i . ', ' . sizeof($dataInvoice) . ',"tabelivccopy", "tabelBodycopy");
|
||||
</script>';
|
||||
} ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="">
|
||||
<div class="row">
|
||||
<div class="col-sm-3 pull-right" style="margin-top:-15px; width:220px; padding-left:0px;">
|
||||
<table class="table ">
|
||||
<tbody>
|
||||
<tr class="b-top-none">
|
||||
<!-- <td class="f11" style="padding: 2px; border:0px solid #ddd;"></td> -->
|
||||
<td class="text-dark f13" style="width: 30%; padding: 2px;">Total Bruto</td>
|
||||
<td class="text-dark center min f13" style="padding: 2px; width:1%;"> : </td>
|
||||
<td class="text-dark text-right f13" style="padding: 2px; width: 40%;">300,000,000</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<!-- <td class="f11" style="padding: 2px; border:0px solid #ddd;"></td> -->
|
||||
<td class="text-dark f13" style="padding: 2px;">Total Netto</td>
|
||||
<td class="text-dark center min f13" style="padding: 2px;"> : </td>
|
||||
<td class="text-dark text-right f13" style="padding: 2px;">330,000,000</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- <div class="col-sm-9 f11" style="margin-top:-15px; padding-right: 200px;">
|
||||
<p class="" style=" margin-bottom:2px">Terbilang : </p>
|
||||
</div> -->
|
||||
<div class="col-sm-9 f13" style="padding-right: 20px; ">
|
||||
<p style="margin-bottom: 5px;">Keterangan : </p>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
|
||||
<!-- <div class="col-sm-4 pull-right">
|
||||
<p class="f11"> Hormat Kami</p>
|
||||
<br>
|
||||
<br>
|
||||
<p class="f11">(....................................................)</p>
|
||||
</div> -->
|
||||
<!-- <div class=" col-md-3 pull-right" style="width: 305px;
|
||||
/* margin-top: -50px */
|
||||
">
|
||||
|
||||
<div style="border:1px solid black; padding:5px;">
|
||||
<p class="f10" style="margin:0px;"><b>REKENING BCA CAB MANGGA DUA SURABAYA (IDR)
|
||||
1070492233 A.N: PT. TRIPERWIRA MULTI PAMENANG</b></P>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="col-md-12">
|
||||
<!-- <p class=" f11">
|
||||
|
||||
Penerima
|
||||
|
||||
Hormat Kami
|
||||
|
||||
</p>
|
||||
<br>
|
||||
<br>
|
||||
<p class="f11">
|
||||
(....................................................)
|
||||
|
||||
(....................................................) -->
|
||||
<div class="col-md-3 " style="border:1px solid black; padding:5px; width:300px; margin-top: 40px; margin-left:400px; margin-bottom:20px">
|
||||
<p class="f9 center" style="margin:0px;"><b>Invoice ini Sah dan diproses Oleh Sistem kami. Silahkan hubungi 031-8475047 apabila membutuhkan bantuan.</b></P>
|
||||
</div>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
window.print();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user