| Line 43... |
Line 43... |
| 43 |
if ($user->{policy}) {
|
43 |
if ($user->{policy}) {
|
| 44 |
my $daysremaining = remainingPolicyDays ($user->{id}, $user->{policy});
|
44 |
my $daysremaining = remainingPolicyDays ($user->{id}, $user->{policy});
|
| 45 |
push @insurance, $h->li ("You are currently covered by Policy ID: $user->{policy}");
|
45 |
push @insurance, $h->li ("You are currently covered by Policy ID: $user->{policy}");
|
| 46 |
push @insurance, $h->li ("You have $daysremaining days remaining in coverage.");
|
46 |
push @insurance, $h->li ("You have $daysremaining days remaining in coverage.");
|
| 47 |
if ($daysremaining <= 90) {
|
47 |
if ($daysremaining <= 90) {
|
| 48 |
push @insurance, $h->li ($h->a ( { href=>"attestation" }, "You're eligible to renew." ));
|
48 |
push @insurance, $h->li ($h->a ( { href=>"attestation?policy=1" }, "You're eligible to renew." ));
|
| 49 |
}
|
49 |
}
|
| Line 50... |
Line 50... |
| 50 |
|
50 |
|
| 51 |
} else {
|
51 |
} else {
|
| 52 |
push @insurance, $h->li ($h->a ( { href=>"attestation" }, "Purchase Insurance." ));
|
52 |
push @insurance, $h->li ($h->a ( { href=>"attestation?policy=1" }, "Purchase Insurance." ));
|
| 53 |
}
|
53 |
}
|
| 54 |
push @insurance, $h->li ($h->a ( { href=>"insurance" }, "View Insurance History." ));
|
54 |
push @insurance, $h->li ($h->a ( { href=>"insurance" }, "View Insurance History." ));
|