2019-01-31 18:11:23 +01:00
|
|
|
<form #form class="card" (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate>
|
2018-06-30 19:36:39 +02:00
|
|
|
<div class="card-body">
|
|
|
|
<h3 class="card-body-header">{{(currentType != null ? 'changePaymentMethod' : 'addPaymentMethod') | i18n}}</h3>
|
2019-02-21 02:16:06 +01:00
|
|
|
<app-payment [hideBank]="!organizationId" [hideCredit]="true"></app-payment>
|
2018-06-30 19:36:39 +02:00
|
|
|
<button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading">
|
2018-07-18 05:15:15 +02:00
|
|
|
<i class="fa fa-spinner fa-spin" title="{{'loading' | i18n}}"></i>
|
2018-06-30 19:36:39 +02:00
|
|
|
<span>{{'submit' | i18n}}</span>
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-outline-secondary" (click)="cancel()">
|
|
|
|
{{'cancel' | i18n}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</form>
|