Revision 5058c99d
Von Sven Schöling vor mehr als 9 Jahren hinzugefügt
bin/mozilla/is.pl | ||
---|---|---|
487 | 487 |
show_delete => ($::instance_conf->get_is_changeable == 2) |
488 | 488 |
? ($form->current_date(\%myconfig) eq $form->{gldate}) |
489 | 489 |
: ($::instance_conf->get_is_changeable == 1), |
490 |
today => DateTime->today, |
|
490 | 491 |
}); |
491 | 492 |
##print $form->parse_html_template('is/_payments'); # parser |
492 | 493 |
##print $form->parse_html_template('webdav/_list'); # parser |
templates/webpages/is/_payments.html | ||
---|---|---|
45 | 45 |
<tr> |
46 | 46 |
<td align="center"> |
47 | 47 |
[% IF $changeable %] |
48 |
[% L.date_tag('datepaid_'_ i, $datepaid) %] |
|
48 |
[% IF $datepaid %] |
|
49 |
[% L.date_tag('datepaid_'_ i, $datepaid) %] |
|
50 |
[% ELSE %] |
|
51 |
[% L.date_tag('datepaid_'_ i, today) %] |
|
52 |
[% END %] |
|
49 | 53 |
[% ELSE %] |
50 | 54 |
<input type="hidden" name="datepaid_[% i %]" value="[% $datepaid %]"> [% $datepaid %] |
51 | 55 |
[% END %] |
Auch abrufbar als: Unified diff
Bei Zahlungseingang heutiges Datum vorbelegen.