This module provides an ordering process, extends QUIQQER with a complete order management system and provides different APIs for the ordering process for further modules.
Repository
New Features
What feature(s) did you add?
This week there were some changes in the QUIQQER Order Module. As explained in the last posts we build our system Multi Currency capable. I.e. you have the possibility to offer your products in different currencies.
The problem now is that you have several orders with different currencies in your system. To make this more manageable we have added a filter capability to the administration.
How did you implement it/them?
First, the currency code data had to be available as a separate field in the database. This makes filtering a lot easier. Currently, the currency data was only available in JSON format.
This is quite simple in QUIQQER and only the database.xml needs to be extended.
Afterwards the currency data in the temporary order and the order had to be considered and stored.
Since the currency data are now stored in the database and still have their own field, filtering is quite easy to implement. To make this possible in the administration we have decided for a currency drop down which is available in the order panel.
(https://github.com/QUIQQER/order/commit/8777853e2b91dff0f375b6071980f55036b452d9)
First of all we added the Ajax functionality and the ContextMenuItem to the panel so we can access it.
After that we added a button with a currency context menu to the upper menu bar
In this case we have to request all available active currencies from the server and add them to the menu.
Since the interface has been implemented, the filter only has to be sent to the server as well and the search has to be consider the new filter.
GitHub Account
Thanks for reading,
Hen, for PCSG Developers
Thank you for your contribution.
$TemporaryInvoice->getArticles()->setUser($this->getCustomer())->setCurrency($this->getCurrency()
as currently thegetArticles()
has been invoked twice.Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Chat with us on Discord.
[utopian-moderator]
Thank you for your review, @justyy! Keep up the good work!
Congratulations @pcsg-dev! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOP
To support your work, I also upvoted your post!
Do not miss the last post from @steemitboard:
Vote for @Steemitboard as a witness to get one more award and increased upvotes!
STOP
Notifications have been disabled. Sorry if I bothered you.
To reactivate notifications, drop me a comment with the word
NOTIFY
Hi @pcsg-dev!
Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server
Hey, @pcsg-dev!
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!