Skip to content

Commit 9cdc963

Browse files
author
David Zuckerman
committed
Update request_mailer to work with update to efees which uses deliver_later now
1 parent e3276b5 commit 9cdc963

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

app/mailers/request_mailer.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,8 @@ def bibliographic_email(email, attachment_contents, subject, body)
232232
mail(to: email, subject:, body:)
233233
end
234234

235-
def efee_invoice_email(efee)
235+
def efee_invoice_email(alma_id)
236+
efee = EfeesInvoice.new(alma_id)
236237
# type probably isn't needed now that I spun this off to a separate url
237238
params = {
238239
type: 'efee',
@@ -244,7 +245,7 @@ def efee_invoice_email(efee)
244245
@name = efee.name
245246
@link = invoice_link.to_s
246247

247-
mail(to: efee.email)
248+
mail(to: efee.email, subject: 'Library Fees')
248249
end
249250

250251
# Departmental Card Request : alerts to privdesk, Mark Marrow and Supervisor

0 commit comments

Comments
 (0)