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
set issue label as enhancement to be tracked
commit message with verb + #numberIssue + details
include screenshot in issue once the fix is working and code has been pushed to main branch
before ask for client name in sale option, include a new question about if the client is premium or not.
set issue label as enhancement to be tracked
commit message with verb + #numberIssue + details
include screenshot in issue once the fix is working and code has been pushed to main branch
wait for QA validation