Naming consistance and SESSION issue
This commit is contained in:
@@ -560,7 +560,7 @@
|
||||
onSuccess: function(res) {
|
||||
var opts = '<option value="0">— no invoice —</option>';
|
||||
$.each(res.output || [], function(i, inv) {
|
||||
opts += `<option value="${inv.id}">${inv.invoice_number}</option>`;
|
||||
opts += `<option value="${inv.id}">${escape_html(inv.invoice_number)}</option>`;
|
||||
});
|
||||
$('#invoice_id').html(opts);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user