View | Details | Raw Unified | Return to bug 15374
Collapse All | Expand All

(-)a/opac/opac-user.pl (-4 lines)
Lines 123-131 if ( $borr->{'amountoutstanding'} < 0 ) { Link Here
123
    $borr->{'amountoutstanding'} = -1 * ( $borr->{'amountoutstanding'} );
123
    $borr->{'amountoutstanding'} = -1 * ( $borr->{'amountoutstanding'} );
124
}
124
}
125
125
126
my @bordat;
127
$bordat[0] = $borr;
128
129
# Warningdate is the date that the warning starts appearing
126
# Warningdate is the date that the warning starts appearing
130
if ( $borr->{'dateexpiry'} && C4::Context->preference('NotifyBorrowerDeparture') ) {
127
if ( $borr->{'dateexpiry'} && C4::Context->preference('NotifyBorrowerDeparture') ) {
131
    my $days_to_expiry = Date_to_Days( $warning_year, $warning_month, $warning_day ) - Date_to_Days( $today_year, $today_month, $today_day );
128
    my $days_to_expiry = Date_to_Days( $warning_year, $warning_month, $warning_day ) - Date_to_Days( $today_year, $today_month, $today_day );
132
- 

Return to bug 15374