add card last 4 to transaction history

This commit is contained in:
Anthony 2021-07-29 14:22:46 +02:00
parent df93f795b6
commit dbe35f4e40
No known key found for this signature in database
GPG key ID: C386D3C93D50E356

View file

@ -462,6 +462,7 @@ class SettingsStripeCard extends React.Component<Props, State> {
<th>{<>{__('Receiving Channel Name')}</>}</th>
<th>{__('Tip Location')}</th>
<th>{__('Amount (USD)')} </th>
<th>{__('Card Last 4')}</th>
<th>{__('Anonymous')}</th>
</tr>
</thead>
@ -491,6 +492,7 @@ class SettingsStripeCard extends React.Component<Props, State> {
/>
</td>
<td>${transaction.tipped_amount / 100}</td>
<td>{userCardDetails && userCardDetails.lastFour}</td>
<td>{transaction.private_tip ? 'Yes' : 'No'}</td>
</tr>
))}