Field 'name' is not used. Also added some other new stuff.

This commit is contained in:
James Cole
2016-02-11 07:02:48 +01:00
parent 4658ef9918
commit efb37ae709

View File

@@ -16,187 +16,171 @@ return [
], ],
'roles' => [ 'roles' => [
'_ignore' => [ '_ignore' => [
'name' => '(ignore this column)',
'mappable' => false, 'mappable' => false,
'converter' => 'Ignore', 'converter' => 'Ignore',
'field' => 'ignored', 'field' => 'ignored',
], ],
'bill-id' => [ 'bill-id' => [
'name' => 'Bill ID (matching Firefly)',
'mappable' => false, 'mappable' => false,
'field' => 'bill', 'field' => 'bill',
'converter' => 'BillId', 'converter' => 'BillId',
'mapper' => 'Bill', 'mapper' => 'Bill',
], ],
'bill-name' => [ 'bill-name' => [
'name' => 'Bill name',
'mappable' => true, 'mappable' => true,
'converter' => 'BillName', 'converter' => 'BillName',
'field' => 'bill', 'field' => 'bill',
'mapper' => 'Bill', 'mapper' => 'Bill',
], ],
'currency-id' => [ 'currency-id' => [
'name' => 'Currency ID (matching Firefly)',
'mappable' => true, 'mappable' => true,
'converter' => 'CurrencyId', 'converter' => 'CurrencyId',
'field' => 'currency', 'field' => 'currency',
'mapper' => 'TransactionCurrency' 'mapper' => 'TransactionCurrency'
], ],
'currency-name' => [ 'currency-name' => [
'name' => 'Currency name (matching Firefly)',
'mappable' => true, 'mappable' => true,
'converter' => 'CurrencyName', 'converter' => 'CurrencyName',
'field' => 'currency', 'field' => 'currency',
'mapper' => 'TransactionCurrency' 'mapper' => 'TransactionCurrency'
], ],
'currency-code' => [ 'currency-code' => [
'name' => 'Currency code (ISO 4217)',
'mappable' => true, 'mappable' => true,
'converter' => 'CurrencyCode', 'converter' => 'CurrencyCode',
'field' => 'currency', 'field' => 'currency',
'mapper' => 'TransactionCurrency' 'mapper' => 'TransactionCurrency'
], ],
'currency-symbol' => [ 'currency-symbol' => [
'name' => 'Currency symbol (matching Firefly)',
'mappable' => true, 'mappable' => true,
'converter' => 'CurrencySymbol', 'converter' => 'CurrencySymbol',
'field' => 'currency', 'field' => 'currency',
'mapper' => 'TransactionCurrency' 'mapper' => 'TransactionCurrency'
], ],
'description' => [ 'description' => [
'name' => 'Description',
'mappable' => false, 'mappable' => false,
'converter' => 'Description', 'converter' => 'Description',
'field' => 'description', 'field' => 'description',
], ],
'date-transaction' => [ 'date-transaction' => [
'name' => 'Date',
'mappable' => false, 'mappable' => false,
'converter' => 'Date', 'converter' => 'Date',
'field' => 'date', 'field' => 'date',
], ],
'date-rent' => [ 'date-rent' => [
'name' => 'Rent calculation date',
'mappable' => false, 'mappable' => false,
'converter' => 'Date', 'converter' => 'Date',
'field' => 'date-rent', 'field' => 'date-rent',
], ],
'budget-id' => [ 'budget-id' => [
'name' => 'Budget ID (matching Firefly)',
'mappable' => true, 'mappable' => true,
'converter' => 'BudgetId', 'converter' => 'BudgetId',
'field' => 'budget', 'field' => 'budget',
'mapper' => 'Budget', 'mapper' => 'Budget',
], ],
'budget-name' => [ 'budget-name' => [
'name' => 'Budget name',
'mappable' => true, 'mappable' => true,
'converter' => 'BudgetName', 'converter' => 'BudgetName',
'field' => 'budget', 'field' => 'budget',
'mapper' => 'Budget', 'mapper' => 'Budget',
], ],
'rabo-debet-credit' => [ 'rabo-debet-credit' => [
'name' => 'Rabobank specific debet/credit indicator',
'mappable' => false, 'mappable' => false,
'converter' => 'RabobankDebetCredit', 'converter' => 'RabobankDebetCredit',
'field' => 'amount-modifier', 'field' => 'amount-modifier',
], ],
'category-id' => [ 'category-id' => [
'name' => 'Category ID (matching Firefly)',
'mappable' => true, 'mappable' => true,
'converter' => 'CategoryId', 'converter' => 'CategoryId',
'field' => 'category', 'field' => 'category',
'mapper' => 'Category', 'mapper' => 'Category',
], ],
'category-name' => [ 'category-name' => [
'name' => 'Category name',
'mappable' => true, 'mappable' => true,
'converter' => 'CategoryName', 'converter' => 'CategoryName',
'field' => 'category', 'field' => 'category',
'mapper' => 'Category', 'mapper' => 'Category',
], ],
'tags-comma' => [ 'tags-comma' => [
'name' => 'Tags (comma separated)',
'mappable' => true, 'mappable' => true,
'field' => 'tags', 'field' => 'tags',
'converter' => 'TagsComma', 'converter' => 'TagsComma',
'mapper' => 'Tag', 'mapper' => 'Tag',
], ],
'tags-space' => [ 'tags-space' => [
'name' => 'Tags (space separated)',
'mappable' => true, 'mappable' => true,
'field' => 'tags', 'field' => 'tags',
'converter' => 'TagsSpace', 'converter' => 'TagsSpace',
'mapper' => 'Tag', 'mapper' => 'Tag',
], ],
'account-id' => [ 'account-id' => [
'name' => 'Asset account ID (matching Firefly)',
'mappable' => true, 'mappable' => true,
'mapper' => 'AssetAccount', 'mapper' => 'AssetAccount',
'field' => 'asset-account-id', 'field' => 'asset-account-id',
'converter' => 'AccountId' 'converter' => 'AccountId'
], ],
'account-name' => [ 'account-name' => [
'name' => 'Asset account name',
'mappable' => true, 'mappable' => true,
'mapper' => 'AssetAccount', 'mapper' => 'AssetAccount',
'field' => 'asset-account-name', 'field' => 'asset-account-name',
'converter' => 'AssetAccountName' 'converter' => 'AssetAccountName'
], ],
'account-iban' => [ 'account-iban' => [
'name' => 'Asset account IBAN',
'mappable' => true, 'mappable' => true,
'converter' => 'AssetAccountIban', 'converter' => 'AssetAccountIban',
'field' => 'asset-account-iban', 'field' => 'asset-account-iban',
'mapper' => 'AssetAccount' 'mapper' => 'AssetAccount'
], ],
'account-number' => [
'mappable' => true,
'converter' => 'AssetAccountNumber',
'field' => 'asset-account-number',
'mapper' => 'AssetAccount'
],
'opposing-id' => [ 'opposing-id' => [
'name' => 'Opposing account account ID (matching Firefly)',
'mappable' => true, 'mappable' => true,
'field' => 'opposing-account-id', 'field' => 'opposing-account-id',
'converter' => 'OpposingAccountId', 'converter' => 'OpposingAccountId',
'mapper' => 'AnyAccount', 'mapper' => 'AnyAccount',
], ],
'opposing-name' => [ 'opposing-name' => [
'name' => 'Opposing account name',
'mappable' => true, 'mappable' => true,
'field' => 'opposing-account-name', 'field' => 'opposing-account-name',
'converter' => 'OpposingAccountName', 'converter' => 'OpposingAccountName',
'mapper' => 'AnyAccount', 'mapper' => 'AnyAccount',
], ],
'opposing-iban' => [ 'opposing-iban' => [
'name' => 'Opposing account IBAN',
'mappable' => true, 'mappable' => true,
'field' => 'opposing-account-iban', 'field' => 'opposing-account-iban',
'converter' => 'OpposingAccountIban', 'converter' => 'OpposingAccountIban',
'mapper' => 'AnyAccount', 'mapper' => 'AnyAccount',
], ],
'opposing-number' => [
'mappable' => true,
'field' => 'opposing-account-number',
'converter' => 'OpposingAccountNumber',
'mapper' => 'AnyAccount',
],
'amount' => [ 'amount' => [
'name' => 'Amount',
'mappable' => false, 'mappable' => false,
'converter' => 'Amount', 'converter' => 'Amount',
'field' => 'amount', 'field' => 'amount',
], ],
'amount-comma-separated' => [ 'amount-comma-separated' => [
'name' => 'Amount (comma as decimal separator)',
'mappable' => false, 'mappable' => false,
'converter' => 'AmountComma', 'converter' => 'AmountComma',
'field' => 'amount', 'field' => 'amount',
], ],
'sepa-ct-id' => [ 'sepa-ct-id' => [
'name' => 'SEPA Credit Transfer end-to-end ID',
'mappable' => false, 'mappable' => false,
'converter' => 'Description', 'converter' => 'Description',
'field' => 'description', 'field' => 'description',
], ],
'sepa-ct-op' => [ 'sepa-ct-op' => [
'name' => 'SEPA Credit Transfer opposing account',
'mappable' => false, 'mappable' => false,
'converter' => 'Description', 'converter' => 'Description',
'field' => 'description', 'field' => 'description',
], ],
'sepa-db' => [ 'sepa-db' => [
'name' => 'SEPA Direct Debet',
'mappable' => false, 'mappable' => false,
'converter' => 'Description', 'converter' => 'Description',
'field' => 'description', 'field' => 'description',