Template:EAIn: Difference between revisions

No edit summary
Line 1: Line 1:
{{#clear_external_data:}}{{#get_db_data: db=engy|from=ea_ew_in|where=epr='{{{EPR}}}'|limit=1|data=updated=updated}}{{#vardefine: updated|{{#external_value:update}}}}{{#clear_external_data:}}{{#get_db_data: db=engy|from=ea_ew_in|where=epr='{{{EPR}}}'|data=opt=sum(tin)}}{{#vardefine: total| {{#external_value:opt}}}}{{#clear_external_data:}}{{#get_db_data: db=engy|from=ea_ew_in|where=epr='{{{EPR}}}'|data=ewc=ewc,originregion=originregion,tin=tin}}
{{#clear_external_data:}}{{#get_db_data: db=engy|from=ea_ew_in|where=epr='{{{EPR}}}'|limit=1|data=updated=updated}}{{#vardefine: update|{{#external_value:update}}}}{{#clear_external_data:}}{{#get_db_data: db=engy|from=ea_ew_in|where=epr='{{{EPR}}}'|data=opt=sum(tin)}}{{#vardefine: total| {{#external_value:opt}}}}{{#clear_external_data:}}{{#get_db_data: db=engy|from=ea_ew_in|where=epr='{{{EPR}}}'|data=ewc=ewc,originregion=originregion,tin=tin}}
==EA Waste Tonnage==
==EA Waste Tonnage==
The table shows a list of the [[Waste]] for the [[WML|Permit]] {{{EPR}}}, that has arrived into sites as reported to the [[EA]] and then publicised in their [[EA Waste Interrogater]] tool. The [[EA]] Data was updated on {{#var:updated}}. The total [[EA]] tonnage arriving at the site was: '''{{#if: {{#var:total}} | {{formatnum: {{#expr: {{#var:total}} round 2}} }}t | 0t }}'''. Where this tonnage exceeds that reported in year of the corresponding annual report, this may be due to the following reasons:
The table shows a list of the [[Waste]] for the [[WML|Permit]] {{{EPR}}}, that has arrived into sites as reported to the [[EA]] and then publicised in their [[EA Waste Interrogater]] tool. The [[EA]] Data was updated on {{#var:updated}}. The total [[EA]] tonnage arriving at the site was: '''{{#if: {{#var:total}} | {{formatnum: {{#expr: {{#var:total}} round 2}} }}t | 0t }}'''. Where this tonnage exceeds that reported in year of the corresponding annual report, this may be due to the following reasons: