Parse and import CSV file to database with password protection. Export to HTML file.
[OK] - import CSV file into database with UTF-8 charset
[OK] - check if it is CSV file
[OK] - check if it is not empty
[OK] - render alert when user try to upload non CSV file or no file
[OK] - check if file is up to 2 mB
CSV file could not be in UTF-8 charset
[OK] - check file encoding
[OK] - if it is not UTF-8 then decode to UTF-8
CSV file has many columns, but we do not need all
[OK] - select columns that we need
[OK] - check if amount is above zero
[OK] - hashed transaction number column
[OK] - check if there is no duplicate in file
[OK] - check if import succeed
[OK] - error handling
[OK] - password is a must
[OK] - render alert when user try to upload CSV file without input or incorrect password
[OK] - render data in HTML table
[OK] - check if there are any data
[OK] - render warning if there are no data
[OK] - password is a must
[OK] - no data view without input password
[OK] - render warning if there are no data