Skip to content
Snippets Groups Projects
Verified Commit c109cd3d authored by ynerant's avatar ynerant
Browse files

Source is not destination


Signed-off-by: default avatarYohann D'ANELLO <yohann.danello@gmail.com>
parent 84304971
No related branches found
No related tags found
1 merge request!147Fix memberships
Pipeline #8840 passed with stages
in 19 minutes and 42 seconds
......@@ -302,7 +302,7 @@ $('#btn_transfer').click(function () {
addMsg(interpolate(gettext('Warning, the emitter note %s is no more a BDE member.'), [source.name]), 'danger', 30000)
}
if (dest.note.membership && dest.note.membership.date_end < new Date().toISOString()) {
addMsg(interpolate(gettext('Warning, the destination note %s is no more a BDE member.'), [source.name]), 'danger', 30000)
addMsg(interpolate(gettext('Warning, the destination note %s is no more a BDE member.'), [dest.name]), 'danger', 30000)
}
if (!isNaN(source.note.balance)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment