Can now create recurring transactions. #1469

This commit is contained in:
James Cole
2018-06-17 15:14:34 +02:00
parent 54e3e3f051
commit d73cd4b515
25 changed files with 852 additions and 74 deletions

View File

@@ -114,9 +114,14 @@ function parseRepetitionSuggestions(data) {
var select = $('#ffInput_repetition_type');
select.empty();
var opt;
for (var k in data) {
if (data.hasOwnProperty(k)) {
select.append($('<option>').val(k).attr('label', data[k]).text(data[k]));
opt = $('<option>').val(k).attr('label', data[k]).text(data[k]);
if(k === oldRepetitionType) {
opt.attr('selected','selected');
}
select.append(opt);
}
}
select.removeAttr('disabled');