QUIQQER Order - Single Order View

in utopian-io •  7 years ago  (edited)

We implement a new Feature for the QUIQQER Order Module.

QUIQQER Order

The QUIQQER Order Module integrates a complete order management in QUIQQER. The QUIQQER Order Module not only integrates an order management, actually a complete ordering process with integrated payment methods API and automated invoicing.

Version 1 will be released in the next few weeks / months.

New Features

What feature(s) did you add?

It must be possible to open a single order in User Frontend Profile.
At the moment there is only the possibility to view an order in the order list and download the PDF invoice. This is not user-friendly.

The following things must be possible:

  • It must exist an Order QUI Control
  • Open the order QUI Control in a QUI Window
  • The order must be easy to open everywhere (JS API)
  • The following Data must be visible in the Order
    • Order number
    • Order date
    • Article list with prices
    • Total and sub total
    • Order / Invoice Address
    • Link to the invoice pdf
    • Payment informations

How did you implement it/them?

The JavaScript API looks like this:

Loads the order into a DOM Node:

require([
    'package/quiqqer/order/bin/frontend/controls/order/Order'
], function (Order) {
    new Order({
        hash  : ORDER_HASH,
        events: {
            onLoad: function (OrderControl) {
            }
        }
    }).inject(HtmlNode);
});

Opens the order in a QUI Window:

require([
    'package/quiqqer/order/bin/frontend/controls/order/Window'
], function (Window) {
    new Window({
        hash  : ORDER_HASH
    }).open();
});
Preview of the order integration

We tried to assign the commits as far as we could. The complete commit log can you find [here]

Thanks for reading
Hen, for PCSG Developers



Posted on Utopian.io - Rewarding Open Source Contributors

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Thank you

Hey @pcsg-dev I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x