/**
 * Grand Total sub-component
 *
 * @type {*|Function}
 *
 * @author Rai Icasiano <ricasiano at cambridge dot org>
 */
window.GrandTotal = React.createClass({
    getGrandTotal: function(){
        return this.props.getGrandTotal();
    },
    render: function () {
        return (
            <div className="nine columns alignRight grand_total_container noPadding">
                <div className="five columns alignRight offset-by-seven">
                    <div className="twelve columns noPadding konakartGrandTotal">
                        Grand Total&nbsp;&nbsp;{this.props.getCurrency()}{this.getGrandTotal()}</div>
                </div>
                <br/><br/><br/>
            </div>
        );
    }
});