|
Lines 2392-2398
sub _calculate_new_debar_dt {
Link Here
|
| 2392 |
|
2392 |
|
| 2393 |
# grace period is measured in the same units as the loan |
2393 |
# grace period is measured in the same units as the loan |
| 2394 |
my $grace = |
2394 |
my $grace = |
| 2395 |
DateTime::Duration->new( $unit => $issuing_rule->{firstremind} ); |
2395 |
DateTime::Duration->new( $unit => $issuing_rule->{firstremind} // 0); |
| 2396 |
|
2396 |
|
| 2397 |
my $deltadays = DateTime::Duration->new( |
2397 |
my $deltadays = DateTime::Duration->new( |
| 2398 |
days => $chargeable_units |
2398 |
days => $chargeable_units |
| 2399 |
- |
|
|