Revision 180e8de7
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
SL/DB/PeriodicInvoicesConfig.pm | ||
---|---|---|
80 | 80 |
my ($self, %params) = @_; |
81 | 81 |
|
82 | 82 |
my $period_len = $self->get_period_length; |
83 |
my $cur_date = $self->first_billing_date || $self->start_date;
|
|
84 |
my $end_date = $self->end_date || DateTime->today_local->add(years => 10);
|
|
83 |
my $cur_date = $self->first_billing_date || $self->start_date; |
|
84 |
my $end_date = $self->end_date || DateTime->today_local->add(years => 10); |
|
85 | 85 |
my $start_date = $params{past_dates} ? undef : $self->get_previous_invoice_date; |
86 | 86 |
$start_date = $start_date ? $start_date->subtract(days => 1) : $cur_date->clone; |
87 | 87 |
|
Auch abrufbar als: Unified diff
Kosmetik: alignment