mirror of
https://github.com/standardebooks/web.git
synced 2025-07-22 15:24:46 -04:00
Rename some Formatter functions for clarity
This commit is contained in:
parent
5ef6d3aef8
commit
f7ff76bf7d
39 changed files with 194 additions and 194 deletions
|
@ -1,9 +1,9 @@
|
|||
Name: <? if($patron->User->Name === null){ ?>Anonymous <? }else{ ?><?= Formatter::ToPlainText($patron->User->Name) ?><? if($patron->IsAnonymous){ ?> (Anonymous)<? } ?><? } ?>
|
||||
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::ToPlainText(number_format($payment->Amount, 2)) ?>
|
||||
Donation amount: <?= Formatter::EscapeHtml(number_format($payment->Amount, 2)) ?>
|
||||
|
||||
Donation fee: <?= Formatter::ToPlainText(number_format($payment->Fee, 2)) ?>
|
||||
Donation fee: <?= Formatter::EscapeHtml(number_format($payment->Fee, 2)) ?>
|
||||
|
||||
Transaction ID: <?= Formatter::ToPlainText($payment->TransactionId) ?>
|
||||
Transaction ID: <?= Formatter::EscapeHtml($payment->TransactionId) ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue