2019-07-06 14:52:01 +00:00
|
|
|
|
|
|
|
|
|
|
|
#include "Query.h"
|
|
|
|
|
2019-07-06 16:32:00 +00:00
|
|
|
|
2019-07-08 20:57:09 +00:00
|
|
|
using std::cin;
|
2019-07-06 16:32:00 +00:00
|
|
|
|
2019-07-20 23:32:47 +00:00
|
|
|
|
2019-07-06 16:32:00 +00:00
|
|
|
void interface(vector<Park_spot>& spots);
|
2019-07-18 01:30:47 +00:00
|
|
|
void interface_member(vector<Park_spot>& spots, Customer& c);
|
2019-07-06 16:32:00 +00:00
|
|
|
void interface_admin(vector<Park_spot>& spots);
|
2019-07-08 20:57:09 +00:00
|
|
|
void park(Customer& c, vector<Park_spot>& spots);
|
|
|
|
void new_customer();
|
2019-07-18 01:30:47 +00:00
|
|
|
void new_admin();
|
2019-07-20 23:32:47 +00:00
|
|
|
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)
|