Skip to content

Commit 5930b4a

Browse files
committed
feat(arc-saas): rebase
rebase BREAKING CHANGE: yes gh-34
1 parent 9eb12cc commit 5930b4a

File tree

3 files changed

+3
-47
lines changed

3 files changed

+3
-47
lines changed

projects/saas-ui/src/app/main/components/tenant-registration/tenant-registration.component.html

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -171,24 +171,7 @@ <h2>Tenant Registration</h2>
171171
</div>
172172
</div>
173173
</div>
174-
<!-- domain -->
175-
<!-- <div class="input-box">
176-
<div class="input-title">
177-
<span>Email domain<span class="required">*</span></span>
178-
</div>
179-
<div class="input inputTags">
180-
<div class="input-container">
181-
<input placeholder="Enter the Email domain " fieldSize="medium" status="“info”"
182-
formControlName="domains" nbInput />
183-
<nb-icon icon="info-outline" class="info-icon" nbTooltip="Enter your domain name.
184-
This field is required and should match the format of a valid email address.."></nb-icon>
185-
</div>
186-
</div>
187-
<div *ngIf="tenantRegForm.errors?.domainMismatch" class="error-msg">
188-
Email domain does not match the domain part of the email
189-
address.
190-
</div>
191-
</div>
174+
192175
<!-- payment method -->
193176
<div class="input-box">
194177
<div class="input-title">
@@ -197,11 +180,6 @@ <h2>Tenant Registration</h2>
197180
<div class="input">
198181
<select formControlName="paymentMethod" nbSelect fullWidth>
199182
<option value="" disabled selected>Select your payment method</option>
200-
<!-- Placeholder-like option -->
201-
<!-- <option *ngFor="let method of ['cash', 'check', 'bank_transfer', 'other', 'custom']"
202-
[value]="method">
203-
{{ method | titlecase }}
204-
</option> -->
205183
<option *ngFor="let method of paymentMethods" [value]="method">
206184
{{ method | titlecase }}
207185
</option>

projects/saas-ui/src/app/main/components/tenant-registration/tenant-registration.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ import { NbToastrService } from '@nebular/theme';
1111
import { Location } from '@angular/common';
1212
import { BillingPlanService, OnBoardingService } from '../../../shared/services';
1313
import { AnyObject } from '@project-lib/core/api/backend-filter';
14-
import { TenantLead } from '../../../shared/models/tenantLead.model';
14+
import { TenantLead, TenantLeadWithPaymentMethod } from '../../../shared/models/tenantLead.model';
1515
import { keyValidator } from '@project-lib/core/validators';
1616

1717
export enum PaymentMethod {
1818
Cash = 'cash',
19-
Check = 'check',
19+
Cheque = 'cheque',
2020
BankTransfer = 'bank_transfer',
2121
Other = 'other',
2222
Custom = 'custom'

projects/saas-ui/src/app/on-boarding/components/add-tenant/add-tenant.component.scss

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,6 @@
1111
flex-wrap: wrap;
1212
}
1313

14-
.payment-details-container {
15-
margin-top: 20px;
16-
17-
.input-box {
18-
margin-bottom: 15px;
19-
20-
.input-title {
21-
font-weight: bold;
22-
}
23-
24-
.input {
25-
input {
26-
width: 100%;
27-
padding: 10px;
28-
border: 1px solid #dcdcdc;
29-
border-radius: 4px;
30-
}
31-
}
32-
}
33-
}
34-
35-
3614
.plan-card-container {
3715
width: 100%;
3816

0 commit comments

Comments
 (0)