|
@ -1,6 +1,6 @@ |
|
|
#include "mainMenu.h" |
|
|
#include "mainMenu.h" |
|
|
|
|
|
|
|
|
#include "employeeLogin.c" |
|
|
|
|
|
|
|
|
#include "employeeLogin.h" |
|
|
|
|
|
#include "createEmployeeAccount.c" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -112,7 +112,10 @@ void menuInput() |
|
|
case 3 : getEmployeeAccessCode(); |
|
|
case 3 : getEmployeeAccessCode(); |
|
|
break; |
|
|
break; |
|
|
|
|
|
|
|
|
case 4 : printf("\e[1;1H\e[2J"); |
|
|
|
|
|
|
|
|
case 4 : getNewEmployeeCredentials(); |
|
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
case 5 : printf("\e[1;1H\e[2J"); |
|
|
printf("\nsee you next time !\n\n"); |
|
|
printf("\nsee you next time !\n\n"); |
|
|
break; |
|
|
break; |
|
|
} |
|
|
} |
|
@ -127,6 +130,7 @@ void showMenu() |
|
|
printf("\n\n\n\n\t\t\t\t\t\t ->Login as an existing costumer."); |
|
|
printf("\n\n\n\n\t\t\t\t\t\t ->Login as an existing costumer."); |
|
|
printf("\n\n\t\t\t\t\t\t ->Register as a new costumer."); |
|
|
printf("\n\n\t\t\t\t\t\t ->Register as a new costumer."); |
|
|
printf("\n\n\t\t\t\t\t\t ->Login as an Employee."); |
|
|
printf("\n\n\t\t\t\t\t\t ->Login as an Employee."); |
|
|
|
|
|
printf("\n\n\t\t\t\t\t\t ->Register as an Employee."); |
|
|
printf("\n\n\t\t\t\t\t\t\t\t ->Exit.\n"); |
|
|
printf("\n\n\t\t\t\t\t\t\t\t ->Exit.\n"); |
|
|
printf("\n\n\n\n\n Selection :\n"); |
|
|
printf("\n\n\n\n\n Selection :\n"); |
|
|
|
|
|
|
|
|