Merge josh features and sagar features #11

Closed
MassiveAtoms wants to merge 20 commits from billing4real into billing
2 changed files with 4 additions and 4 deletions
Showing only changes of commit ec089c66e7 - Show all commits

View File

@ -277,7 +277,7 @@
cout << "\nWhat's the password? ";
std::getline(cin, password);
Customer newcustomer{name, password, Vehicle_type(vtype), telephone, role};
cout << "\nNew customer sucessfully created\n";
cout << "\nNew customer sucessfully created with ID:" << newcustomer.id << "\n";
if (confirm())
newcustomer.update_db();
}
@ -294,10 +294,10 @@
std::getline(cin, telephone);
cout << "\nWhat's the password?";
std::getline(cin, password);
Customer newcustomer{name, password, Vehicle_type(vtype), telephone, role};
cout << "\nNew customer sucessfully created\n";
Customer newadmin{name, password, Vehicle_type(vtype), telephone, role};
cout << "\nNew customer sucessfully created with ID=" << newadmin.id << "\n";
if (confirm())
newcustomer.update_db();
newadmin.update_db();
}
void new_parkspot(vector<Park_spot>& spots) {

BIN
test.db3

Binary file not shown.