Commit 69b09272 authored by Jelle Besseling's avatar Jelle Besseling

Automatically set warning about fine in newsletter

parent 7687fc82
......@@ -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