|
Lines 2351-2357
sub _calculate_new_debar_dt {
Link Here
|
| 2351 |
|
2351 |
|
| 2352 |
# grace period is measured in the same units as the loan |
2352 |
# grace period is measured in the same units as the loan |
| 2353 |
my $grace = |
2353 |
my $grace = |
| 2354 |
DateTime::Duration->new( $unit => $issuing_rule->{firstremind} ); |
2354 |
DateTime::Duration->new( $unit => $issuing_rule->{firstremind} // 0); |
| 2355 |
|
2355 |
|
| 2356 |
my $deltadays = DateTime::Duration->new( |
2356 |
my $deltadays = DateTime::Duration->new( |
| 2357 |
days => $chargeable_units |
2357 |
days => $chargeable_units |
| 2358 |
- |
|
|