feat: Transfer from & to account.

This commit is contained in:
elforjani13
2021-10-18 16:25:58 +02:00
parent c148e2976a
commit de05667bdc
3 changed files with 5 additions and 6 deletions

View File

@@ -128,8 +128,7 @@ function TransferFromAccountFormFields() {
{({ form, field, meta: { error, touched } }) => (
<FormGroup
label={
'Transfer account'
// <T id={'cash_flow_transaction.label_transfer_from_account'} />
<T id={'cash_flow_transaction.label_transfer_from_account'} />
}
labelInfo={<FieldRequiredHint />}
intent={inputIntent({ error, touched })}

View File

@@ -128,8 +128,7 @@ function TransferToAccountFormFields() {
{({ form, field, meta: { error, touched } }) => (
<FormGroup
label={
'Transfer account'
// <T id={'cash_flow_transaction.label_transfer_from_account'} />
<T id={'cash_flow_transaction.label_transfer_to_account'} />
}
labelInfo={<FieldRequiredHint />}
intent={inputIntent({ error, touched })}

View File

@@ -1381,13 +1381,14 @@
"cash_flow.option_transfer_to_account":"Transfer to account",
"cash_flow_transaction.label_equity_account":"Equity account",
"cash_flow_transaction.label_expense_account":"Expense account",
"cash_flow_transaction.label_transfer_account":"Transfer account",
"cash_flow_transaction_success_message":" The cashflow transaction has been created successfully.",
"cash_flow_transaction.money_in":"Money In",
"cash_flow_transaction.money_out":"Money Out",
"cash_flow_transaction.other_income_account":"Other income account",
"cash_flow_transaction.other_expense_account":"Other expense account",
"save_and_publish": "Save & Publish"
"save_and_publish": "Save & Publish",
"cash_flow_transaction.label_transfer_from_account":"Transfer from account",
"cash_flow_transaction.label_transfer_to_account":"Transfer to account"
}