Lines 1073-1079
sub ModSerialStatus {
Link Here
|
1073 |
|
1073 |
|
1074 |
# check if an alert must be sent... (= a letter is defined & status became "arrived" |
1074 |
# check if an alert must be sent... (= a letter is defined & status became "arrived" |
1075 |
if ( $val->{letter} && $status == 2 && $oldstatus != 2 ) { |
1075 |
if ( $val->{letter} && $status == 2 && $oldstatus != 2 ) { |
1076 |
SendAlerts( 'issue', $val->{subscriptionid}, $val->{letter} ); |
1076 |
require C4::Letters; |
|
|
1077 |
C4::Leters::SendAlerts( 'issue', $val->{subscriptionid}, $val->{letter} ); |
1077 |
} |
1078 |
} |
1078 |
} |
1079 |
} |
1079 |
return; |
1080 |
return; |
1080 |
- |
|
|