Giter VIP home page Giter VIP logo

automated_payroll's People

Contributors

abhiisshheekk avatar harshraj22 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

automated_payroll's Issues

Add HR part

Add Option For HR to check and calculate salary.
While also add option to create HR. Update auth table.

add nav bar

  • Add nav bar in createUser.php and createHr.php

Admin can change

Admin can change password of employee .
Add feature in dispalyUserStats.php

HR can not see, please see. ๐Ÿคฃ ๐Ÿ˜†

Add link

Add link to the Home button into nav bar. โญ•

  • Dependent on homepage

unable to run automate.php

Warning: require_once(../authenticate/login.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\Automated_Payroll\Payroll\automate\automate.php on line 3

Fatal error: Uncaught Error: Failed opening required '../authenticate/login.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\Automated_Payroll\Payroll\automate\automate.php:3 Stack trace: #0 {main} thrown in C:\xampp\htdocs\Automated_Payroll\Payroll\automate\automate.php on line 3

Can you please help?

Decorate short lived pages

Beautify short lived pages that redirect withing seconds e.g. logged in/ logged out etc.
Put them in class='container text-center' and do some more decoration

unable To Run Automate.php File

Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\my-site\Automated_Payroll-develop\Payroll\automate\automate.php on line 4
Error while connecting to database.Access denied for user 'root'@'localhost' (using password: YES)

AUTOMATE.PHP

"; } // create the database. $db_create_query = "CREATE DATABASE {$database}"; $db_create_result = mysqli_query($conn, $db_create_query); if(!$db_create_result) die("Error creating database. ".mysqli_error($conn)); else echo "Successfully created Database.
"; mysqli_close($conn); // ------------------------Database Created, Now creating admin table ----------------------------- $conn = mysqli_connect($hostname, $username, $password, $database); if(!$conn) die("Error connecting database.
".mysqli_connect_error()); else echo "Connected to databse, creating tables.
"; // create auth table which stores username and password for each user, along with info it he/she is admin $table_query = "CREATE TABLE auth (username VARCHAR(20) NOT NULL PRIMARY KEY, pass VARCHAR(20) NOT NULL, isAdmin VARCHAR(3) NOT NULL DEFAULT 'No', isHr VARCHAR(3) NOT NULL DEFAULT 'No')"; $table_result = mysqli_query($conn, $table_query); if(!$table_result) die("Error creating authentication table.
".mysqli_error($conn)); else echo "Successfully created auth table.
"; // create an admin auth credentials. $create_admin_query = "INSERT INTO auth VALUES('{$admin_name}', '{$admin_pass}', 'yes', 'No')"; $create_admin_result = mysqli_query($conn, $create_admin_query); if(!$create_admin_result) die("Error creating admin.
".mysqli_error($conn)); else echo "Successfully Created admin.
"; //--------------------------------HR Table Creation---------------------------------------------------- $create_hr_table = "CREATE TABLE hr_table (username VARCHAR(30) NOT NULL PRIMARY KEY, rate INT (3) DEFAULT 10)"; $create_hr_table_result = mysqli_query($conn, $create_hr_table); if(!$create_hr_table_result) die("Error creating hr table.
"); else echo "Successfully Created HR table.
"; function removeDirectory($path) { $files = glob($path . '/*'); foreach ($files as $file) { is_dir($file) ? removeDirectory($file) : unlink($file); } rmdir($path); return; } removeDirectory('../user_images'); mysqli_close($conn); ?>

Display user details

Display user details of month when page corresponding to him/her is tried to access by the admin/HR.

displayUserStats.php
Add clickable list that opens up in map to show the location (lat-long)

Show location

Create a page which takes lat and long and shows in a map.

Create location tracking

Create user profile and add option to track user's latitude and longitude.
use getusermedia api.

Update image column

Update the size of column of image name as suggested in #16 . Make changes in file that automatically creates tables.

Create User's directory

When a user is created, his/her directory should be created where his/her image will be stored.

Update login system

Update index.php. If someone is logged in, he/she gets logged out if redirected to this page.

  • Dependent on homepage

Add Image Capture

Add feature to capture image when user logs in/logs out.
Save the pic in his/her directory.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.