This PR adds the necessary changes to implement the following features:
Database schema creation for users, consignments, and logs
Login module for the admin
Ability for the admin to add new users
Module for consignment status update
Reporting module for user logs and processed consignments
Summary of Changes
Created a database schema in application/database/schema.sql with tables for users, consignments, and logs
Added a LoginController in application/controllers/LoginController.php with a login function for handling login requests
Modified AdminController in application/controllers/AdminController.php to include a createUser function for adding new users
Modified PackageController in application/controllers/PackageController.php to include an updateStatus function for updating consignment status
Created a ReportController in application/controllers/ReportController.php with functions for fetching user logs and processed consignments
Please review and merge these changes. Thank you!
Fixes #8.
To checkout this PR branch, run the following command in your terminal:
git checkout {pull_request.branch_name}
🎉 Latest improvements to Sweep:
Use Sweep Map to break large issues into smaller sub-issues, perfect for large tasks like "Sweep (map): migrate from React class components to function components"
Getting Sweep to format before committing! Check out Sweep Sandbox Configs to set it up.
We released a demo of our chunker, where you can find the corresponding blog and code.
💡 To get Sweep to edit this pull request, you can:
Leave a comment below to get Sweep to edit the entire PR
Leave a comment in the code will only modify the file
Edit the original issue to get Sweep to recreate the PR from scratch
Description
This PR adds the necessary changes to implement the following features:
Summary of Changes
application/database/schema.sql
with tables for users, consignments, and logsLoginController
inapplication/controllers/LoginController.php
with alogin
function for handling login requestsAdminController
inapplication/controllers/AdminController.php
to include acreateUser
function for adding new usersPackageController
inapplication/controllers/PackageController.php
to include anupdateStatus
function for updating consignment statusReportController
inapplication/controllers/ReportController.php
with functions for fetching user logs and processed consignmentsPlease review and merge these changes. Thank you!
Fixes #8.
To checkout this PR branch, run the following command in your terminal:
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: