mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
feat(lang): drawer lang.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import React from 'react';
|
||||
import { If, Money } from 'components';
|
||||
import { FormattedMessage as T } from 'react-intl';
|
||||
|
||||
export default function ExpenseDrawerFooter({
|
||||
expense: { total_amount, currency_code },
|
||||
@@ -8,11 +9,11 @@ export default function ExpenseDrawerFooter({
|
||||
<div className="expense-drawer__content--footer">
|
||||
<div className="wrapper">
|
||||
<div>
|
||||
<span>Sub Total</span>
|
||||
<span><T id={'sub_total'}/></span>
|
||||
<p>{<Money amount={total_amount} currency={currency_code} />}</p>
|
||||
</div>
|
||||
<div>
|
||||
<span>Total</span>
|
||||
<span><T id={'total'}/></span>
|
||||
<p>{<Money amount={total_amount} currency={currency_code} />}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user