|
Lines 365-382
sub findrelatedto {
Link Here
|
| 365 |
|
365 |
|
| 366 |
my $err = &SendAlerts($type, $externalid, $letter_code); |
366 |
my $err = &SendAlerts($type, $externalid, $letter_code); |
| 367 |
|
367 |
|
| 368 |
Parameters: |
368 |
Parameters: |
| 369 |
- $type : the type of alert |
369 |
- $type : the type of alert |
| 370 |
- $externalid : the id of the "object" to query |
370 |
- $externalid : the id of the "object" to query |
| 371 |
- $letter_code : the notice template to use |
371 |
- $letter_code : the notice template to use |
| 372 |
|
372 |
|
| 373 |
C<&SendAlerts> sends an email notice directly to a patron or a vendor. |
373 |
C<&SendAlerts> sends an email notice directly to a patron or a vendor. |
| 374 |
Currently it supports ($type): |
374 |
|
| 375 |
- claim serial issues (claimissues) |
375 |
Currently it supports ($type): |
| 376 |
- claim acquisition orders (claimacquisition) |
376 |
- claim serial issues (claimissues) |
| 377 |
- send acquisition orders to the vendor (orderacquisition) |
377 |
- claim acquisition orders (claimacquisition) |
| 378 |
- notify patrons about newly received serial issues (issue) |
378 |
- send acquisition orders to the vendor (orderacquisition) |
| 379 |
- notify patrons when their account is created (members) |
379 |
- notify patrons about newly received serial issues (issue) |
|
|
380 |
- notify patrons when their account is created (members) |
| 380 |
|
381 |
|
| 381 |
Returns undef or { error => 'message } on failure. |
382 |
Returns undef or { error => 'message } on failure. |
| 382 |
Returns true on success. |
383 |
Returns true on success. |
| 383 |
- |
|
|