mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 02:46:46 -04:00
Improve error message for people trying to log in to the Patrons Circle
This commit is contained in:
parent
95d1b9e02e
commit
cf5f488cae
9 changed files with 104 additions and 11 deletions
|
@ -87,11 +87,23 @@ catch(Exceptions\SeeOtherException $ex){
|
|||
</tr>
|
||||
<tr>
|
||||
<td>Cycle type:</td>
|
||||
<td><?= ucfirst($user->Patron->CycleType->value) ?></td>
|
||||
<td>
|
||||
<? if($user->Patron->CycleType !== null){ ?>
|
||||
<?= ucfirst($user->Patron->CycleType->value) ?>
|
||||
<? }else{ ?>
|
||||
<i>Not set</i>
|
||||
<? } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Base cost:</td>
|
||||
<td>$<?= number_format($user->Patron->BaseCost) ?></td>
|
||||
<td>
|
||||
<? if($user->Patron->BaseCost !== null){ ?>
|
||||
<?= Formatter::FormatCurrency($user->Patron->BaseCost) ?>
|
||||
<? }else{ ?>
|
||||
<i>Not set</i>
|
||||
<? } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Is anonymous:</td>
|
||||
|
@ -193,13 +205,13 @@ catch(Exceptions\SeeOtherException $ex){
|
|||
<? } ?>
|
||||
</td>
|
||||
<td>
|
||||
$<?= number_format($payment->Amount, 2) ?>
|
||||
<?= Formatter::FormatCurrency($payment->Amount) ?>
|
||||
</td>
|
||||
<td>
|
||||
$<?= number_format($payment->Fee, 2) ?>
|
||||
<?= Formatter::FormatCurrency($payment->Fee) ?>
|
||||
</td>
|
||||
<td>
|
||||
$<?= number_format($payment->Amount - $payment->Fee, 2) ?>
|
||||
<?= Formatter::FormatCurrency($payment->Amount - $payment->Fee) ?>
|
||||
</td>
|
||||
<td>
|
||||
<a href="<?= $payment->ProcessorUrl ?>"><?= Formatter::EscapeHtml($payment->TransactionId) ?></a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue