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">
|
2019-10-11 16:35:24 +02:00
|
|
|
<button type="button" class="close" appA11yTitle="{{ 'cancel' | i18n }}" (click)="cancel()">
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
2018-06-30 19:36:39 +02:00
|
|
|
<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>
|
2020-06-13 01:33:29 +02:00
|
|
|
<app-tax-info (onCountryChanged)="changeCountry()"></app-tax-info>
|
2018-06-30 19:36:39 +02:00
|
|
|
<button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading">
|
2019-10-11 16:35:24 +02:00
|
|
|
<i class="fa fa-spinner fa-spin" title="{{ 'loading' | i18n }}" aria-hidden="true"></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>
|