-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReports.cpp
75 lines (60 loc) · 1.15 KB
/
Reports.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/*
Reports.cpp
Implementation of the reports class.
*/
#include "Reports.h"
const char dbfile[12] = "chocandb.db";
//default constructor
Reports::Reports()//: db(NULL)
{
/*
if(sqlite3_open(dbfile, &db)) //try to open database
{
//cout << "\nCan't open database\n\n";
} else {
//cout << "\nOpened database successfully\n\n";
}
*/
}
Reports::~Reports()
{
//sqlite3_close(db); //clost sqlite3 obj
}
int Reports::check_Member()
{
return 0;
}
Member Reports::get_Member(const int & Member_ID)
{
Member a_Member;
return a_Member;
}
bool Reports::add_Member(const Member & to_insert)
{
return false;
}
bool Reports::add_provider(const Provider & to_insert)
{
return false;
}
bool Reports::service_codes_report()
{
return false;
}
bool Reports::weekly_summary_report()
{
return false;
}
bool Reports::weekly_Member_report(const int & Member_ID)
{
return false;
}
bool Reports::provider_report(const int & provider_ID)
{
return false;
}
bool Reports::eft_report(const char * start_date, const char * end_date,
const int & provider_ID)
{
return false;
}