-
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
Conversation
@iamareebjamal Please check, To be merged after: fossasia/open-event-server#6447 |
@iamareebjamal Removed duplications , Please give it a look |
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.
I've added the solution. Please make required changes
@iamareebjamal UPdated. |
|
||
isBillingNotMandatory: computed('event', function() { | ||
return !this.event.isBillingInfoMandatory; | ||
}), |
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 following isBillingNotMandaotry
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
@@ -0,0 +1,41 @@ | |||
<div class="field"> |
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.
Can we move it back to the template now?
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.
It looks more organised since its a just a tool which is needed for the order-form
, I dont see any issue in moving it to a widget?
Fixes #3518