227 lines
4.5 KiB
PHP
227 lines
4.5 KiB
PHP
<style>
|
|
#header {
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
}
|
|
|
|
#header td, #customers th {
|
|
|
|
padding:4px;
|
|
font-size:10px;
|
|
}
|
|
|
|
#header tr:nth-child(even){background-color: #ffffff;}
|
|
|
|
#header tr:hover {background-color: #ddd;}
|
|
|
|
#header th {
|
|
padding-top: 12px;
|
|
padding-bottom: 12px;
|
|
text-align: left;
|
|
padding:4px;
|
|
color:black;
|
|
}
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style>
|
|
#scan {
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
}
|
|
|
|
#scan td, #scan th {
|
|
|
|
padding: 8px;
|
|
font-size:11px;
|
|
}
|
|
|
|
#scan tr:nth-child(even){background-color: #ffffff;}
|
|
|
|
#scan tr:hover {background-color: #ddd;}
|
|
|
|
#scan th {
|
|
padding-top: 12px;
|
|
padding-bottom: 12px;
|
|
text-align: left;
|
|
padding:4px;
|
|
color:black;
|
|
}
|
|
</style>
|
|
|
|
|
|
<style>
|
|
#scan {
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
}
|
|
|
|
#scan td, #scan th {
|
|
border-collapse: collapse;
|
|
padding: 8px;
|
|
font-size:11px;
|
|
}
|
|
|
|
#scan tr:nth-child(even){background-color: #ffffff;}
|
|
|
|
#scan tr:hover {background-color: #ddd;}
|
|
|
|
#scan th {
|
|
border-collapse: collapse;
|
|
padding-top: 12px;
|
|
padding-bottom: 12px;
|
|
text-align: left;
|
|
padding:4px;
|
|
color:black;
|
|
}
|
|
</style>
|
|
|
|
|
|
|
|
<style>
|
|
#details {
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
border-style: solid;
|
|
}
|
|
|
|
#details td, #details th {
|
|
border-style: solid;
|
|
padding: 8px;
|
|
font-size:8px;
|
|
}
|
|
|
|
#details tr:nth-child(even){background-color: #ffffff;}
|
|
|
|
#details tr:hover {background-color: #ddd;}
|
|
|
|
#details th {
|
|
padding-top: 12px;
|
|
font-style:bold;
|
|
padding-bottom: 12px;
|
|
text-align: left;
|
|
padding:4px;
|
|
color:black;
|
|
}
|
|
</style>
|
|
|
|
<style>
|
|
#sign {
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
}
|
|
|
|
#sign td, #sign th {
|
|
|
|
padding: 8px;
|
|
font-size:11px;
|
|
text-align: center;
|
|
}
|
|
|
|
#sign tr:nth-child(even){background-color: #ffffff;}
|
|
|
|
#sign tr:hover {background-color: #ddd;}
|
|
|
|
#sign th {
|
|
padding-top: 12px;
|
|
padding-bottom: 12px;
|
|
text-align: left;
|
|
padding:4px;
|
|
color:black;
|
|
}
|
|
</style>
|
|
|
|
|
|
|
|
<table id="scan">
|
|
<tr>
|
|
<th colspan ="5"><b>LAPORAN AKRU BULANAN </b></th>
|
|
<th> </th>
|
|
<th> </th>
|
|
<th>
|
|
</th>
|
|
<th></th>
|
|
</tr>
|
|
<tr>
|
|
<td style="width:50px">
|
|
</td>
|
|
<td> </td>
|
|
<td> </td>
|
|
<td> </td>
|
|
<td> </td>
|
|
<td> </td>
|
|
<td> </td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<table id="details">
|
|
<tr style="font-weight: bold">
|
|
<th>Cawangan</th>
|
|
<th>Januari</th>
|
|
<th>Februari</th>
|
|
<th>Mac</th>
|
|
<th>April</th>
|
|
<th>Mei</th>
|
|
<th>Jun</th>
|
|
<th>Julai</th>
|
|
<th>Ogos</th>
|
|
<th>September</th>
|
|
<th>Oktober</th>
|
|
<th>November</th>
|
|
<th>Disember</th>
|
|
<th>Jumlah</th>
|
|
</tr>
|
|
@foreach($akrubulan as $index=>$akru)
|
|
<tr>
|
|
<td>{{ $akru['cawangan'] }}</td>
|
|
@php $sizeakru = sizeof($akru['akru']);$totalcawangan = 0;@endphp
|
|
@for($i=1;$i<=12;$i++)
|
|
@if($i > $sizeakru)
|
|
<td>0.00</td>
|
|
@else
|
|
@php $totalcawangan += $akru['akru'][$i-1]['jumlah'];@endphp
|
|
<td>{{ number_format($akru['akru'][$i-1]['jumlah'],2) }}</td>
|
|
@endif
|
|
@endfor
|
|
<td>{{ number_format($totalcawangan,2) }}</td>
|
|
</tr>
|
|
@endforeach
|
|
<tfoot>
|
|
|
|
</tfoot>
|
|
</table>
|
|
<br><br>
|
|
|
|
<br>
|
|
<br>
|
|
<table id="sign">
|
|
<tr>
|
|
<td></td>
|
|
<td colspan="2"> .................................................................. </td>
|
|
<td> </td>
|
|
<td colspan="2">.................................................................. </td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td colspan="2"><B> DI SEMAK</B> </td>
|
|
<td> </td>
|
|
<td colspan="2"><B>DI SAHKAN </B></td>
|
|
<td> </td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|