1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 03:33:54 +00:00

adjust payment for orgs

This commit is contained in:
Kyle Spearrin
2018-07-17 15:07:32 -04:00
parent e4a684ff10
commit 56b9cb5c9e
4 changed files with 12 additions and 17 deletions

View File

@@ -10,7 +10,7 @@
<form #form class="card" (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate *ngIf="canChange">
<div class="card-body">
<h3 class="card-body-header">{{(currentType != null ? 'changePaymentMethod' : 'addPaymentMethod') | i18n}}</h3>
<app-payment [showOptions]="!organizationId || currentType == null" [hidePaypal]="true" [hideBank]="!organizationId"></app-payment>
<app-payment [showOptions]="organizationId || currentType == null" [hidePaypal]="true" [hideBank]="!organizationId"></app-payment>
<button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading">
<i class="fa fa-spinner fa-spin"></i>
<span>{{'submit' | i18n}}</span>