32 lines
1.3 KiB
PHP
32 lines
1.3 KiB
PHP
<div class="table-responsive" style="overflow-x: auto;">
|
|
<table class="table table-bordered table-striped" style="min-width: 1095px;">
|
|
<thead class="table-info text-white text-center">
|
|
<tr>
|
|
<th>Type of Waste / Tahun</th>
|
|
<th>Total Amount of Waste Open-burned (Wet Weight)<br>(Gg Sampah)</th>
|
|
<th>Methane Emission Factor<br>(kg CH<sub>4</sub> / Gg Sampah basah)</th>
|
|
<th>Methane Emissions<br>(Gg CH<sub>4</sub>)</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@php
|
|
$total += $data->ch4;
|
|
@endphp
|
|
@foreach ($emisiData as $data)
|
|
<tr class="text-right">
|
|
<td class="text-left"></td>
|
|
<td>{{ $isExport ? $data->open_burned : getFormattedValue($data->open_burned, 4) }}</td>
|
|
<td>{{ $isExport ? $data->ef : getFormattedValue($data->ef) }}</td>
|
|
<td>{{ $isExport ? $data->ch4 : getFormattedValue($data->ch4, 4) }}</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
<tfoot>
|
|
<tr class="text-right font-weight-bold">
|
|
<td class="text-center" colspan="8">Total</td>
|
|
<td>{{ $isExport ? $total : getFormattedValue($total, 4) }}</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
</div>
|