@@ -276,10 +276,10 @@ const Dashboard = ({ setRedirect, setRedirectUrl, t }) => {
276276 totalInTCE [ 'increment_rate' ] =
277277 parseFloat ( json [ 'reporting_period_input' ] [ 'this_month_increment_rate_in_kgce' ] * 100 ) . toFixed ( 2 ) + '%' ;
278278 totalInTCE [ 'value_per_unit_area' ] =
279- json [ 'space' ] [ 'area' ] > 0 ? parseFloat ( totalInTCE [ 'value' ] / json [ 'space' ] [ 'area' ] ) . toFixed ( 3 ) : 0.0 ;
279+ json [ 'space' ] [ 'area' ] > 0 ? parseFloat ( 1000.0 * totalInTCE [ 'value' ] / json [ 'space' ] [ 'area' ] ) . toFixed ( 3 ) : 0.0 ;
280280 totalInTCE [ 'value_per_capita' ] =
281281 json [ 'space' ] [ 'number_of_occupants' ] > 0
282- ? parseFloat ( totalInTCE [ 'value' ] / json [ 'space' ] [ 'number_of_occupants' ] ) . toFixed ( 3 )
282+ ? parseFloat ( 1000.0 * totalInTCE [ 'value' ] / json [ 'space' ] [ 'number_of_occupants' ] ) . toFixed ( 3 )
283283 : 0.0 ;
284284 setTotalInTCE ( totalInTCE ) ;
285285
@@ -299,10 +299,10 @@ const Dashboard = ({ setRedirect, setRedirectUrl, t }) => {
299299 totalInTCO2E [ 'increment_rate' ] =
300300 parseFloat ( json [ 'reporting_period_input' ] [ 'this_month_increment_rate_in_kgco2e' ] * 100 ) . toFixed ( 2 ) + '%' ;
301301 totalInTCO2E [ 'value_per_unit_area' ] =
302- json [ 'space' ] [ 'area' ] > 0 ? parseFloat ( totalInTCO2E [ 'value' ] / json [ 'space' ] [ 'area' ] ) . toFixed ( 3 ) : 0.0 ;
302+ json [ 'space' ] [ 'area' ] > 0 ? parseFloat ( 1000.0 * totalInTCO2E [ 'value' ] / json [ 'space' ] [ 'area' ] ) . toFixed ( 3 ) : 0.0 ;
303303 totalInTCO2E [ 'value_per_capita' ] =
304304 json [ 'space' ] [ 'number_of_occupants' ] > 0
305- ? parseFloat ( totalInTCO2E [ 'value' ] / json [ 'space' ] [ 'number_of_occupants' ] ) . toFixed ( 3 )
305+ ? parseFloat ( 1000.0 * totalInTCO2E [ 'value' ] / json [ 'space' ] [ 'number_of_occupants' ] ) . toFixed ( 3 )
306306 : 0.0 ;
307307 setTotalInTCO2E ( totalInTCO2E ) ;
308308
@@ -767,10 +767,10 @@ const Dashboard = ({ setRedirect, setRedirectUrl, t }) => {
767767 color = "warning"
768768 footnote = { t ( 'Per Unit Area' ) }
769769 footvalue = { totalInTCE [ 'value_per_unit_area' ] }
770- footunit = "(TCE /m²)"
770+ footunit = "(kgCE /m²)"
771771 secondfootnote = { t ( 'Per Capita' ) }
772772 secondfootvalue = { totalInTCE [ 'value_per_capita' ] }
773- secondfootunit = "(TCE )"
773+ secondfootunit = "(kgCE )"
774774 >
775775 { totalInTCE [ 'value' ] && (
776776 < CountUp end = { totalInTCE [ 'value' ] } duration = { 2 } prefix = "" separator = "," decimal = "." decimals = { 2 } />
@@ -788,10 +788,10 @@ const Dashboard = ({ setRedirect, setRedirectUrl, t }) => {
788788 color = "warning"
789789 footnote = { t ( 'Per Unit Area' ) }
790790 footvalue = { totalInTCO2E [ 'value_per_unit_area' ] }
791- footunit = "(TCO2E /m²)"
791+ footunit = "(kgCO2E /m²)"
792792 secondfootnote = { t ( 'Per Capita' ) }
793793 secondfootvalue = { totalInTCO2E [ 'value_per_capita' ] }
794- secondfootunit = "(TCO2E )"
794+ secondfootunit = "(kgCO2E )"
795795 >
796796 { totalInTCO2E [ 'value' ] && (
797797 < CountUp end = { totalInTCO2E [ 'value' ] } duration = { 2 } prefix = "" separator = "," decimal = "." decimals = { 2 } />
@@ -820,14 +820,14 @@ const Dashboard = ({ setRedirect, setRedirectUrl, t }) => {
820820 ? ( totalInTCO2E [ 'value_per_unit_area' ] / totalInTCE [ 'value_per_unit_area' ] ) . toFixed ( 3 )
821821 : '--'
822822 }
823- footunit = { t ( '(TCO2E/TCE /m²)' ) }
823+ footunit = { t ( '(kgCO2E/kgCE /m²)' ) }
824824 secondfootnote = { t ( 'Per Capita' ) }
825825 secondfootvalue = {
826826 totalInTCE [ 'value_per_capita' ] && totalInTCE [ 'value_per_capita' ] !== 0 && totalInTCO2E [ 'value_per_capita' ]
827827 ? ( totalInTCO2E [ 'value_per_capita' ] / totalInTCE [ 'value_per_capita' ] ) . toFixed ( 3 )
828828 : '--'
829829 }
830- secondfootunit = { t ( '(TCO2E/TCE )' ) }
830+ secondfootunit = { t ( '(kgCO2E/kgCE )' ) }
831831 >
832832 { totalInTCE [ 'value' ] && totalInTCE [ 'value' ] !== 0 && totalInTCO2E [ 'value' ] ? (
833833 < CountUp
0 commit comments