sigd/resources/views/modules/reports/worksheet/tables/3C5.blade.php

75 lines
3.8 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 rowspan="4">Anthropogenic N input type</th>
<th>Annual amount of synthetic fertilizer N applied to soils</th>
<th>Fraction of synthetic fertilizer N that volatilises</th>
<th>Annual amount of animal manure, compost, sewage sludge and other organic N additions intentionally
applied to soils</th>
<th>Annual amount of urine and dung N deposited by grazing animals on pasture, range and paddock</th>
<th>Fraction of applied organic N fertilizer materials (F<sub>ON</sub>) and of urine and dung N
deposited by grazing animals (F<sub>PRP</sub>) that volatilises</th>
<th>Emission factor for N<sub>2</sub>O emission from atmospheric deposition of N on soils and water
surfaces</th>
<th>Annual amount of N<sub>2</sub>O-N produced from atmospheric deposition of N volatilised from managed
soils</th>
</tr>
<tr>
<th>(kg N yr<sup>-1</sup>)</th>
<th>(kg NH<sub>3</sub>-N + NO<sub>x</sub>-N) (kg of N applied)<sup>-1<sup></th>
<th>(kg N yr<sup>-1</sup>)</th>
<th>(kg N yr<sup>-1</sup>)</th>
<th>(kg NH<sub>3<sub>-N + NO<sub>x</sub>-N) (kg of N applied or deposited)<sup>-1</sup></th>
<th>(kg N<sub>2</sub>O-N) (kg NH<sub>3</sub>-N + NO<sub>x</sub>-N volatilized)<sup>-1</sup></th>
<th>(kg N<sub>2</sub>O-N yr<sup>-1</sup>)</th>
</tr>
<tr>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th>N<sub>2</sub>O<sub>(ATD)</sub>-N = [(F<sub>SN</sub> * Frac<sub>GASF</sub>) + (F<sub>ON</sub> +
F<sub>PRP</sub>) * Frac<sub>GASM</sub>)] * EF<sub>4</sub></th>
</tr>
<tr>
<th>F<sub>SN</sub></th>
<th>Frac<sub>GASF<sub></th>
<th>F<sub>ON</sub></th>
<th>F<sub>PRP</sub></th>
<th>Frac<sub>GASM</sub></th>
<th>EF<sub>4</sub></th>
<th>N<sub>2</sub>O<sub>(ATD)</sub>-N</th>
</tr>
</thead>
<tbody>
@php
$total = 0;
@endphp
@foreach ($emisiData as $data)
@php
$total += $data->n2o_n;
@endphp
<tr class="text-right">
<td class="text-left">{{ strtoupper($data->activity) }}</td>
<td>{{ $isExport ? $data->f_sn : getFormattedValue($data->f_sn, 4) }}</td>
<td>{{ $isExport ? $data->frac_gasf : getFormattedValue($data->frac_gasf, 4) }}</td>
<td>{{ $isExport ? $data->f_on : getFormattedValue($data->f_on, 4) }}</td>
<td>{{ $isExport ? $data->f_prp : getFormattedValue($data->f_prp, 4) }}</td>
<td>{{ $isExport ? $data->frac_gasm : getFormattedValue($data->frac_gasm, 4) }}</td>
<td>{{ $isExport ? $data->ef4 : getFormattedValue($data->ef4, 4) }}</td>
<td>{{ $isExport ? $data->n2o_n : getFormattedValue($data->n2o_n, 4) }}</td>
</tr>
@endforeach
</tbody>
<tfoot>
<tr class="text-right font-weight-bold">
<td class="text-center" colspan="7">Total</td>
<td>{{ $isExport ? $total : getFormattedValue($total, 4) }}</td>
</tr>
</tfoot>
</table>
</div>