Week 5

Summary

This fifth week was spent continuing our development of the project website, the core classes, and role inheritance. Changes were made to the various page layouts to improve readability. Product & container separation between customers and vendors were successfully developed allowing for different variations of product to be purchased from a vendor compared to what is sold to a customer. Everything went according to plan.

What was Accomplished

Implemented numerous improvements, fixes, and refinements to the system, including adding new functionalities like customer product containers, role inheritance, and barcode enhancements, fixing various logic and UI issues, refactoring code, renaming elements for clarity, and updating incorrect permission calls.

What is planned

Plans for next week are to continue development of the website, core classes, customer orders, and work on the logical flow of inventory moving throughout the system.


Changelog 25.2.3

  • Added background color change for barcode modal if in dark mode
  • Removed template files

Changelog 25.2.5

  • Added “Inherit Role as” option to roles_add and roles_edit
  • Added scan barcode modal to containers data table
  • Changed Product to Vendor Product & Container to Vendor Container
  • Fixed incorrect AJAX file location for products_containers_vendor_add
  • Fixed incorrect title names & breadcrumbs across several pages
  • Fixed object declaration error when a parent container was null for a vendor container
  • Redesigned profile picture information on users_edit
  • Refactored code
  • Reworked Vendor Products & Vendor Product Containers

Changelog 25.2.6

  • Added barcode icon next to SKU input on products_vendor_add and products_vendor_edit
  • Added Customer Products Containers Functionality
  • Added Customer Products functionality
  • Changed Product Vendor getActive return type to int
  • Fixed form submitting automatically after scanning a barcode
  • Fixed incorrect input types for two fields on products_vendor_add and products_vendor_edit
  • Refactored code

Changelog 25.2.7

  • Added “Bundle” as an option for customer & vendor containers
  • Added active status for customer & vendor containers
  • Added container hierarchy for customer & vendor containers edit pages
  • Added customer catalog & containers to sidebar
  • Added functionality for inheriting another role
  • Added logic check if a customer product was already created from a vendor product
  • Added logic for updating from an old role name to a new role name for users and other roles
  • Added permissions to add buttons for all datatables
  • Added SKU number below product name on products_container_customer_edit and products_containers_vendor_edit pages
  • Enabled permission checks for products_containers_customer pages
  • Fixed incorrect breadcrumb link on products_containers_customer_add
  • Fixed incorrect logic for grabbing existing parent containers for customers & vendors container pages
  • Fixed incorrect permission check on sidebar
  • Fixed misspelled label on products_customer_edit page
  • Moved all tables from datatables.js to their respective tables
  • Refactored code
  • Removed extra link from sidebar
  • Removed purchase price functionality from vendor products
  • Renamed order_sales to order_customers across several pages
  • Replaced certain “active” dropdowns with switches
  • Updated to PHPUnit 11.5.7

Changelog 25.2.10

  • Added “Add Customer” button on Agent Customers page
  • Added rounding to price to vendor & customer containers
  • Fixed icon color of active container being edited for product hierarchy