61 lines
2.5 KiB
PHP
61 lines
2.5 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></th>
|
||
<th>A</th>
|
||
<th>B</th>
|
||
<th>C</th>
|
||
<th>D</th>
|
||
<th>E</th>
|
||
<th>F</th>
|
||
<th>H</th>
|
||
</tr>
|
||
<tr>
|
||
<th></th>
|
||
<th>Penduduk<br>(P)</th>
|
||
<th>Konsumsi protein per kapita<br>(Protein)</th>
|
||
<th>Fraction of nitrogen in protein<br>(F<sub>NPR</sub>)</th>
|
||
<th>Fraction of non-consumption protein<br>(F<sub>NON-CON</sub>)</th>
|
||
<th>Fraction of industrial and commercial co-discharged protein<br>(F<sub>IND-COM</sub>)</th>
|
||
<th>Nitrogen removed with sludge<br>(N<sub>SLUDGE</sub>)</th>
|
||
<th>Total nitrogen in effluent<br>(N<sub>EFFLUENT</sub>)</th>
|
||
</tr>
|
||
<tr>
|
||
<th>Tahun</th>
|
||
<th>(people)</th>
|
||
<th>(kg / person / year)</th>
|
||
<th>(kg N / kg protein)</th>
|
||
<th>(-)</th>
|
||
<th>(-)</th>
|
||
<th>(kg)</th>
|
||
<th>(kg N / year)</th>
|
||
</tr>
|
||
<tr>
|
||
<th></th>
|
||
<th></th>
|
||
<th></th>
|
||
<th></th>
|
||
<th></th>
|
||
<th></th>
|
||
<th></th>
|
||
<th>H = (A x B x C x D x E) – F</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
@foreach ($emisiData as $data)
|
||
<tr class="text-right">
|
||
<td class="text-left"></td>
|
||
<td>{{ $isExport ? $data->population : getFormattedValue($data->population, 3) }}</td>
|
||
<td>{{ $isExport ? $data->protein : getFormattedValue($data->protein, 2) }}</td>
|
||
<td>{{ $isExport ? $data->ef_f_npr : getFormattedValue($data->ef_f_npr) }}</td>
|
||
<td>{{ $isExport ? $data->ef_f_non_con : getFormattedValue($data->ef_f_non_con) }}</td>
|
||
<td>{{ $isExport ? $data->ef_f_ind_com : getFormattedValue($data->ef_f_ind_com) }}</td>
|
||
<td>{{ $isExport ? $data->ef_n_sludge : getFormattedValue($data->ef_n_sludge) }}</td>
|
||
<td>{{ $isExport ? $data->n_effluent : getFormattedValue($data->n_effluent, 2) }}</td>
|
||
</tr>
|
||
@endforeach
|
||
</tbody>
|
||
</table>
|
||
</div>
|