220 lines
7.7 KiB
PHP
220 lines
7.7 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; */
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.table th,
|
|
.table td {
|
|
padding: 0.75rem;
|
|
vertical-align: top;
|
|
border-top: 1px solid #dee2e6;
|
|
}
|
|
|
|
</style>
|
|
|
|
<table width="100%" border="0" id="sim">
|
|
<tr>
|
|
<td width="50%"><h3>Koperasi Permodalan Kelantan Berhad</h3></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="2"><u><b>Laporan Perubahan Marhun</b></u></td>
|
|
|
|
</tr>
|
|
</table>
|
|
|
|
<table cellspacing="" cellpadding="5" text-align="left" border="0" height="25" align="left" id="sim">
|
|
<thead>
|
|
<br>
|
|
<tr>
|
|
<td>Batch Lelong: {{$lelong_id}}</td>
|
|
<td>Cawangan : {{$getpengesahan['caw_name']}}
|
|
<tr>
|
|
<td>Tarikh Lelong : {{$t_lelong}} </td>
|
|
<tr>
|
|
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<table class='table text-center table-bordered table-hover' style="width:100%" cellspacing="0" cellpadding="5" style="float:right;" border="0" width="100%" height="80" align="left" id="sim">
|
|
<thead class="bg-primary text-white">
|
|
<tr>
|
|
<th>Bil</th>
|
|
<th align="left">No Rujukan</th>
|
|
<th align="left">Perubahan</th>
|
|
<th align="left">Marhun Asal</th>
|
|
<th align="left">Marhun Baru</th>
|
|
<th align="center">Mutu Asal</th>
|
|
<th align="center">Mutu Baru</th>
|
|
<th align="center">Harga Asal</th>
|
|
<th align="center">Harga Baru</th>
|
|
<th align="right">Berat Asal (gm)</th>
|
|
<th align="right">Berat Baru (gm)</th>
|
|
<th align="left">Diminta Oleh</th>
|
|
<th align="left">Disahkan Oleh</th>
|
|
{{-- <th>Status</th> --}}
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@forelse($cawangan as $marhun)
|
|
<tr>
|
|
<td>{{ $loop->iteration }}</td>
|
|
<td style="white-space: nowrap;">{{ $marhun['norujukan'] }}</td>
|
|
<td style="white-space: nowrap;">@foreach ($marhun['detailmarhun'] as $item)
|
|
@if($item['status_ubah'] == 1)
|
|
Mutu
|
|
@elseif($item['status_ubah'] == 2)
|
|
Tambah Marhun
|
|
@elseif($item['status_ubah'] == 3)
|
|
Hapus Marhun
|
|
@elseif($item['status_ubah'] == 4)
|
|
Berat
|
|
@elseif($item['status_ubah'] == 5)
|
|
Mutu & Berat
|
|
@elseif($item['status_ubah'] == 7)
|
|
Marhun
|
|
@elseif($item['status_ubah'] == 8)
|
|
Mutu, Berat & Marhun
|
|
@elseif($item['status_ubah'] == 9)
|
|
Mutu & Marhun
|
|
@elseif($item['status_ubah'] == 10)
|
|
Berat & Marhun
|
|
@endif
|
|
<br>
|
|
@endforeach</td>
|
|
<td align="center">@foreach ($marhun['detail'] as $item)
|
|
{{$item['old_marhun']}}<br>
|
|
@endforeach</td>
|
|
<td align="center">@foreach ($marhun['detailmarhun'] as $item)
|
|
@if($item['request_marhun'] == null)
|
|
@else
|
|
<i class="btn fa fa-arrow-right" aria-hidden="true" style="font-size: 10px"></i>
|
|
@endif {{$item['request_marhun']}}<br>
|
|
@endforeach</td>
|
|
<td align="center">@foreach ($marhun['detail'] as $item)
|
|
{{$item['old_karat']}}<br>
|
|
@endforeach</td>
|
|
<td align="center">@foreach ($marhun['detailmarhun'] as $item)
|
|
@if($item['request_karat'] == null)
|
|
@else
|
|
<i class="btn fa fa-arrow-right" aria-hidden="true" style="font-size: 10px"></i>
|
|
@endif{{$item['request_karat']}}<br>
|
|
@endforeach</td>
|
|
<td>
|
|
@foreach ($marhun['detail'] as $item)
|
|
{{ $item['old_harga'] }}<br>
|
|
@endforeach
|
|
</td>
|
|
<td>
|
|
@foreach ($marhun['detail'] as $item)
|
|
{{ $item['harga'] }}<br>
|
|
@endforeach
|
|
</td>
|
|
<td align="right">@foreach ($marhun['detail'] as $item)
|
|
{{$item['old_berat']}}<br>
|
|
@endforeach</td>
|
|
<td align="right">@foreach ($marhun['detailmarhun'] as $item)
|
|
@if($item['request_berat'] == null)
|
|
@else
|
|
<i class="btn fa fa-arrow-right" aria-hidden="true" style="font-size: 10px"></i>
|
|
@endif{{$item['request_berat']}}<br>
|
|
@endforeach</td>
|
|
|
|
<td>{{ $marhun['diminta_oleh'] }}</td>
|
|
<td>{{ $marhun['disahkan_oleh'] }}</td>
|
|
{{-- <td><button class="btn btn-success btn-sm hovernone-success" disabled>BERJAYA DISAHKAN</button></td> --}}
|
|
|
|
</tr>
|
|
@empty
|
|
<tr>
|
|
<td colspan="12">No Data</td>
|
|
</tr>
|
|
|
|
@endforelse
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
{{-- @endsection --}}
|