forked from DGNum/gestioCOF
fix js k-psul
This commit is contained in:
parent
985dd2e82d
commit
a5b19b4328
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ function getErrorsHtml(data) {
|
|||
}
|
||||
if ('negative' in data['errors']) {
|
||||
var url_base = "{% url 'kfet.account.update' LIQ}";
|
||||
url_base = url_base(0, url_base.length-8);
|
||||
url_base = url_base.substr(0, url_base.length - 8);
|
||||
for (var i=0; i<data['errors']['negative'].length; i++) {
|
||||
content += '<a class="btn btn-primary" href="'+url_base+data['errors']['negative'][i]+'/edit" target="_blank" style="width:100%">Autorisation de négatif requise pour '+data['errors']['negative'][i]+'</a>';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue