mirror of
https://github.com/standardebooks/web.git
synced 2025-07-22 15:24:46 -04:00
Send email to the admin when a new patron joins
This commit is contained in:
parent
e2a1dbb1e5
commit
fa8fa4f7eb
5 changed files with 70 additions and 0 deletions
9
templates/EmailAdminNewPatronText.php
Normal file
9
templates/EmailAdminNewPatronText.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
Name: <?= Formatter::ToPlainText($patron->Name) ?>
|
||||
|
||||
Donation type: <? if($payment->IsRecurring){ ?>Recurring<? }else{ ?>One-time<? } ?>
|
||||
|
||||
Donation amount: <?= Formatter::ToPlainText(number_format($payment->Amount)) ?>
|
||||
|
||||
Donation fee: <?= Formatter::ToPlainText(number_format($payment->Fee)) ?>
|
||||
|
||||
Transaction ID: <?= Formatter::ToPlainText($payment->TransactionId) ?>
|
Loading…
Add table
Add a link
Reference in a new issue