-
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
fix: Add order component for organizers #5291
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/eventyay/open-event-frontend/k8linwyoi |
Codecov Report
@@ Coverage Diff @@
## development #5291 +/- ##
===============================================
- Coverage 22.78% 22.78% -0.01%
===============================================
Files 491 491
Lines 5245 5232 -13
Branches 37 37
===============================================
- Hits 1195 1192 -3
+ Misses 4045 4035 -10
Partials 5 5
Continue to review full report at Codecov.
|
Now, you need to make price editable for just admins. To make it simpler, just make the final price editable |
ok, and is everything else is fine or do I have to make some changes in that also? |
It looks fine to me |
by the user who created the event? |
Yes |
could you please help me out how to add or pass data from one route to other route bcz for changing total price manually I have to change it in /events/:event_id/tickets.add-order and change it in /orders/:order_id/new bcz after clicking order now the website is redirected to /order/:order_id/new route. Everything is done, final price is editable, just left with working of it. |
Just make it possible that amount is sent in the API request and add a GIF of editing the price. Rest I will do |
It is working on Postman when req PATCH req on for eg. {
"data": {
"attributes": {
"amount": 0
},
"type": "order",
"id": "889"
}
} |
As I said, you just have to create the UI. Update will be handled in the server by me. Just ensure the local amount can be edited in the UI |
@iamareebjamal Please review this issue and let me know if I have to make any changes. |
Yes, will do it today. Have some more important things to do. You can take up other issues till then |
Ok Thank you. I have one doubt regarding the issues that we have solved. |
No |
@iamareebjamal Please review this issue so that I can work on other issue and start commiting. |
Why does the review of this PR stops you from working on other issues? |
Then how will I able to commit the changes in other issue. bcz this changes are yet merged in. |
Of course. That's how you work. There are 5 PRs created by me that have not been merged for months. I still work daily. That's why branches exist. You should never create a PR or commit on development branch. |
So as for this issue I have commit on development branch which I think I have done wrong so should I have to do anything regarding this to improve it and from now on new issues I should create new branch and then work accordingly? And should I close this PR and make new one for the same issue from new branch making same changes? An also acc to what your are saying, we can work on multiple issues at same time? |
Yes
No, just create a new branch. Run
No, you work on 1 issue at a time. Since your work on this issue is complete, you move to next issue |
The input was not working to change the amount and sending it to the server. I have fixed the working of the component |
Fixes #5184
Short description of what this resolves:
Event created by the user was not able to add Order manually, so this issue is resolved.
Changes proposed in this pull request:
Checklist
development
branch.Before

Changes made

After selecting tickets

Test Screenshot
