mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 06:40:33 -04:00
14 lines
551 B
PHP
14 lines
551 B
PHP
<?
|
|
/**
|
|
* @var Patron $patron
|
|
* @var Payment $payment
|
|
*/
|
|
?>Name: <? if($patron->User->Name === null){ ?>Anonymous <? }else{ ?><?= Formatter::EscapeHtml($patron->User->Name) ?><? if($patron->IsAnonymous){ ?> (Anonymous)<? } ?><? } ?>
|
|
|
|
Donation type: <? if($payment->IsRecurring){ ?>Recurring<? }else{ ?>One-time<? } ?>
|
|
|
|
Donation amount: <?= Formatter::EscapeHtml(number_format($payment->Amount, 2)) ?>
|
|
|
|
Donation fee: <?= Formatter::EscapeHtml(number_format($payment->Fee, 2)) ?>
|
|
|
|
Transaction ID: <?= Formatter::EscapeHtml($payment->TransactionId) ?>
|