197 lines
5.9 KiB
PHP
197 lines
5.9 KiB
PHP
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
|
<style>
|
|
#sim {
|
|
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
|
font-size:10px;
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
}
|
|
|
|
#sim td {padding:3px 5px 3px 5px; padding-right:10px;}, #sim th {
|
|
border: 0px solid;
|
|
padding: 1px;
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
#sim tr:nth-child(even){}
|
|
|
|
#sim tr:hover {}
|
|
|
|
#sim th {
|
|
text-align: left;
|
|
border: 0px 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;
|
|
}
|
|
|
|
td {
|
|
text-align: left;
|
|
padding: 16px;
|
|
}
|
|
|
|
th{
|
|
text-align: left;
|
|
padding: 16px;
|
|
background-color:gainsboro;
|
|
}
|
|
|
|
tr:nth-child(even) {
|
|
background-color: #f2f2f2;
|
|
}
|
|
|
|
</style>
|
|
|
|
<body>
|
|
|
|
<table width="100%" border="0" id="sim">
|
|
<tr>
|
|
<td width="50%"><h3>PERMODALAN KELANTAN BERHAD</h3></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="2"><u><b>LAPORAN LELONG KESELURUHAN</b></u></td>
|
|
|
|
</tr>
|
|
</table>
|
|
|
|
<table cellspacing="" cellpadding="5" text-align="left" border="0" height="25" align="left" id="sim">
|
|
<thead>
|
|
<br>
|
|
<tr>
|
|
<td>Lelong ID: {{$lelong_id}}</td>
|
|
@foreach ($info as $info)
|
|
|
|
<td>Tarikh Lelong:{{ $info->tarikh_lelong}}</td>
|
|
|
|
@endforeach
|
|
@foreach ($arrayinfocaw as $laporancaw)
|
|
@foreach ($laporancaw['cawangan'] as $details)
|
|
<td>Cawangan : {{$details['caw_name']}}
|
|
@endforeach
|
|
@endforeach
|
|
|
|
</thead>
|
|
</table>
|
|
|
|
<br>
|
|
|
|
<table cellspacing="0" cellpadding="5" style="float:right;" border="0" width="100%" height="80" align="left" id="sim">
|
|
|
|
<thead>
|
|
<tr>
|
|
<th>No</th>
|
|
<th>No Rujukan</th>
|
|
<th>Nilai Marhun</th>
|
|
<th>Pembiayaan</th>
|
|
<th>Upah Simpan</th>
|
|
<th>Caj Lelong</th>
|
|
<th>Harga Lelong</th>
|
|
<th>Baki</th>
|
|
<th>Rugi</th>
|
|
<th>Harga Asas</th>
|
|
<th>Nama Pembeli</th> >
|
|
|
|
</tr>
|
|
</thead>
|
|
|
|
@foreach ($laporanlelong as $laporan)
|
|
<tr>
|
|
<td>{{ $loop->iteration }}</td>
|
|
<td>{{ $laporan['norujukan'] }}</td>
|
|
<td>{{ number_format($laporan['nilaimarhun'], 2, '.', ',')}}</td>
|
|
<td>{{ number_format($laporan['pinjaman'], 2, '.', ',')}}</td>
|
|
<td>{{ number_format($laporan['upahsimpan'], 2, '.', ',')}}</td>
|
|
<td>{{ number_format($laporan['cajlelong'], 2, '.', ',')}}</td>
|
|
<td>{{ number_format($laporan['hargabida'], 2, '.', ',')}}</td>
|
|
<?php
|
|
$rugi = 0;
|
|
$baki = 0;
|
|
if(strpos($laporan['baki'], '-') !== false)
|
|
{
|
|
$rugi = $laporan['baki'];
|
|
}
|
|
else {
|
|
$baki = $laporan['baki'];
|
|
}
|
|
?>
|
|
<td>{{ number_format($baki, 2, '.', ',') }}</td>
|
|
<td>{{ number_format($rugi, 2, '.', ',') }}</td>
|
|
<td>{{ number_format($laporan['hargaasas'], 2, '.', ',')}}</td>
|
|
<td>{{$laporan['nama_bidder']}}</td>
|
|
|
|
</tr>
|
|
@endforeach
|
|
|
|
|
|
|
|
<tr>
|
|
<td colspan="2" align="left"><strong>Jumlah Keseluruhan</strong></td>
|
|
<td><strong>{{ number_format($total_nmarhun, 2, '.', ',') }}</strong></td>
|
|
<td><strong>{{ number_format($total_pembiayaan, 2, '.', ',') }}</strong></td>
|
|
<td><strong>{{ number_format($total_upahsimpan, 2, '.', ',') }}</strong></td>
|
|
<td><strong>{{ number_format($total_cajlelong, 2, '.', ',') }}</strong></td>
|
|
<td><strong>{{ number_format($total_hargalelong, 2,'.',',') }}</strong></td>
|
|
<?php
|
|
$total_rugi = 0;
|
|
$total_baki = 0;
|
|
if(strpos($total_bakirugi, '-') !== false)
|
|
{
|
|
$total_rugi = $total_bakirugi;
|
|
|
|
}
|
|
else {
|
|
$total_baki = $total_bakirugi;
|
|
|
|
}
|
|
?>
|
|
<td><strong>{{number_format($total_baki, 2, '.', ',')}}</strong></td>
|
|
<td><strong>{{number_format($total_rugi, 2, '.', ',')}}</strong></td>
|
|
<td><strong>{{number_format($total_hargaasas, 2, '.', ',')}}</strong></td>
|
|
<td></td>
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|