Voile.Notifications.LoanReminderEmail (Voile v0.1.31)

Copy Markdown View Source

Email templates for loan due date reminders. Generates and sends reminder emails to members about upcoming due dates.

Summary

Functions

Sends a manual reminder email to a member. Used by librarians to manually send reminders.

Sends an overdue notification email to a member.

Sends a loan reminder email to a member.

Functions

send_manual_reminder(member, transactions)

Sends a manual reminder email to a member. Used by librarians to manually send reminders.

send_overdue_email(member, transactions)

Sends an overdue notification email to a member.

send_reminder_email(member, transactions, days_before_due)

Sends a loan reminder email to a member.

Parameters

  • member: The member receiving the reminder
  • transactions: List of transactions that are due soon
  • days_before_due: Number of days before due date (e.g., 3 or 1)