1
0
mirror of https://github.com/bitwarden/web synced 2026-01-03 00:53:34 +00:00

add credit via paypal

This commit is contained in:
Kyle Spearrin
2019-02-20 17:33:05 -05:00
parent 944187f276
commit 1f6632146b
8 changed files with 199 additions and 9 deletions

View File

@@ -10,6 +10,12 @@
<ng-container *ngIf="billing">
<h2>{{(isCreditBalance ? 'accountCredit' : 'accountBalance') | i18n}}</h2>
<p>{{creditOrBalance | currency:'$'}}</p>
<button type="button" class="btn btn-outline-secondary" (click)="addCredit()" *ngIf="!showAddCredit">
{{'addCredit' | i18n}}
</button>
<app-add-credit [organizationId]="organizationId"
(onAdded)="closeAddCredit(true)" (onCanceled)="closeAddCredit(false)" *ngIf="showAddCredit">
</app-add-credit>
<h2 class="spaced-header">{{'paymentMethod' | i18n}}</h2>
<p *ngIf="!paymentSource">{{'noPaymentMethod' | i18n}}</p>
<ng-container *ngIf="paymentSource">