export to pdf
simulasi keseluruhan notis lelong
This commit is contained in:
@@ -1,31 +1,75 @@
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<style>
|
||||
#customers {
|
||||
#sim {
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
font-size:11px;
|
||||
font-size:10px;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#customers td {padding:3px 5px 3px 5px; padding-right:10px;}, #customers th {
|
||||
#sim td {padding:3px 5px 3px 5px; padding-right:10px;}, #sim th {
|
||||
border: 0px solid;
|
||||
padding: 1px;
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
|
||||
#customers tr:nth-child(even){}
|
||||
#sim tr:nth-child(even){}
|
||||
|
||||
#customers tr:hover {}
|
||||
#sim tr:hover {}
|
||||
|
||||
#customers th {
|
||||
text-align: left;
|
||||
#sim th {
|
||||
text-align: center;
|
||||
border: 1px solid;
|
||||
table-layout:auto;
|
||||
color: black;
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.row {
|
||||
margin-left:-5px;
|
||||
margin-right:-5px;
|
||||
}
|
||||
|
||||
.column {
|
||||
float: left;
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* Clearfix (clear floats) */
|
||||
.row::after {
|
||||
content: "";
|
||||
clear: both;
|
||||
display: table;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
width: 200%;
|
||||
border: 0px solid #ddd;
|
||||
}
|
||||
|
||||
th, td {
|
||||
text-align: left;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
tr:nth-child(even) {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
</style>
|
||||
<table width="100%" border="0" id="customers">
|
||||
|
||||
<body>
|
||||
|
||||
<table width="100%" border="0" id="sim">
|
||||
<tr>
|
||||
<td width="50%"><h3>PERMODALAN KELANTAN BERHAD</h3></td>
|
||||
</tr>
|
||||
@@ -35,136 +79,121 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<table width="100%" border="0" id="customers">
|
||||
|
||||
<tr><td><b>Tarikh Lelong: </b></td></tr>
|
||||
<tr><td><b>Jbg: </b></td></tr>
|
||||
<tr><td><b>Caj Lelong: </b></td></tr>
|
||||
<tr><td><b>Harga Emas Asas: </b></td></tr>
|
||||
</table>
|
||||
<br>
|
||||
<table cellspacing="" cellpadding="5" style="float:left;" text-align="left" border="1" width="10%" height="25" align="left" id="customers">
|
||||
<br><br>
|
||||
|
||||
<table cellspacing="" cellpadding="5" text-align="left" border="1" height="25" align="left" id="sim">
|
||||
<thead>
|
||||
<br>
|
||||
<tr>
|
||||
<th>Bilangan Lelong:</th>
|
||||
<th>Nilai Marhun Keseluruhan:</th>
|
||||
<th>Pembiayaan Keseluruhan:</th>
|
||||
<th>Keuntungan Keseluruhan:</th>
|
||||
<th>Rugi Lelong Keseluruhan:</th>
|
||||
<th>Baki Lelong Keseluruhan:</th>
|
||||
<th>Caj Lelong Keseluruhan:</th>
|
||||
</tr>
|
||||
<td>Bilangan Lelong: {{$total_marhun}}</td>
|
||||
<td>Nilai Marhun Keseluruhan: RM{{ number_format($total_nmarhun, 2, '.', ',') }}</td>
|
||||
<td>Pembiayaan Keseluruhan: RM{{ number_format($total_pinjaman, 2, '.', ',') }} </td>
|
||||
<td>Keuntungan Keseluruhan:RM{{ number_format($total_upah, 2, '.', ',') }}</td>
|
||||
</thead>
|
||||
</table>
|
||||
|
||||
<table cellspacing="" cellpadding="5" text-align="left" border="1" height="25" align="left" id="sim">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Rugi Lelong Keseluruhan: RM{{ number_format($total_rugilelong, 2, '.', ',') }}</td>
|
||||
<td>Baki Lelong Keseluruhan: RM{{ number_format($total_bakilelong, 2, '.', ',') }}</td>
|
||||
<td>Caj Lelong Keseluruhan: RM{{ number_format($total_cazlelong, 2, '.', ',') }}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<table cellspacing="0" cellpadding="5" style="float:right;" border="1" width="100%" height="80" align="right" id="customers">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="2%">No.</th>
|
||||
<!-- <th>Pilihan</th>-->
|
||||
<th width="9%" align="center">Cawangan</th>
|
||||
<th width="9%" align="center">Bil Marhun(paket)</th>
|
||||
<th width="9%" align="center">No Rujukan</th>
|
||||
<th width="9%" align="center">Berat(gm)</th>
|
||||
<th width="7%" align="center">Margin Pinjaman</th>
|
||||
<th width="10%" align="center">Harga Asas(RM)
|
||||
<th width="8%" align="center">Nilai Marhun(RM)</th>
|
||||
<th width="7%" align="center">Pembiayaan(RM)</th>
|
||||
<th width="8%" align="center">Keuntungan(RM)</th>
|
||||
<th width="10%" align="center">Baki Lelong(RM)</th>
|
||||
<th width="10%" align="center">Rugi Lelong(RM)</th>
|
||||
<th width="10%" align="center">Caj Lelong(RM)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<table cellspacing="0" cellpadding="5" style="float:right;" border="1" width="100%" height="80" align="center" id="sim">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="2%" align="center">No</th>
|
||||
<th width="9%" align="center">Cawangan</th>
|
||||
<th width="6%" align="center">Tarikh Lelong</th>
|
||||
<th width="5%" align="center">Bil Marhun (Paket)</th>
|
||||
<th width="5%" align="center">Berat(gm)</th>
|
||||
<th width="9%" align="center">Nilai Marhun(RM)</th>
|
||||
<th width="9%" align="center">Pembiayaan(RM)</th>
|
||||
<th width="9%" align="center">Keuntungan(RM)</th>
|
||||
<th width="9%" align="center">Harga Asas(RM)</th>
|
||||
<th width="9%" align="center">Caj Lelong(RM)</th>
|
||||
<th width="9%" align="center">Baki Lelong(RM)</th>
|
||||
<th width="9%" align="center">Rugi Lelong(RM)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
<td colspan="1"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6" align="left"><strong>Jumlah Keseluruhan</strong></td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
|
||||
|
||||
<table cellspacing="0" cellpadding="2" style="float:right;" border="1" width="100%" height="80" align="right" id="customers">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="text-align:center;" colspan="10"><h3><b>JUMLAH BERAT MENGIKUT MUTU (KESELURUHAN)</b></h3></th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($arraycaw as $index=>$caw)
|
||||
<tr>
|
||||
<td>{{$index+1}}</td>
|
||||
<td>{{ $caw['cawangan'] }}</td>
|
||||
<td>{{ $caw['t_lelong'] }}</td>
|
||||
<td>{{ $caw['bil_marhun'] }}</td>
|
||||
<td>{{ number_format($caw['berat'], 2, '.', ',') }}</td>
|
||||
<td>{{ number_format($caw['n_marhun'], 2, '.', ',') }}</td>
|
||||
<td>{{ number_format($caw['pinjaman'], 2, '.', ',') }}</td>
|
||||
<td>{{ number_format($caw['upah'], 2, '.', ',') }}</td>
|
||||
<td>{{ number_format($caw['hargaasas'], 2, '.', ',') }}</td>
|
||||
<td>{{ number_format($caw['cajlelong'], 2, '.', ',') }}</td>
|
||||
<td>{{ number_format($caw['bakilelong'], 2, '.', ',') }}</td>
|
||||
<td>({{ number_format($caw['rugilelong'], 2, '.', ',') }})</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
<tr>
|
||||
<td colspan="1" align="left"><strong>MUTU </strong></td>
|
||||
<td colspan="1" align="center">24Kgb </td>
|
||||
<td colspan="1" align="center">24K </td>
|
||||
<td colspan="1" align="center">23K </td>
|
||||
<td colspan="1" align="center">22K </td>
|
||||
<td colspan="1" align="center">21K </td>
|
||||
<td colspan="1" align="center">20K </td>
|
||||
<td colspan="1" align="center">18K </td>
|
||||
<td colspan="1" align="center">14K </td>
|
||||
<td colspan="1" align="center">9K </td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="1" align="left"><strong>BERAT(gm)</strong></td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<td colspan="1" align="right"> </td>
|
||||
<tr>
|
||||
<td colspan="3" align="left"><strong>Jumlah Keseluruhan</strong></td>
|
||||
<td>{{ $total_marhun }}</td>
|
||||
<td>{{ number_format($total_berat, 2, '.', ',') }}</td>
|
||||
<td>{{ number_format($total_nmarhun, 2, '.', ',') }}</td>
|
||||
<td>{{ number_format($total_pinjaman, 2, '.', ',') }}</td>
|
||||
<td>{{ number_format($total_upah, 2, '.', ',') }}</td>
|
||||
<td>{{ number_format($total_hargaasas, 2, '.', ',') }}</td>
|
||||
<td>{{ number_format($total_cazlelong, 2, '.', ',') }}</td>
|
||||
<td>{{ number_format($total_bakilelong, 2, '.', ',') }}</td>
|
||||
<td>({{ number_format($total_rugilelong, 2, '.', ',') }})</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</tr>
|
||||
<br><br><br><br><br><br>
|
||||
|
||||
|
||||
|
||||
<table cellspacing="0" cellpadding="2" style="float:right;" border="1" width="100%" height="80" align="right" id="sim">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="text-align:center;" colspan="10"><h3><b>JUMLAH BERAT MENGIKUT MUTU (KESELURUHAN)</b></h3></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tr>
|
||||
<td colspan="1" align="left"><strong>MUTU </strong></td>
|
||||
<td colspan="1" align="center">24Kgb </td>
|
||||
<td colspan="1" align="center">24K </td>
|
||||
<td colspan="1" align="center">23K </td>
|
||||
<td colspan="1" align="center">22K </td>
|
||||
<td colspan="1" align="center">21K </td>
|
||||
<td colspan="1" align="center">20K </td>
|
||||
<td colspan="1" align="center">18K </td>
|
||||
<td colspan="1" align="center">14K </td>
|
||||
<td colspan="1" align="center">9K </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="1" align="left"><strong>BERAT(gm)</strong></td>
|
||||
<td colspan="1" align="center">{{$total24Kgb}}</td>
|
||||
<td colspan="1" align="center">{{$total24K}}</td>
|
||||
<td colspan="1" align="center">{{$total23k}}</td>
|
||||
<td colspan="1" align="center">{{$total22K}}</td>
|
||||
<td colspan="1" align="center">{{$total21K}}</td>
|
||||
<td colspan="1" align="center">{{$total20K}}</td>
|
||||
<td colspan="1" align="center">{{$total18Kp}}</td>
|
||||
<td colspan="1" align="center">{{$total14K}}</td>
|
||||
<td colspan="1" align="center">{{$total9K}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<pre> </pre>
|
||||
<script type="text/javascript">
|
||||
function TotalPriceCalc() {
|
||||
var total = 0;
|
||||
$(".totalprice").each(function() {
|
||||
total += parseFloat($(this).text());
|
||||
});
|
||||
$("#lblTotalPrice").val(total);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user