Commit edc1357c authored by Luko van der Maas's avatar Luko van der Maas

Merge branch 'set-cost-warning-field' into 'master'

Automatically set warning about fine in newsletter

See merge request !1408
parents 7df51114 69b09272
......@@ -63,6 +63,8 @@ django.jQuery(function () {
.val(data['price']);
$('#id_newsletterevent_set-' + id + '-penalty_costs')
.val(data['fine']);
$('#id_newsletterevent_set-' + id + '-show_costs_warning')
.prop("checked", data['fine'] !== "0.00");
$('#id_newsletterevent_set-' + id + '-start_datetime_0')
.val(formatDate(data['start'], 'date'));
$('#id_newsletterevent_set-' + id + '-start_datetime_1')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment