This is a simple Attendance and Payroll System using PHP and MySQLi-OOP as DB driver. It has attendance on the client-side and payroll on the admin side. This system is written in pure PHP with no framework so it is understandable to beginners.
*Submitted: 02-2-18
*Last Updated: 12-01-20 (tested in PHP version 7.2.33)
You can access the admin side by adding /admin/. You should be able to navigate to the admin login page.
You can then use the below admin credential:
Username: nurhodelta
Password: password
That's it. You should now be able to run the simple system :)
If you have any suggestions, comments, or reactions, feel free to comment below or message me.
Happy Coding :)
*Updates: 05-21-18
*Updates: 12-1-20
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
<strong><h4>Manupilate the entire document through this method</h4></strong>
<strong>1 </strong>Open the employee.php file using any text editor.
<strong>2</strong> Change the script inside the function
<strong>instead of getting one page</strong>
$('.edit').click(function(e){
e.preventDefault();
$('#edit').modal('show');
var id = $(this).data('id');
getRow(id);
});
<strong>Use the document query js.
</strong> $(document).on('click', '.edit', function(e){
e.preventDefault();
$('#edit').modal('show');
var id = $(this).data('id');
getRow(id);
});