mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-11 20:28:14 +00:00
10 lines
386 B
JavaScript
10 lines
386 B
JavaScript
$.getJSON('json/expense-accounts').success(function (data) {
|
|
$('input[name="expense_account"]').typeahead({ source: data });
|
|
});
|
|
$.getJSON('json/revenue-accounts').success(function (data) {
|
|
$('input[name="revenue_account"]').typeahead({ source: data });
|
|
});
|
|
|
|
$.getJSON('json/categories').success(function (data) {
|
|
$('input[name="category"]').typeahead({ source: data });
|
|
}); |