-
Notifications
You must be signed in to change notification settings - Fork 25
Added endpoints for domain "Tax" #82
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
base: dev
Are you sure you want to change the base?
Conversation
|
@Progi1984, I think the issue is located here: we should use I'll create a PR now so you can verify it. |
|
@Progi1984 |
|
@Progi1984 yep I was about to suggest the same thing as @Codencode did in their PR The service can be fixed on the 9.0.x branch to be based on |
0f86a46 to
99d2ff4
Compare
873dc2a to
42c2256
Compare
|
@Progi1984 PR PrestaShop/PrestaShop#39669 has been merged, could you please check if the issue is now resolved? |
8aeaad1 to
f283733
Compare
|
@Codencode I wait for the |
a50f99d to
9b111b5
Compare
|
Ping for review :
|
SiraDIOP
left a comment
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.
Hello @Progi1984 ,
Thanks for your PR, i tested it i have an 500 error for the query 8
Query 5
Thanks
|
Hello @Progi1984 Will you have time to take a look at query number 8 to see what's wrong? |







✔️ PrestaShop/PrestaShop#39669
Can't use
prestashop.core.grid.data_factory.taxbecause
@prestashop.core.grid.query_builder.taxreturn empty databecause
@=service('prestashop.adapter.legacy.context').getContext().employee.id_langisNULLHow to test 🚧
tax_read&tax_writePOST/taxes{ "names": { "en-US": "My Tax EN", "fr-FR": "My Tax FR" }, "enabled": false, "rate": 1.23 }{theCreatedID}{theCreatedID2}&{theCreatedID3}GET/taxes/{theCreatedID}PATCH/taxes/{theCreatedID}{ "names": { "en-US": "My Tax Updated EN", "fr-FR": "My Tax Updated FR" } }PATCH/taxes/{theCreatedID}{ "enabled": true }PATCH/taxes/{theCreatedID}{ "rate": 9.87 }GET/taxes/{theCreatedID}GET/taxesDELETE/taxes/{theCreatedID}GET/taxes/{theCreatedID}PUT/taxes/bulk-set-status{"taxIds": [{theCreatedID2}, {theCreatedID3}], "enabled": false}GET/taxes/{theCreatedID2}GET/taxes/{theCreatedID3}PUT/taxes/bulk-delete{"taxIds": [{theCreatedID2}, {theCreatedID3}]}GET/taxes/{theCreatedID2}GET/taxes/{theCreatedID3}