[IMP] add highlight for retained earnings

This commit is contained in:
Xavier Morel 2015-03-17 15:03:46 +01:00
parent a8a2c2ce86
commit 65e6bb3d11
2 changed files with 9 additions and 2 deletions

View File

@ -18,7 +18,9 @@
React.DOM.h4(null, "Profit & Loss"),
React.DOM.div(
null,
React.DOM.h5(null, "Net Profit"),
React.DOM.h5(
highlight(null, this.props.current === 'retained'),
"Net Profit"),
React.DOM.div(
highlight(null, this.props.current === 'gross-profit'),
React.DOM.h5(
@ -110,7 +112,10 @@
"Common Stock", React.DOM.br(),
"Treasury Stock"
),
React.DOM.dt(null, "Plus ", "Retained Earnings")
React.DOM.dt(
highlight(this.props.current === 'retained'),
"Plus ", "Retained Earnings"
)
)
)
)

View File

@ -43,6 +43,8 @@ Accounting Memento For Entrepreneurs
**Equity** is the amount of the funds contributed by the owners (founders
or shareholders) plus previously retained earnings (or losses).
.. rst-class:: intro-retained
Each year, net profits (or losses) are reported to retained earnings.
.. h:div:: force-right accounts-table