WIP reportgen
This commit is contained in:
@@ -5,10 +5,19 @@
|
||||
|
||||
using std::cin;
|
||||
|
||||
|
||||
void interface(vector<Park_spot>& spots);
|
||||
void interface_member(vector<Park_spot>& spots, Customer& c);
|
||||
void interface_admin(vector<Park_spot>& spots);
|
||||
void park(Customer& c, vector<Park_spot>& spots);
|
||||
void new_customer();
|
||||
void new_admin();
|
||||
void new_parkspot(vector<Park_spot>& spots);
|
||||
void new_parkspot(vector<Park_spot>& spots);
|
||||
|
||||
// time creation
|
||||
pair<int, int> create_month_period() ;
|
||||
pair<int, int> create_week_period();
|
||||
|
||||
// report stuff
|
||||
void report_single_spot(bool weekly);
|
||||
void report_all_spots(bool weekly)
|
@@ -62,11 +62,10 @@ vector<Park_spot> populate_spots();
|
||||
Park_spot query_parkspot_with_id(int id, vector<Park_spot>& parkspots);
|
||||
int query_role_customer(int id);
|
||||
|
||||
void reports_from_parkspot(int spotid, bool weekly = false);
|
||||
void reports_from_allparkspots(bool weekly = false);
|
||||
void reports_from_parkspot(int spotid, pair<int, int> period);
|
||||
void reports_from_allparkspots(pair<int, int> period);
|
||||
|
||||
void current_status_parkspots(vector<Park_spot>& spots);
|
||||
|
||||
pair<int, int> create_month_period(int month, int year) ;
|
||||
pair<int, int> create_week_period(int day, int month, int year);
|
||||
|
||||
#endif // CUSTOMER_H
|
||||
|
Reference in New Issue
Block a user