Skip to content
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

Merged
merged 7 commits into from
Nov 29, 2019
Merged

feat: Billing Information Enhancements and Updations #3654

merged 7 commits into from
Nov 29, 2019

Conversation

kushthedude
Copy link
Member

Fixes #3518

@kushthedude
Copy link
Member Author

@iamareebjamal Please check, To be merged after: fossasia/open-event-server#6447

@kushthedude kushthedude changed the title fix: Billing Information Enhancements and Updations feat: Billing Information Enhancements and Updations Nov 25, 2019
@auto-label auto-label bot added feature and removed fix labels Nov 25, 2019
@kushthedude
Copy link
Member Author

@iamareebjamal Removed duplications , Please give it a look

@kushthedude kushthedude requested review from iamareebjamal and removed request for iamareebjamal November 25, 2019 14:16
Copy link
Member

@iamareebjamal iamareebjamal left a 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

@kushthedude
Copy link
Member Author

@iamareebjamal UPdated.


isBillingNotMandatory: computed('event', function() {
return !this.event.isBillingInfoMandatory;
}),
Copy link
Member

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

Copy link
Member Author

@kushthedude kushthedude Nov 29, 2019

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`

Copy link
Member

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

Copy link
Member Author

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">
Copy link
Member

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?

Copy link
Member Author

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?

@iamareebjamal iamareebjamal merged commit 8f522fa into fossasia:development Nov 29, 2019
@kushthedude kushthedude deleted the bill branch November 29, 2019 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wizard Step 1/Order Page: Make Billing Info either Mandatory or Optional and change fields
2 participants