show_delete => ($::instance_conf->get_is_changeable == 2)
? ($form->current_date(\%myconfig) eq $form->{gldate})
: ($::instance_conf->get_is_changeable == 1),
+ today => DateTime->today,
});
##print $form->parse_html_template('is/_payments'); # parser
##print $form->parse_html_template('webdav/_list'); # parser
<tr>
<td align="center">
[% IF $changeable %]
- [% L.date_tag('datepaid_'_ i, $datepaid) %]
+ [% IF $datepaid %]
+ [% L.date_tag('datepaid_'_ i, $datepaid) %]
+ [% ELSE %]
+ [% L.date_tag('datepaid_'_ i, today) %]
+ [% END %]
[% ELSE %]
<input type="hidden" name="datepaid_[% i %]" value="[% $datepaid %]"> [% $datepaid %]
[% END %]