payment could not be committed due to wrong invoice date

Description

I yesterday created a payment selection manually and included a recurring invoice with date of tomorrow. After exporting the selection (and transmitting it to the bank) I wanted to define the selection as correctly transferred (answered the appropiate question) and got the message "Belegbearbeitung gescheitert - Wrong allocation date". The first idea is to enter a translateble message, which also exactly mentions whats wrong (allocation date earlier than invoice date). Second would be, to hinder or at least warn to enter an invoice into the selection which is dated later. I'm willing to prepare a patch but I first want to discuss, what's best.

Environment

None

Assignee

Carlos Ruiz

Reporter

Martin Schönbeck

Labels

None

Tested By

None

Components

Fix versions

Affects versions

Priority

Critical
Configure