show bitcoin icon on transaction listing

This commit is contained in:
Kyle Spearrin 2019-02-22 12:47:04 -05:00
parent 2089237d23
commit ec3e438c99
1 changed files with 8 additions and 5 deletions

View File

@ -101,13 +101,16 @@
</td> </td>
<td> <td>
<i class="fa fa-fw" *ngIf="t.type === transactionType.Charge || t.type === transactionType.Refund" <i class="fa fa-fw" *ngIf="t.type === transactionType.Charge || t.type === transactionType.Refund"
[ngClass]="{'fa-credit-card': t.paymentMethodType === paymentMethodType.Card, [ngClass]="{
'fa-university': t.paymentMethodType === paymentMethodType.BankAccount, 'fa-credit-card': t.paymentMethodType === paymentMethodType.Card,
'fa-paypal text-primary': t.paymentMethodType === paymentMethodType.PayPal}"></i> 'fa-university': t.paymentMethodType === paymentMethodType.BankAccount,
'fa-bitcoin text-warning': t.paymentMethodType === paymentMethodType.BitPay,
'fa-paypal text-primary': t.paymentMethodType === paymentMethodType.PayPal
}"></i>
{{t.details}} {{t.details}}
</td> </td>
<td [ngClass]="{'text-strike': t.refunded}" title="{{(t.refunded ? 'refunded' : '') | i18n}}">{{t.amount <td [ngClass]="{'text-strike': t.refunded}" title="{{(t.refunded ? 'refunded' : '') | i18n}}">
| currency:'$'}}</td> {{t.amount | currency:'$'}}</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>