Note patron anonymous status in notification email

This commit is contained in:
Alex Cabal 2022-08-21 13:48:25 -05:00
parent a370651a62
commit 7465145b33
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@
<tbody> <tbody>
<tr> <tr>
<td>Name:</td> <td>Name:</td>
<td><? if($patron->User->Name === null){ ?>Anonymous <? }else{ ?><?= Formatter::ToPlainText($patron->User->Name) ?><? } ?></td> <td><? if($patron->User->Name === null){ ?>Anonymous <? }else{ ?><?= Formatter::ToPlainText($patron->User->Name) ?><? if($patron->IsAnonymous){ ?> (Anonymous)<? } ?><? } ?></td>
</tr> </tr>
<tr> <tr>
<td>Donation type:</td> <td>Donation type:</td>

View file

@ -1,4 +1,4 @@
Name: <? if($patron->User->Name === null){ ?>Anonymous <? }else{ ?><?= Formatter::ToPlainText($patron->User->Name) ?><? } ?> Name: <? if($patron->User->Name === null){ ?>Anonymous <? }else{ ?><?= Formatter::ToPlainText($patron->User->Name) ?><? if($patron->IsAnonymous){ ?> (Anonymous)<? } ?><? } ?>
Donation type: <? if($payment->IsRecurring){ ?>Recurring<? }else{ ?>One-time<? } ?> Donation type: <? if($payment->IsRecurring){ ?>Recurring<? }else{ ?>One-time<? } ?>