j-sm-n / black_thursday

Black Thursday is a system that is able to load, parse, search, and execute business intelligence queries against the data from a typical e-commerece business in Ruby.
0 stars 0 forks source link

Business Intelligence - Find customers with unpaid invoices #71

Open jesse-spevack opened 7 years ago

jesse-spevack commented 7 years ago

Find customers with unpaid invoices:

sa = SalesAnalyst.new

sa.customers_with_unpaid_invoices #=> [customer, customer, customer] Note: invoices are unpaid if one or more of the invoices are not paid in full (see method invoice#is_paid_in_full?).

https://github.com/turingschool/curriculum/blob/master/source/projects/black_thursday/iteration_5.markdown