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