235 lines
6.8 KiB
PHP
235 lines
6.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:12px;
|
|
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 {
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
|
|
#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:12px;
|
|
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; */
|
|
|
|
}
|
|
|
|
input[type="checkbox"] {
|
|
margin-bottom: -8px; /* Adjust this value to change the spacing */
|
|
}
|
|
|
|
</style>
|
|
|
|
<body>
|
|
|
|
<table width="100%" border="0" id="sim2">
|
|
<tr>
|
|
<td width="50%"><h3>Koperasi Permodalan Kelantan Berhad</h3></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="2"><u><b>SENARAI BIDAAN PEMBIDA</b></u></td>
|
|
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="" cellpadding="5" text-align="left" border="0" height="25" align="left" id="sim2">
|
|
<thead>
|
|
<br>
|
|
<tr>
|
|
<td>Batch Lelong: {{$lelong_id}}</td>
|
|
@foreach ($arrayinfocaw as $laporancaw)
|
|
@foreach ($laporancaw['cawangan'] as $details)
|
|
<td>Cawangan : {{$details['caw_name']}}
|
|
@endforeach
|
|
@endforeach
|
|
</tr>
|
|
@foreach ($lelongid as $info)
|
|
<td>Tarikh Lelong : @php
|
|
$myDateTime = DateTime::createFromFormat('Y-m-d', $info->tarikh_lelong );
|
|
$t_lelong = $myDateTime->format('d-m-Y');
|
|
echo($t_lelong);
|
|
@endphp</td>
|
|
@endforeach
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
</table>
|
|
|
|
|
|
<br>
|
|
|
|
<table cellspacing="0" cellpadding="5" style="float:right;" border="0" width="100%" height="80" align="left" id="sim">
|
|
|
|
<thead>
|
|
<tr>
|
|
<th width="5%" align="left">No</th>
|
|
<th width="12%" align="left">No Rujukan</th>
|
|
<th width="10%" align="left">Nama Pembida</th>
|
|
<th width="12%" align="right">Harga Asas (RM)</th>
|
|
<th width="15%" align="right">Harga Bidaan (RM)</th>
|
|
<th width="15%" align="right">Tambahan Bidaan (RM)</th>
|
|
<th width="12%" align="left">Masa Bidaan</th>
|
|
@hasrole('jurulelong')
|
|
<th width="12%" align="left">Semakan</th>
|
|
@endhasrole
|
|
</tr>
|
|
</thead>
|
|
|
|
@foreach ($arraydetails as $laporan)
|
|
<tr>
|
|
<td>{{ $loop->iteration }}</td>
|
|
<td style="white-space: nowrap;">{{ $laporan['laporan']['norujukan']}}</td>
|
|
|
|
<td style="white-space: nowrap;">
|
|
@foreach($laporan['details'] as $details)
|
|
<span class="m-2">{{ $loop->iteration }}.{{ $details['nama_bidder']}}</span><br>
|
|
@endforeach
|
|
</td>
|
|
<td align="right">{{ number_format($laporan['laporan']['hargaasas'], 2, '.', ',')}}</td>
|
|
<td align="right">
|
|
@foreach($laporan['details'] as $details)
|
|
<span class="m-2">{{ number_format($details['hargabida'], 2, '.', ',')}}</span><br>
|
|
@endforeach
|
|
</td>
|
|
<td align="right">
|
|
@foreach($laporan['details'] as $details)
|
|
@php $beza = $details['hargabida'] - $laporan['laporan']['hargaasas'];
|
|
@endphp
|
|
<span class="m-2"><b>{{ number_format($beza, 2, '.', ',')}}</b></span><br>
|
|
@endforeach
|
|
</td>
|
|
<td>
|
|
@foreach($laporan['details'] as $details)
|
|
<span class="m-2"> @php
|
|
$myDateTime = DateTime::createFromFormat('Y-m-d H:i:s', $details['masa_bidaan'] );
|
|
$t_lelong = $myDateTime->format('h:i:s');
|
|
echo($t_lelong);
|
|
@endphp</span><br>
|
|
@endforeach
|
|
</td>
|
|
<td>
|
|
@foreach($laporan['details'] as $details)
|
|
<span class="m-2"><input class="m-4" type="checkbox" ></span>
|
|
<br>
|
|
@endforeach
|
|
</td>
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|