227 lines
5.8 KiB
PHP
227 lines
5.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){
|
|
/* border-bottom: 1px solid #ddd; */
|
|
}
|
|
|
|
#sim tr:hover {}
|
|
|
|
#sim th {
|
|
/* text-align: left; */
|
|
border: 0px solid;
|
|
table-layout:auto;
|
|
color: black;
|
|
|
|
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
|
}
|
|
|
|
|
|
#sim2 {
|
|
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
|
font-size:10px;
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
}
|
|
|
|
#sim2 td {padding:3px 5px 3px 5px; padding-right:10px;}, #sim th {
|
|
border: 0px solid;
|
|
padding: 1px;
|
|
|
|
/* text-align: left; */
|
|
|
|
}
|
|
|
|
#sim2 tr:nth-child(even){
|
|
/* border-bottom: 1px solid #ddd; */
|
|
}
|
|
|
|
#sim2 tr:hover {}
|
|
|
|
#sim2 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;
|
|
/* text-align: left; */
|
|
table-layout:auto
|
|
color: black;
|
|
border-bottom: 1px solid #ddd;
|
|
/* background-color:gainsboro; */
|
|
}
|
|
|
|
|
|
tr:nth-child(even) {
|
|
/* background-color: #f2f2f2; */
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
<style>
|
|
/** Define now the real margins of every page in the PDF **/
|
|
body {
|
|
/* margin-top: 1cm; */
|
|
/* margin-left: 2cm; */
|
|
/* margin-right: 2cm; */
|
|
margin-bottom: 2cm;
|
|
}
|
|
|
|
|
|
|
|
/** Define the footer rules **/
|
|
footer {
|
|
position: fixed;
|
|
bottom: 0cm;
|
|
left: 0cm;
|
|
right: 0cm;
|
|
height: 2cm;
|
|
|
|
/** Extra personal styles **/
|
|
/* background-color: #eaeaea; */
|
|
color: black;
|
|
text-align: center;
|
|
line-height: 1.5cm;
|
|
}
|
|
footer .pagenum:before {
|
|
content: counter(page);
|
|
}
|
|
</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>SENARAI SAG WTD (DALAM PROSES)</b></u></td>
|
|
|
|
</tr>
|
|
</table>
|
|
<footer>
|
|
<div class="pagenum-container"><span class="pagenum"></span></div>
|
|
</footer>
|
|
<table cellspacing="" cellpadding="5" text-align="left" border="0" height="25" align="left" id="sim">
|
|
<thead>
|
|
<br>
|
|
<tr>
|
|
<td><b>Cawangan : {{$cawanganDetail->caw_name}}</b></td>
|
|
<td><b>Jumlah(RM): {{$jumlahbaki}} </b></td>
|
|
<td><b>Bilangan : {{$jumlahbil}}</b></td>
|
|
|
|
</thead>
|
|
</table>
|
|
|
|
<br>
|
|
|
|
<table cellspacing="0" cellpadding="5" style="float:right;" border="0" width="100%" height="80" id="sim">
|
|
|
|
<thead class="bg-primary text-white">
|
|
<tr>
|
|
{{-- <th><input type="checkbox" aria-label="Checkbox for following text input" onclick="selectall(this)"></th> --}}
|
|
<th>Bil</th>
|
|
<th>NAMA</th>
|
|
<th>NOKP</th>
|
|
<th>NORUJUKAN</th>
|
|
<th>TARIKH LELONG</th>
|
|
<th>PEMBIAYAAN (RM)</th>
|
|
<th>BAKI (RM)</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
@foreach ($lelong_all as $lel)
|
|
{{-- {{dd($lel)}} --}}
|
|
<tr>
|
|
{{-- <td><input type="checkbox" aria-label="Checkbox for following text input" name="checkboxdata[]" value="{{ $lel->id }}"></td> --}}
|
|
<td>{{$loop->iteration}}</td>
|
|
<td>{{$lel->cust_info->nama}}</td>
|
|
<td align="center">{{$lel->nokp}}</td>
|
|
<td align="center" style='white-space:nowrap;'>{{$lel->norujukan}}</td>
|
|
<td align="center"> @php
|
|
$myDateTime = DateTime::createFromFormat('Y-m-d', $lel->t_jual );
|
|
$datez = $myDateTime->format('d-m-Y');
|
|
echo($datez);
|
|
@endphp</td>
|
|
|
|
<td align="right">{{number_format($lel->pinjaman, 2, '.', ',')}}</td>
|
|
<td align="right">{{number_format($lel->baki, 2, '.', ',')}}</td>
|
|
</tr>
|
|
|
|
@endforeach
|
|
<tr>
|
|
<td colspan="6"><b>Jumlah Keseluruhan</b></td>
|
|
<td align="right"><b>{{$jumlahbaki}}</b></td>
|
|
</tr>
|
|
</tbody>
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|