RavenBalingit / M03_Shop

0 stars 0 forks source link

add premium client functionality #1

Open Japoivvb opened 4 months ago

Japoivvb commented 4 months ago
  1. before ask for client name in sale option, include a new question about if the client is premium or not.

    • if the answer is No, continue flow as is
    • if the answer is Yes, create a premiumClient object which extends from Client, it has a points attribute and its pay method is the same as parent client but for each 10€ sales, it adds 1 point. e.g. if sale 35€, premiumClient gets 3 points. show its points earned after the sale total amount
  2. set issue label as enhancement to be tracked

  3. commit message with verb + #numberIssue + details

  4. include screenshot in issue once the fix is working and code has been pushed to main branch

  5. wait for QA validation