This commit is contained in:
borisflagell 2022-05-22 11:59:14 +02:00
parent 82a001c962
commit 5bc1d293ca

@ -60,7 +60,7 @@ export function Overview({ rerender }: IProps): React.ReactElement {
["Total Funds:", <Money money={corp.funds} />], ["Total Funds:", <Money money={corp.funds} />],
["Total Revenue:", <MoneyRate money={corp.revenue} />], ["Total Revenue:", <MoneyRate money={corp.revenue} />],
["Total Expenses:", <MoneyRate money={corp.expenses} />], ["Total Expenses:", <MoneyRate money={corp.expenses} />],
["Total Profit:", <MoneyRate money={corp.revenue-corp.expenses} />], ["Total Profit:", <MoneyRate money={corp.revenue - corp.expenses} />],
["Publicly Traded:", corp.public ? "Yes" : "No"], ["Publicly Traded:", corp.public ? "Yes" : "No"],
["Owned Stock Shares:", numeralWrapper.format(corp.numShares, "0.000a")], ["Owned Stock Shares:", numeralWrapper.format(corp.numShares, "0.000a")],
["Stock Price:", corp.public ? <Money money={corp.sharePrice} /> : "N/A"], ["Stock Price:", corp.public ? <Money money={corp.sharePrice} /> : "N/A"],