Code Monkey home page Code Monkey logo

videoshop's People

Contributors

dschoenicke avatar galaxy102 avatar marckandler avatar martinmo avatar mheider avatar odrotbohm avatar philippmatthes avatar schauder avatar

videoshop's Issues

Gift voucher as payment method

The user wants to able to select a gift voucher as payment method.
To validate the possession of this voucher, he enters the previously displayed ID and the password.
If the order's value exceeds the voucher's value, the remaining sum is automatically due in cash.
If the order does not exceed the voucher's value, the voucher is updated with the remaining sum.
The user is presented a payment method overview.
The order total displayed in the boss overview is only the cash value of the order.

Fix a code smell in UsedVoucher

Make UsedVoucher independent from voucherInventory by creating a Constructor dependent on SoldVoucher such that no query is needed.

Insert Gift Voucher as buyable item.

The user wants be able to buy a gift voucher.
The gift voucher can be sold in predefined values of 10 €, 25 € and 50 €.
Each gift voucher has an ID and a secret password, which will be displayed after placing the order.
The ID and password are stored for future reference.
Vouchers are explicitly not bound to a user account.

Boss overview

The Boss wants to be able to see which vouchers the shop has sold and what value remains on them.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.