Lines 2321-2327
sub _calculate_new_debar_dt {
Link Here
|
2321 |
|
2321 |
|
2322 |
# grace period is measured in the same units as the loan |
2322 |
# grace period is measured in the same units as the loan |
2323 |
my $grace = |
2323 |
my $grace = |
2324 |
DateTime::Duration->new( $unit => $issuing_rule->{firstremind} ); |
2324 |
DateTime::Duration->new( $unit => $issuing_rule->{firstremind} // 0); |
2325 |
|
2325 |
|
2326 |
my $deltadays = DateTime::Duration->new( |
2326 |
my $deltadays = DateTime::Duration->new( |
2327 |
days => $chargeable_units |
2327 |
days => $chargeable_units |
2328 |
- |
|
|