mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-19 14:13:48 +01:00
UI: FIX #3376 Add a Total Profit line on Corporation Overview
Add a Total Profit line on Corporation Overview. Feels a bit like a low added-value bloat. But division did use that pattern already, so I guess it can count as streamlining.
This commit is contained in:
parent
b2659318c8
commit
82a001c962
@ -60,6 +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} />],
|
||||||
["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"],
|
||||||
|
Loading…
Reference in New Issue
Block a user