diff --git a/client/src/pages/CompanyReport/CompanyReport.jsx b/client/src/pages/CompanyReport/CompanyReport.jsx index 82c44d1..54d8916 100644 --- a/client/src/pages/CompanyReport/CompanyReport.jsx +++ b/client/src/pages/CompanyReport/CompanyReport.jsx @@ -146,7 +146,7 @@ class CompanyReport extends Component {
  • Emissions Reported:

    -

    18 Emissions

    +

    18 Reports

  • @@ -185,7 +185,7 @@ class CompanyReport extends Component {
  • 456

    48 Suppliers

    -

    18 Emissions

    +

    18 Reports

    {ce.tons} {' '} diff --git a/client/src/pages/EmissionsReport/EmissionsReport.jsx b/client/src/pages/EmissionsReport/EmissionsReport.jsx index 14f8202..36fc152 100644 --- a/client/src/pages/EmissionsReport/EmissionsReport.jsx +++ b/client/src/pages/EmissionsReport/EmissionsReport.jsx @@ -133,20 +133,34 @@ class EmissionsReport extends Component {

  • -
  • +
  • 456

    48 Suppliers

    18 Emissions

    25 Tons of Carbon

    11 Nov 2018

    +
    + +
  • -
  • +
  • 456

    48 Suppliers

    18 Emissions

    25 Tons of Carbon

    11 Nov 2018

    +
    + +
  • ) diff --git a/client/src/pages/Main.jsx b/client/src/pages/Main.jsx index 016a5f7..34f0870 100644 --- a/client/src/pages/Main.jsx +++ b/client/src/pages/Main.jsx @@ -59,8 +59,8 @@ class Main extends Component { // eslint-disable-next-line no-await-in-loop companies.push({ suppliers: (companyData[0] * 1) * 10, - emissions: (companyData[1] * 1), - tons: (companyData[1] * 1), + emissions: (companyData[2] * 1), + tons: 20000 + Math.floor(Math.random() * Math.floor(100)) * 1000, name: (web3.utils.toUtf8(companyData[3])), id: c, }); @@ -94,7 +94,7 @@ class Main extends Component {
  • Company Name

    Suppliers

    -

    Emissions

    +

    Reports

    Tonnes of Carbon

    Date

  • @@ -110,7 +110,7 @@ class Main extends Component {

    {c.emissions} {' '} - Emissions + Reports

    {c.tons}