130 lines
3.8 KiB
PHP
130 lines
3.8 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>
|
|
|
|
|
|
<div class="row">
|
|
{{-- <div class="first-prgph"><img src="http://lelong.test/img/icon_pkb.png" alt="PKB LOGO" width="100" height="100"><br></div> --}}
|
|
|
|
<div class="first-prgph1">
|
|
<h5> {{$caw['caw_name']}}<br>
|
|
{{$caw['alamat1']}}<br>
|
|
{{$caw['alamat2']}}<br>
|
|
No Tel: {{$caw['notel']}}<br>
|
|
No Faks: {{$caw['nofaks']}}
|
|
</h5>
|
|
</div>
|
|
</div>
|
|
|
|
<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 Kp</th>
|
|
<th>No Rujukan</th>
|
|
<th>JGB</th>
|
|
<th>Pembiayaan</th>
|
|
<th>Keuntungan 6 Bulan</th>
|
|
<th>Bayaran Telah Dibuat</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
@foreach($marhuns as $index1=> $notis)
|
|
<tr>
|
|
<td>{{ $loop->iteration }} </td>
|
|
<td>{{ $notis['nokp']}}</td>
|
|
{{-- <td style='word-wrap'>{{ $notis['nama']['nama']}}</td> --}}
|
|
|
|
<td>@foreach($notis['listsag'] as $item){{ $item['norujukan']}}<br>@endforeach</td>
|
|
<td>@foreach($notis['listsag'] as $item){{ $item['tempoh']}}<br>@endforeach</td>
|
|
<td>@foreach($notis['listsag'] as $item){{ number_format($item['pinjaman'], 2, '.', ',')}}<br>@endforeach</td>
|
|
<td>@foreach($notis['listsag'] as $item){{ number_format($item['bakiupah'], 2, '.', ',')}}<br>@endforeach</td>
|
|
<td>{{ number_format($bayaran, 2, '.', ',')}}<br></td>
|
|
|
|
@endforeach
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|