tomik-z-cech / PP5-Ohm-Azing-Components

View massive selection of electronic components at our online store. Find high-quality resistors, capacitors, tools, kits and more. Shop now for all your electronic needs !

Home Page:https://ohmazing-components-1a5a0fcb9e95.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.