{if $item->payment.paymentMethod == constant('App\Payment\Entity::PAYMENT_METHOD_CC')}
- Credit Card Number
- {$view->maskCreditCard($item->payment.ccNumber)|htmlspecialchars}
- Expiration Date
- XX/XX
{else}
- Check Number
- {$view->maskCheckAccountNumber($item->payment.accountNumber)|htmlspecialchars}
- Bank Name
- {$item->payment.bank|htmlspecialchars}
{/if}
- Amount
- {$item->payment.summary.total|currency:'$'}