fdai7057
|
ae13e9fbd1
|
prepare merge from feature/customer-menu into development
|
2 years ago |
fdai7057
|
1d3092544f
|
Add new cases inside the switch of the function errorMessage(). Remove the call to the function exit() inside errorMessage(). It is now done by the function that calls it. Now the different return values of this function make sense.
|
2 years ago |
fdai7207
|
c06136470d
|
refactoring: improved code readability by removing redundant lines, renaming variables and adding comments for documentation.
|
2 years ago |
fdai7207
|
cd4fb8fb7d
|
implement the verifyPassword() function in the getNewEmployeeCredentials() so that the validity of the password can be checked twice.
|
2 years ago |
fdai7207
|
69a25cfa6a
|
implemented unit tests for the new function verifyPassword() and changed the .txt files name while adding a new .txt file for personal emoyees data.
|
2 years ago |
fdai7207
|
0ec4eadc97
|
refactoring: made code more readable by changing some variable name in the isValidPassword() function and added some documentation.
|
2 years ago |
fdai7207
|
39fce8d436
|
implement the isValidPassword() function in the getNewEmployeeCredentials() function in order to check the validity of the entered password.
|
2 years ago |
fdai7207
|
17327b8e43
|
implement unit tests for the function isValidPassword().
|
2 years ago |
fdai7207
|
7f0db86eb1
|
refactoring : removed redundant code from the unit tests of the isValidEmployee() function.
|
2 years ago |
fdai7207
|
25b42cd0c0
|
refactoring: changed some variabales names in createEmployeeAccount.c for better readability.
|
2 years ago |
fdai7207
|
fed4a0a3ad
|
implement the isValidEmployeeID() in the getNewEmployeeCredentials to check Id's validity
|
2 years ago |
fdai7207
|
5e72e1f652
|
optimised the isValidEmployeeID() function and its unit tests
|
2 years ago |
fdai7057
|
1d49c20634
|
Call to errorMessage() with error code -12 in collectCustomerProperties if the user enters too many digits for the account balance.
|
2 years ago |
fdai7057
|
58704be59a
|
Modification of the function collectCustomerProperties. It now contains a call to balanceToDouble(). The reason is: The function scanf() is eliminated. Instead, the input is completely handled by getchar(). Each character is stored consecutively. Thus it can be the parameter for balanceToDouble().
|
2 years ago |
fdai7057
|
fe311209d7
|
refactoring: rename stod to balanceToDouble and its internal variable. The purpose of this function is to convert the user input for the account balance into a double and the new names states this purpose better.
|
2 years ago |
fdai7057
|
ac04c8d244
|
Implementation of function stod() and rename file stringManipulation.{c,h} to helperFunctions.{c,h} because the functions implemented there address different problems and not only string-specific problems.
|
2 years ago |
fdai6618
|
a0989dfed0
|
implement initiateMoneyTransfer methode
|
2 years ago |
Shivam Chaudhary
|
2459c3f1ec
|
Correct the path of file CustomerData.txt
|
2 years ago |
fdai6618
|
5fe8d5d2fd
|
refactoring sendMoney methode
|
2 years ago |
fdai7057
|
be8ceb2652
|
Modified error handling. The error for invalid input for forename and surname when creating a new customer account is caught.
|
2 years ago |
fdai7057
|
a2730ad965
|
refactoring: Rename one variable and replace decimal values with their character signs in order to increase comprehensibility and readability.
|
2 years ago |
fdai7057
|
af62069f27
|
Implementation of function isLetterOfAlphabet().
|
2 years ago |
fdai7057
|
02010b31d1
|
The error handling is now controlled by the function errorMessage. It is declared in error.h and defined in error.c. It is called in different cases. Each error has its own error code. The advantage is that the error message is specific.
|
2 years ago |
fdai6618
|
2d6de9f15b
|
deleted a comment on methode sendmoney
|
2 years ago |
fdai6618
|
f76fd87ce8
|
modified SendMoney method
|
2 years ago |
fdai6618
|
b98932b197
|
implement sendMoney methode
|
2 years ago |
fdai6618
|
1be9e8cae8
|
add refactoring for methode getAvailableBalnce
|
2 years ago |
fdai6618
|
0aa4b90f7a
|
implement methode getReceiverAccountNumber
|
2 years ago |
fdai6618
|
30aa84b943
|
test getAmount methode
|
2 years ago |
fdai6618
|
e3b774be63
|
add methode getAmount
|
2 years ago |
fdai6618
|
b29a397fb3
|
implement methode getAvailableAccountBalance
|
2 years ago |
fdai7057
|
0a0a197b6f
|
Prepare merge from feature/error-handling into development, rename folders.
|
2 years ago |
fdai7207
|
b7d38fac5e
|
refactoring: clean up duplicated code for the createEmployeeAccount.c unit tests.
|
2 years ago |
fdai7207
|
e570fb9f66
|
refactoring: changed some variables names and added some comments for documentation and enhanced the getnewEmployeeCredentials function.
|
2 years ago |
fdai7207
|
7cf0febf28
|
implement the getNewEmployeeCredentials() function in order for the user to sign up as an employee
|
2 years ago |
fdai7207
|
affa82bc3d
|
implement unit tests for the function createNewEmployee()
|
2 years ago |
fdai7207
|
906ee12708
|
implement unit tests for the function isValidEmployeeID()
|
2 years ago |
fdai7514
|
c60c470f08
|
removed unwanted directories and updated new Clearances in showGeneralInfoEmployee.c
|
2 years ago |
fdai7057
|
c5dec7f704
|
Add preprocessor directives in four header files.
|
2 years ago |
Shivam Chaudhary
|
1644b86774
|
Refactoring: remove unwanted codes
|
2 years ago |
fdai6618
|
9ed2c294e1
|
add refactoring for Methode checkAccount
|
2 years ago |
fdai6618
|
59cc6c0a61
|
add checkAccount Methode
|
2 years ago |
fdai7207
|
cda5d0bdad
|
merge the feature/show-general-info-employee functions with feature/the-main-menu.
|
2 years ago |
fdai7514
|
f7a2bf74ac
|
update with new Passwords in showGeneralInfoEmployee.c and test_showGeneralInfoEmployee.h
|
2 years ago |
fdlt3817
|
cd78a96c03
|
Test arrangements
|
2 years ago |
fdlt3817
|
87a32f9bf6
|
Function functionality change
updateAvailabeAccountBalance no longer increases or decreases the balance but rather sets the balance to the input value.
|
2 years ago |
fdai7057
|
fa12fdef2a
|
Implementation of function everyCharacterIsDigit().
|
2 years ago |
fdai7057
|
d8f3b64d53
|
refactoring: change variable names to increase readability.
|
2 years ago |
fdai7057
|
b8c357c667
|
bug fix: the behaviour of the function power() for 0 to the power of 0 and and for an exponent with the value 0 for any positive base in the range of the data type is not undefined anymore.
|
2 years ago |
fdai7057
|
854366fd97
|
Implementation of function power().
|
2 years ago |