Browse Source

merge the feature/show-general-info-employee functions with feature/the-main-menu.

remotes/origin/feature/employees-infos-access
fdai7207 2 years ago
parent
commit
cda5d0bdad
  1. 2
      src/employeeLogin.c
  2. 0
      test/support/.gitkeep
  3. 0
      tests/test_employeeLogin.c
  4. 0
      tests/test_mainMenu.c

2
src/employeeLogin.c

@ -1,5 +1,6 @@
#include "mainMenu.h" #include "mainMenu.h"
#include "employeeLogin.h" #include "employeeLogin.h"
#include "showGeneralInfoEmployee.c"
bool employeesAccess(char* employeesAccessCode) bool employeesAccess(char* employeesAccessCode)
{ {
@ -115,6 +116,7 @@ void loginAsEmployee()
else else
{ {
printf("\n\nUser Approved\n\n"); printf("\n\nUser Approved\n\n");
showGeneralInfoEmployee(username, password);
break; break;
} }
} }

0
test/support/.gitkeep

0
test/test_employeeLogin.c → tests/test_employeeLogin.c

0
test/test_mainMenu.c → tests/test_mainMenu.c

Loading…
Cancel
Save