mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix #248
This commit is contained in:
parent
cce4ef19e5
commit
a6f3e61520
@ -58,6 +58,7 @@ class Entry
|
|||||||
public $fromAccountId;
|
public $fromAccountId;
|
||||||
/** @var string */
|
/** @var string */
|
||||||
public $fromAccountName;
|
public $fromAccountName;
|
||||||
|
/** @var int */
|
||||||
public $fromAccountNumber;
|
public $fromAccountNumber;
|
||||||
/** @var string */
|
/** @var string */
|
||||||
public $fromAccountType;
|
public $fromAccountType;
|
||||||
@ -132,23 +133,25 @@ class Entry
|
|||||||
// key = field name (see top of class)
|
// key = field name (see top of class)
|
||||||
// value = field type (see csv.php under 'roles')
|
// value = field type (see csv.php under 'roles')
|
||||||
return [
|
return [
|
||||||
'amount' => 'amount',
|
'amount' => 'amount',
|
||||||
'date' => 'date-transaction',
|
'date' => 'date-transaction',
|
||||||
'description' => 'description',
|
'description' => 'description',
|
||||||
'billId' => 'bill-id',
|
'billId' => 'bill-id',
|
||||||
'billName' => 'bill-name',
|
'billName' => 'bill-name',
|
||||||
'budgetId' => 'budget-id',
|
'budgetId' => 'budget-id',
|
||||||
'budgetName' => 'budget-name',
|
'budgetName' => 'budget-name',
|
||||||
'categoryId' => 'category-id',
|
'categoryId' => 'category-id',
|
||||||
'categoryName' => 'category-name',
|
'categoryName' => 'category-name',
|
||||||
'fromAccountId' => 'account-id',
|
'fromAccountId' => 'account-id',
|
||||||
'fromAccountName' => 'account-name',
|
'fromAccountNumber' => 'account-number',
|
||||||
'fromAccountIban' => 'account-iban',
|
'fromAccountName' => 'account-name',
|
||||||
'fromAccountType' => '_ignore', // no, Firefly cannot import what it exports. I know :D
|
'fromAccountIban' => 'account-iban',
|
||||||
'toAccountId' => 'opposing-id',
|
'fromAccountType' => '_ignore', // no, Firefly cannot import what it exports. I know :D
|
||||||
'toAccountName' => 'opposing-name',
|
'toAccountId' => 'opposing-id',
|
||||||
'toAccountIban' => 'opposing-iban',
|
'toAccountNumber' => 'account-number',
|
||||||
'toAccountType' => '_ignore',
|
'toAccountName' => 'opposing-name',
|
||||||
|
'toAccountIban' => 'opposing-iban',
|
||||||
|
'toAccountType' => '_ignore',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user