mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 17:33:45 +00:00
Auto fill transaction descriptions.
This commit is contained in:
@@ -8,6 +8,16 @@ if ($('input[name="revenue_account"]').length > 0) {
|
||||
$('input[name="revenue_account"]').typeahead({source: data});
|
||||
});
|
||||
}
|
||||
|
||||
if ($('input[name="description"]').length > 0 && what != undefined) {
|
||||
$.getJSON('json/transaction-journals/' + what).success(function (data) {
|
||||
$('input[name="description"]').typeahead({source: data});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
if ($('input[name="category"]').length > 0) {
|
||||
$.getJSON('json/categories').success(function (data) {
|
||||
$('input[name="category"]').typeahead({source: data});
|
||||
|
Reference in New Issue
Block a user