Revision 82ff5451
Von Moritz Bunkus vor fast 10 Jahren hinzugefügt
SL/BackgroundJob/CreatePeriodicInvoices.pm | ||
---|---|---|
74 | 74 |
sub _generate_time_period_variables { |
75 | 75 |
my $config = shift; |
76 | 76 |
my $period_start_date = shift; |
77 |
my $period_end_date = $period_start_date->clone->truncate(to => 'month')->add(months => $config->get_period_length)->subtract(days => 1); |
|
77 |
my $period_end_date = $period_start_date->clone->truncate(to => 'month')->add(months => $config->get_billing_period_length)->subtract(days => 1);
|
|
78 | 78 |
|
79 | 79 |
my @month_names = ('', |
80 | 80 |
$::locale->text('January'), $::locale->text('February'), $::locale->text('March'), $::locale->text('April'), $::locale->text('May'), $::locale->text('June'), |
Auch abrufbar als: Unified diff
Wiederkehrende Rechnungen: Auftragswerts-Periodizität setzen können
Noch keine Anpassung der eigentlichen Berechnung. Wohl aber
Dokumentation von SL::DB::PeriodicInvoicesConfig.