2015-07-04 00:53:37 -05:00
|
|
|
<?php
|
|
|
|
return [
|
2015-07-05 12:31:58 -05:00
|
|
|
'specifix' => [
|
2015-07-06 13:21:55 -05:00
|
|
|
'RabobankDescription',
|
2016-01-15 09:48:09 -06:00
|
|
|
'AbnAmroDescription',
|
2015-07-06 13:21:55 -05:00
|
|
|
'Dummy'
|
2015-07-05 12:31:58 -05:00
|
|
|
],
|
|
|
|
'post_processors' => [
|
|
|
|
'Description',
|
|
|
|
'Amount',
|
|
|
|
'Currency',
|
2015-07-05 14:47:59 -05:00
|
|
|
'Bill',
|
|
|
|
'OpposingAccount', // must be after Amount!
|
2015-07-09 11:33:09 -05:00
|
|
|
'AssetAccount',
|
2015-07-05 12:31:58 -05:00
|
|
|
|
|
|
|
],
|
|
|
|
'roles' => [
|
2015-07-04 00:53:37 -05:00
|
|
|
'_ignore' => [
|
2015-07-04 23:26:34 -05:00
|
|
|
'mappable' => false,
|
2015-07-04 23:18:02 -05:00
|
|
|
'converter' => 'Ignore',
|
|
|
|
'field' => 'ignored',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'bill-id' => [
|
2015-07-05 07:37:36 -05:00
|
|
|
'mappable' => false,
|
|
|
|
'field' => 'bill',
|
2015-07-05 11:18:44 -05:00
|
|
|
'converter' => 'BillId',
|
|
|
|
'mapper' => 'Bill',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'bill-name' => [
|
2015-07-05 07:37:36 -05:00
|
|
|
'mappable' => true,
|
|
|
|
'converter' => 'BillName',
|
|
|
|
'field' => 'bill',
|
2015-07-05 11:18:44 -05:00
|
|
|
'mapper' => 'Bill',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'currency-id' => [
|
2015-07-05 08:16:44 -05:00
|
|
|
'mappable' => true,
|
|
|
|
'converter' => 'CurrencyId',
|
|
|
|
'field' => 'currency',
|
2015-07-05 11:18:44 -05:00
|
|
|
'mapper' => 'TransactionCurrency'
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'currency-name' => [
|
2015-07-05 08:16:44 -05:00
|
|
|
'mappable' => true,
|
|
|
|
'converter' => 'CurrencyName',
|
|
|
|
'field' => 'currency',
|
2015-07-05 11:18:44 -05:00
|
|
|
'mapper' => 'TransactionCurrency'
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'currency-code' => [
|
2015-07-04 23:18:02 -05:00
|
|
|
'mappable' => true,
|
|
|
|
'converter' => 'CurrencyCode',
|
2015-07-05 01:45:05 -05:00
|
|
|
'field' => 'currency',
|
|
|
|
'mapper' => 'TransactionCurrency'
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'currency-symbol' => [
|
2015-07-05 08:16:44 -05:00
|
|
|
'mappable' => true,
|
|
|
|
'converter' => 'CurrencySymbol',
|
|
|
|
'field' => 'currency',
|
2015-07-05 11:18:44 -05:00
|
|
|
'mapper' => 'TransactionCurrency'
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'description' => [
|
2015-07-04 23:59:05 -05:00
|
|
|
'mappable' => false,
|
|
|
|
'converter' => 'Description',
|
|
|
|
'field' => 'description',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'date-transaction' => [
|
2015-07-04 23:18:02 -05:00
|
|
|
'mappable' => false,
|
|
|
|
'converter' => 'Date',
|
|
|
|
'field' => 'date',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'date-rent' => [
|
2015-07-04 23:59:05 -05:00
|
|
|
'mappable' => false,
|
2015-07-04 23:26:34 -05:00
|
|
|
'converter' => 'Date',
|
|
|
|
'field' => 'date-rent',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'budget-id' => [
|
2015-07-05 08:16:44 -05:00
|
|
|
'mappable' => true,
|
|
|
|
'converter' => 'BudgetId',
|
2015-07-05 11:18:44 -05:00
|
|
|
'field' => 'budget',
|
|
|
|
'mapper' => 'Budget',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'budget-name' => [
|
2015-07-05 08:16:44 -05:00
|
|
|
'mappable' => true,
|
|
|
|
'converter' => 'BudgetName',
|
2015-07-05 11:18:44 -05:00
|
|
|
'field' => 'budget',
|
|
|
|
'mapper' => 'Budget',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
2015-07-04 23:18:02 -05:00
|
|
|
'rabo-debet-credit' => [
|
|
|
|
'mappable' => false,
|
|
|
|
'converter' => 'RabobankDebetCredit',
|
|
|
|
'field' => 'amount-modifier',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
2016-03-07 13:00:16 -06:00
|
|
|
'ing-debet-credit' => [
|
|
|
|
'mappable' => false,
|
|
|
|
'converter' => 'INGDebetCredit',
|
|
|
|
'field' => 'amount-modifier',
|
|
|
|
],
|
2015-07-04 00:53:37 -05:00
|
|
|
'category-id' => [
|
2015-07-05 08:16:44 -05:00
|
|
|
'mappable' => true,
|
|
|
|
'converter' => 'CategoryId',
|
2015-07-05 11:18:44 -05:00
|
|
|
'field' => 'category',
|
|
|
|
'mapper' => 'Category',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'category-name' => [
|
2015-07-05 08:16:44 -05:00
|
|
|
'mappable' => true,
|
|
|
|
'converter' => 'CategoryName',
|
2015-07-05 11:18:44 -05:00
|
|
|
'field' => 'category',
|
|
|
|
'mapper' => 'Category',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'tags-comma' => [
|
2015-07-05 11:18:44 -05:00
|
|
|
'mappable' => true,
|
|
|
|
'field' => 'tags',
|
|
|
|
'converter' => 'TagsComma',
|
|
|
|
'mapper' => 'Tag',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'tags-space' => [
|
2015-07-05 11:18:44 -05:00
|
|
|
'mappable' => true,
|
|
|
|
'field' => 'tags',
|
|
|
|
'converter' => 'TagsSpace',
|
|
|
|
'mapper' => 'Tag',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'account-id' => [
|
2015-07-05 07:37:36 -05:00
|
|
|
'mappable' => true,
|
|
|
|
'mapper' => 'AssetAccount',
|
2015-07-09 09:37:42 -05:00
|
|
|
'field' => 'asset-account-id',
|
2015-07-05 07:37:36 -05:00
|
|
|
'converter' => 'AccountId'
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'account-name' => [
|
2015-07-05 07:37:36 -05:00
|
|
|
'mappable' => true,
|
|
|
|
'mapper' => 'AssetAccount',
|
2015-07-09 09:37:42 -05:00
|
|
|
'field' => 'asset-account-name',
|
2015-07-05 07:37:36 -05:00
|
|
|
'converter' => 'AssetAccountName'
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'account-iban' => [
|
2015-07-04 23:18:02 -05:00
|
|
|
'mappable' => true,
|
2015-07-05 07:37:36 -05:00
|
|
|
'converter' => 'AssetAccountIban',
|
2015-07-09 09:37:42 -05:00
|
|
|
'field' => 'asset-account-iban',
|
2015-07-05 01:45:05 -05:00
|
|
|
'mapper' => 'AssetAccount'
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
2016-02-11 00:02:48 -06:00
|
|
|
'account-number' => [
|
|
|
|
'mappable' => true,
|
|
|
|
'converter' => 'AssetAccountNumber',
|
|
|
|
'field' => 'asset-account-number',
|
|
|
|
'mapper' => 'AssetAccount'
|
|
|
|
],
|
2015-07-04 00:53:37 -05:00
|
|
|
'opposing-id' => [
|
2015-07-05 09:39:25 -05:00
|
|
|
'mappable' => true,
|
|
|
|
'field' => 'opposing-account-id',
|
2015-07-05 11:18:44 -05:00
|
|
|
'converter' => 'OpposingAccountId',
|
|
|
|
'mapper' => 'AnyAccount',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'opposing-name' => [
|
2015-07-05 11:18:44 -05:00
|
|
|
'mappable' => true,
|
|
|
|
'field' => 'opposing-account-name',
|
|
|
|
'converter' => 'OpposingAccountName',
|
|
|
|
'mapper' => 'AnyAccount',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'opposing-iban' => [
|
2015-07-05 11:18:44 -05:00
|
|
|
'mappable' => true,
|
|
|
|
'field' => 'opposing-account-iban',
|
|
|
|
'converter' => 'OpposingAccountIban',
|
|
|
|
'mapper' => 'AnyAccount',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
2016-02-11 00:02:48 -06:00
|
|
|
'opposing-number' => [
|
|
|
|
'mappable' => true,
|
|
|
|
'field' => 'opposing-account-number',
|
|
|
|
'converter' => 'OpposingAccountNumber',
|
|
|
|
'mapper' => 'AnyAccount',
|
|
|
|
],
|
2015-07-04 00:53:37 -05:00
|
|
|
'amount' => [
|
2015-07-04 23:18:02 -05:00
|
|
|
'mappable' => false,
|
|
|
|
'converter' => 'Amount',
|
|
|
|
'field' => 'amount',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
2016-01-17 08:37:49 -06:00
|
|
|
'amount-comma-separated' => [
|
|
|
|
'mappable' => false,
|
|
|
|
'converter' => 'AmountComma',
|
|
|
|
'field' => 'amount',
|
|
|
|
],
|
2015-07-04 00:53:37 -05:00
|
|
|
'sepa-ct-id' => [
|
2015-07-04 23:59:05 -05:00
|
|
|
'mappable' => false,
|
|
|
|
'converter' => 'Description',
|
|
|
|
'field' => 'description',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'sepa-ct-op' => [
|
2015-07-04 23:59:05 -05:00
|
|
|
'mappable' => false,
|
|
|
|
'converter' => 'Description',
|
|
|
|
'field' => 'description',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
'sepa-db' => [
|
2015-07-04 23:59:05 -05:00
|
|
|
'mappable' => false,
|
|
|
|
'converter' => 'Description',
|
|
|
|
'field' => 'description',
|
2015-07-04 00:53:37 -05:00
|
|
|
],
|
|
|
|
]
|
2015-07-09 14:26:40 -05:00
|
|
|
];
|