Send email to the admin when a new patron joins

This commit is contained in:
Alex Cabal 2022-07-09 12:26:32 -05:00
parent e2a1dbb1e5
commit fa8fa4f7eb
5 changed files with 70 additions and 0 deletions

View 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) ?>