diff --git a/config/csv.php b/config/csv.php index cde6ea3d08..32404f3738 100644 --- a/config/csv.php +++ b/config/csv.php @@ -174,6 +174,24 @@ return [ 'converter' => 'Date', 'field' => 'date-process', ], + 'date-due' => [ + 'mappable' => false, + 'pre-process-map' => false, + 'converter' => 'Date', + 'field' => 'date-due', + ], + 'date-payment' => [ + 'mappable' => false, + 'pre-process-map' => false, + 'converter' => 'Date', + 'field' => 'date-payment', + ], + 'date-invoice' => [ + 'mappable' => false, + 'pre-process-map' => false, + 'converter' => 'Date', + 'field' => 'date-invoice', + ], 'budget-id' => [ 'mappable' => true, 'pre-process-map' => false, @@ -266,7 +284,7 @@ return [ 'converter' => 'AccountId', 'mapper' => 'OpposingAccounts', ], - 'opposing-bic' => [ + 'opposing-bic' => [ 'mappable' => false, 'pre-process-map' => false, 'field' => 'opposing-account-bic', @@ -317,23 +335,62 @@ return [ 'converter' => 'Amount', 'field' => 'amount_foreign', ], + + // SEPA end to end ID 'sepa-ct-id' => [ 'mappable' => false, 'pre-process-map' => false, 'converter' => 'Description', - 'field' => 'description', + 'field' => 'sepa_ct_id', ], + // SEPA opposing account identifier 'sepa-ct-op' => [ 'mappable' => false, 'pre-process-map' => false, 'converter' => 'Description', - 'field' => 'description', + 'field' => 'sepa_ct_op', ], + // SEPA Direct Debit Mandate Identifier 'sepa-db' => [ 'mappable' => false, 'pre-process-map' => false, 'converter' => 'Description', - 'field' => 'description', + 'field' => 'sepa_db', + ], + // SEPA clearing code + 'sepa-cc' => [ + 'mappable' => false, + 'pre-process-map' => false, + 'converter' => 'Description', + 'field' => 'sepa_cc', + ], + // SEPA country + 'sepa-country' => [ + 'mappable' => false, + 'pre-process-map' => false, + 'converter' => 'Description', + 'field' => 'sepa_country', + ], + // SEPA external purpose + 'sepa-ep' => [ + 'mappable' => false, + 'pre-process-map' => false, + 'converter' => 'Description', + 'field' => 'sepa_ep', + ], + // SEPA creditor identifier + 'sepa-ci' => [ + 'mappable' => false, + 'pre-process-map' => false, + 'converter' => 'Description', + 'field' => 'sepa_ci', + ], + // Internal reference + 'internal-reference' => [ + 'mappable' => false, + 'pre-process-map' => false, + 'converter' => 'Description', + 'field' => 'internal_reference', ], ], diff --git a/resources/lang/en_US/import.php b/resources/lang/en_US/import.php index 829f26399a..e79150807a 100644 --- a/resources/lang/en_US/import.php +++ b/resources/lang/en_US/import.php @@ -1,5 +1,6 @@ 'Transaction booking date', 'column_date-process' => 'Transaction process date', 'column_date-transaction' => 'Date', + 'column_date-due' => 'Transaction due date', + 'column_date-payment' => 'Transaction payment date', + 'column_date-invoice' => 'Transaction invoice date', 'column_description' => 'Description', 'column_opposing-iban' => 'Opposing account (IBAN)', - 'column_opposing-bic' => 'Opposing account (BIC)', + 'column_opposing-bic' => 'Opposing account (BIC)', 'column_opposing-id' => 'Opposing account ID (matching FF3)', 'column_external-id' => 'External ID', 'column_opposing-name' => 'Opposing account (name)', 'column_rabo-debit-credit' => 'Rabobank specific debit/credit indicator', 'column_ing-debit-credit' => 'ING specific debit/credit indicator', - 'column_sepa-ct-id' => 'SEPA Credit Transfer end-to-end ID', - 'column_sepa-ct-op' => 'SEPA Credit Transfer opposing account', - 'column_sepa-db' => 'SEPA Direct Debit', + 'column_sepa-ct-id' => 'SEPA end-to-end Identifier', + 'column_sepa-ct-op' => 'SEPA Opposing Account Identifier', + 'column_sepa-db' => 'SEPA Mandate Identifier', + 'column_sepa-cc' => 'SEPA Clearing Code', + 'column_sepa-ci' => 'SEPA Creditor Identifier', + 'column_sepa-ep' => 'SEPA External Purpose', + 'column_sepa-country' => 'SEPA Country Code', 'column_tags-comma' => 'Tags (comma separated)', 'column_tags-space' => 'Tags (space separated)', 'column_account-number' => 'Asset account (account number)', 'column_opposing-number' => 'Opposing account (account number)', 'column_note' => 'Note(s)', + 'column_internal-reference' => 'Internal reference', // prerequisites 'prerequisites' => 'Prerequisites', diff --git a/resources/lang/en_US/list.php b/resources/lang/en_US/list.php index 484bbbc67d..250e846177 100644 --- a/resources/lang/en_US/list.php +++ b/resources/lang/en_US/list.php @@ -1,5 +1,6 @@ 'Reconcile', 'account_on_spectre' => 'Account (Spectre)', 'do_import' => 'Import from this account', + 'sepa-ct-id' => 'SEPA End to End Identifier', + 'sepa-ct-op' => 'SEPA Opposing Account Identifier', + 'sepa-db' => 'SEPA Mandate Identifier', + 'sepa-country' => 'SEPA Country', + 'sepa-cc' => 'SEPA Clearing Code', + 'sepa-ep' => 'SEPA External Purpose', + 'sepa-ci' => 'SEPA Creditor Identifier', ]; diff --git a/resources/views/reports/partials/journals-audit.twig b/resources/views/reports/partials/journals-audit.twig index ec594fe40f..b9c03d77c2 100644 --- a/resources/views/reports/partials/journals-audit.twig +++ b/resources/views/reports/partials/journals-audit.twig @@ -129,7 +129,7 @@
diff --git a/resources/views/transactions/show.twig b/resources/views/transactions/show.twig index d5f4ce084d..e1627928e6 100644 --- a/resources/views/transactions/show.twig +++ b/resources/views/transactions/show.twig @@ -200,55 +200,24 @@