mirror of https://gitlab.crans.org/bde/nk20
Debit is not credit
This commit is contained in:
parent
7353348d7a
commit
3ba61385a3
|
@ -388,7 +388,7 @@ $('#btn_transfer').click(function () {
|
||||||
alias = sources_notes_display[0].name
|
alias = sources_notes_display[0].name
|
||||||
source_id = user_note.id
|
source_id = user_note.id
|
||||||
dest_id = special_note
|
dest_id = special_note
|
||||||
reason = 'Retrait ' + $('#credit_type option:selected').text().toLowerCase()
|
reason = 'Retrait ' + $('#debit_type option:selected').text().toLowerCase()
|
||||||
if (given_reason.length > 0) { reason += ' (' + given_reason + ')' }
|
if (given_reason.length > 0) { reason += ' (' + given_reason + ')' }
|
||||||
}
|
}
|
||||||
$.post('/api/note/transaction/transaction/',
|
$.post('/api/note/transaction/transaction/',
|
||||||
|
|
Loading…
Reference in New Issue