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

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

Return to bug 5260