Open bj-rutledge opened 1 year ago
The customer class does not have a way to get the total amount spent. We'll have to approach this one of 2 ways:
1 -> change the array of order numbers to be an array or actual orders
2 -> query the db for orders and calculate the total. Both require refactoring.
The customer class does not have a way to get the total amount spent. We'll have to approach this one of 2 ways:
1 -> change the array of order numbers to be an array or actual orders
2 -> query the db for orders and calculate the total. Both require refactoring.