mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
feat: cashflow service.
This commit is contained in:
@@ -141,14 +141,14 @@ function BankAccountBalance({ amount, loading }) {
|
||||
|
||||
const ACCOUNT_TYPE = {
|
||||
CASH: 'cash',
|
||||
BANK: 'bank',
|
||||
CREDIT_CARD: 'credit-card',
|
||||
BANK_ACCOUNT: 'bank-account',
|
||||
};
|
||||
|
||||
const ACCOUNT_TYPE_PAIR_ICON = {
|
||||
[ACCOUNT_TYPE.CASH]: 'payments',
|
||||
[ACCOUNT_TYPE.CREDIT_CARD]: 'credit-card',
|
||||
[ACCOUNT_TYPE.BANK_ACCOUNT]: 'account-balance',
|
||||
[ACCOUNT_TYPE.BANK]: 'account-balance',
|
||||
};
|
||||
|
||||
function BankAccountTypeIcon({ type }) {
|
||||
@@ -159,7 +159,7 @@ function BankAccountTypeIcon({ type }) {
|
||||
}
|
||||
return (
|
||||
<AccountIconWrap>
|
||||
<Icon icon={'credit-card'} iconSize={18} />
|
||||
<Icon icon={icon} iconSize={18} />
|
||||
</AccountIconWrap>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user