USER STORY : Invoice Generator
tomik-z-cech opened this issue · comments
As a Site Admin, I need to be able to generate invoice in *.pdf
format in order the invoice being attached to the confirmation email.
Acceptance Criteria :
When User sucessfully proceeds through checkout the invoice in *.pdf
needs to be generated based on order details adn saved to database.
Tasks :
- Gather all details needed for invoice from the order
- Count other necessary values (VAT, subtotal excluding VAT)
- Get a timestamp of now.
- Install django Canvas
- Draw invoice based on provided info
- Save invoice into database
- Test functionality as logged in User
- Test functionality as not logged in User
Epic :
EPIC 10
This was done in commit 7395bb8.