-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat: Billing Information Enhancements and Updations #3654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
2be1646
5d0fe24
a990cb2
fc85b1d
9ddaad7
f5a9641
75c70a9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,10 +34,19 @@ export default Component.extend(FormMixin, { | |
| this.data.set('paymentMode', 'free'); | ||
| return false; | ||
| } | ||
|
|
||
| return true; | ||
| }), | ||
| sameAsBuyer: false, | ||
|
|
||
| isBillingInfoMandatory: computed('event', function() { | ||
| if (this.event.isBillingInfoMandatory) { | ||
| return true; | ||
| } else { | ||
| return false; | ||
| } | ||
kushthedude marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| }), | ||
|
||
|
|
||
| getRemainingTime: computed('settings', function() { | ||
| let orderExpiryTime = this.get('settings.orderExpiryTime'); | ||
| let willExpireAt = this.get('data.createdAt').add(orderExpiryTime, 'minutes'); | ||
|
|
@@ -380,12 +389,12 @@ export default Component.extend(FormMixin, { | |
| } | ||
| ] | ||
| }, | ||
| company: { | ||
| identifier : 'company', | ||
| taxBusinessInfo: { | ||
| identifier : 'taxBusinessInfo', | ||
| rules : [ | ||
| { | ||
| type : 'empty', | ||
| prompt : this.l10n.t('Please enter your company') | ||
| prompt : this.l10n.t('Please enter your TAX ID or Business ID') | ||
| } | ||
| ] | ||
| }, | ||
|
|
@@ -490,4 +499,4 @@ export default Component.extend(FormMixin, { | |
| } | ||
| } | ||
| } | ||
| }); | ||
| }); | ||
Uh oh!
There was an error while loading. Please reload this page.