-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update bank account verification to use statement descriptor (#12055)
- Loading branch information
1 parent
d1499da
commit 34e20b7
Showing
5 changed files
with
25 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 6 additions & 12 deletions
18
apps/web/src/app/billing/shared/verify-bank-account/verify-bank-account.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,12 @@ | ||
<app-callout type="warning" title="{{ 'verifyBankAccount' | i18n }}"> | ||
<p>{{ "verifyBankAccountDesc" | i18n }} {{ "verifyBankAccountFailureWarning" | i18n }}</p> | ||
<bit-callout type="warning" title="{{ 'verifyBankAccount' | i18n }}"> | ||
<p>{{ "verifyBankAccountWithStatementDescriptorInstructions" | i18n }}</p> | ||
<form [formGroup]="formGroup" [bitSubmit]="submit"> | ||
<bit-form-field class="tw-mr-2 tw-w-40"> | ||
<bit-label>{{ "amountX" | i18n: "1" }}</bit-label> | ||
<input bitInput type="number" step="1" placeholder="xx" formControlName="amount1" /> | ||
<span bitPrefix>$0.</span> | ||
</bit-form-field> | ||
<bit-form-field class="tw-mr-2 tw-w-40"> | ||
<bit-label>{{ "amountX" | i18n: "2" }}</bit-label> | ||
<input bitInput type="number" step="1" placeholder="xx" formControlName="amount2" /> | ||
<span bitPrefix>$0.</span> | ||
<bit-form-field class="tw-mr-2 tw-w-48"> | ||
<bit-label>{{ "descriptorCode" | i18n }}</bit-label> | ||
<input bitInput type="text" placeholder="SMAB12" formControlName="descriptorCode" /> | ||
</bit-form-field> | ||
<button *ngIf="onSubmit" type="submit" bitButton bitFormButton buttonType="primary"> | ||
{{ "submit" | i18n }} | ||
</button> | ||
</form> | ||
</app-callout> | ||
</bit-callout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 3 additions & 5 deletions
8
libs/common/src/billing/models/request/verify-bank-account.request.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
export class VerifyBankAccountRequest { | ||
amount1: number; | ||
amount2: number; | ||
descriptorCode: string; | ||
|
||
constructor(amount1: number, amount2: number) { | ||
this.amount1 = amount1; | ||
this.amount2 = amount2; | ||
constructor(descriptorCode: string) { | ||
this.descriptorCode = descriptorCode; | ||
} | ||
} |