From 65e6bb3d11fadc60cf15398ca86f777a65825a48 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Tue, 17 Mar 2015 15:03:46 +0100 Subject: [PATCH] [IMP] add highlight for retained earnings --- _static/accounts.js | 9 +++++++-- index.rst | 2 ++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/_static/accounts.js b/_static/accounts.js index 9bc9318c0..cd656e912 100644 --- a/_static/accounts.js +++ b/_static/accounts.js @@ -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" + ) ) ) ) diff --git a/index.rst b/index.rst index 65f0bf0d9..03b29434b 100644 --- a/index.rst +++ b/index.rst @@ -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