-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat: Billing Information Enhancements and Updations #3654
Changes from 5 commits
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<div class="field"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we move it back to the template now? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It looks more organised since its a just a tool which is needed for the |
||
<label class="required" for="company">{{t 'Company'}}</label> | ||
{{input type='text' id='company' value=data.company}} | ||
</div> | ||
<div class="field"> | ||
<label for="taxBusinessInfo">{{t 'Tax ID or Business ID'}}</label> | ||
{{input type='text' id='taxBusinessInfo' value=data.taxBusinessInfo}} | ||
</div> | ||
<div class="field"> | ||
<label class="required" for="address">{{t 'Address'}}</label> | ||
{{textarea rows='2' id='address' value=data.address}} | ||
</div> | ||
<div class="field"> | ||
<label class="required" for="city">{{t 'City'}}</label> | ||
{{input type='text' id='city' value=data.city}} | ||
</div> | ||
<div class="field"> | ||
<label for="state">{{t 'State/Province'}}</label> | ||
{{input type='text' id='state' value=data.state}} | ||
</div> | ||
<div class="field"> | ||
<label class="required" for="zipcode">{{t 'Zip Code'}}</label> | ||
{{input type='text' id='zip_code' value=data.zipcode}} | ||
</div> | ||
<div class="field"> | ||
<label class="required">{{t 'Select country'}}</label> | ||
{{#ui-dropdown class="search selection" selected=data.country | ||
onChange=(action (mut data.country)) as |execute mapper|}} | ||
{{input type='hidden' id='country' value=data.country}} | ||
<div class="default text">{{t 'Select country'}}</div> | ||
<i class="dropdown icon"></i> | ||
<div class="menu"> | ||
{{#each countries as |country|}} | ||
<div data-value="{{map-value mapper country.name}}" class="item"> | ||
<i class="{{lowercase country.code}} flag"></i> | ||
{{country.name}} | ||
</div> | ||
{{/each}} | ||
</div> | ||
{{/ui-dropdown}} | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why can't you just use not in the template
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For
or
, I will need to use ember arithmentic helper add-on which cost more then the js checking. I will use the followingisBillingNotMandaotry
in the template`There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not talking about or. I'm talking about
not
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done the not