Patch Notes 2.2.5

Prev Next

Profit Ops Patch 2.2.5 has been released to the live environment. This document includes all changes made for the patch cycle ending 1-8-2025

Projects Module

  • Project Module now requires a Sales Order file before a project may be submitted for PM review. [#1016]

  • Projects are now saved automatically each time a Sales Order is updated. [#1019]

    • Refactor code to fix alignment and spacing issues

      • Standardize formatting across the Job model by adjusting inconsistent spacing, improving readability, and maintaining code style consistency.

      • Renamed hasSalesOrder to getHasSalesOrderAttribute for clarity and alignment with Laravel conventions.

    • Refactor code to improve formatting consistency

      • Adjusted code spacing and alignment for better readability and maintainability.

      • Unified spacing around array keys, function parameters, and validation rules.

      • These changes ensure adherence to consistent coding standards throughout the file.

    • Refactor ShowProjectController for consistency and clarity.

      • Updated formatting for better code readability and consistency in array and strict type declarations.

      • Appended has_sales_order property directly, removing redundant assignment.

  • Fixed an issue that could cause the Tank Chart Measure Down calculation to fail. [#1022]

    • Refactor TankChart methods and add code cleanup.

      • Commented out strict typing temporarily for future refactor.

      • Adjusted formatting for consistency and fixed type hinting and parameter alignment.

      • Simplified number_format usage and ensured code readability improvements.

    • Refactor TankChart model to improve code clarity.

      • Removed strict_types declaration temporarily for future refactor.

      • Standardized spacing and formatting for consistency and readability.

      • Adjusted type annotations and return formatting for better type compliance and precision.

  • Implemented validation checks for the Project Manager when moving a project from “Review PM” to “Accepted PM“ status. [#1026]

    • This new feature checks projects for required information before allowing a project to advance to the planning stage.

    • If details are missing, users are notified via an alert icon on the project overview page, and on the status dropdown.

    • This allows users to know why the “Accepted” status is not available, and what to do about it.

  • Users can now set a proposed date range for services. [#1011]

    • Proposed dates appear on the Gallon or Box count Sub-Tab header.

    • Users may select one day, or a range of continuous dates where a service is planned to occur.

    • Scheduled dates continue to be set via individual work orders as normal.

  • Users can now Toggle weather a Proposed Date appears in the Calendar [#1017]

    • This setting is enabled on the Gallon or Box count sub-tab.

    • Can be shown or hidden for each service on the project.

    • Proposed dates hidden on a project will NEVER appear on the calendar, they must be given permission to appear in the project module first.

Manpower Module

Manpower Schedule

  • Fixed an issue that caused region object requests to send the whole object instead of just sending the ID. [#1024]

    • This issue is related to security and network optimizations, it was sending more data than the client requested, exposing that data and taking up more bandwidth than required to complete the task.

    • Reorganized the SelectInput and FileUpload components for better clarity and functionality.

    • Added conditional rendering for FileUpload to handle undefined selectedRegion states.

    • Minor improvements include consistent property ordering and removal of outdated comments.

  • The “Temporary” section in Manpower Schedule has been Renamed to “Manpower - Autogenerated” [#1041]

    • This more accurately reflects the process taking place.

    • Lets the user know they are viewing files generated by the system from user populated information.

Manpower Crew

  • Subregion and Yard field are now disabled when creating or editing a MOB Crew [#1033]

    • Users must now choose between assigned a crew to a sub-region or yard, and assigning them to a MOB Region.

    • This more accurately reflects current deployment practices.

    • Prevents situations where users looking for a crew in Manpower Assign, could not find it.

  • Implemented a system to color code the work orders a crew member has been assigned to. [#1034]

    • When viewing work orders than an individual crew member has been assigned:

      • MOB work orders will be shown with pink text.

      • Local work orders will be shown with red text.

    • This is to help distinguish the two when auditing plans and workloads.

  • Changed the location of the warning message when a Crew is Assigned to a Work Order. [#1042]

    • Warning now appears directly beneath the Active/Inactive toggle.

    • This better communicates the context of a warning.

    • Better explains why the toggle is not available when planning crews.

Manpower Assign

  • Work Orders with more than 10 Crew Members will now scale horizontally on the printed and published files. [#1028]

    • This was done to prevent Manpower Charts from overrunning the page and requiring more paper than is otherwise necessary.

    • Helps compress and group larger crews together for better readability on all devices.

Fleet/Equipment Module

  • Fixed an issue that prevented new fleet submissions from saving correctly. [#1035]

    • Correct unseen typo.

    • In create fleet, default Set in_service value to true.

    • Remove unwanted line.

TimeCard Approval Module

  • Fixed an issue that caused clicking on TCA → Supervisor option to incorrectly load the regular TCA. [#1030]

Calendar Module

  • Added the ability to see Proposed Dates in Calendar [#1013]

    • This allows all users with access to the calendar to see work orders with proposed dates.

    • This information can be screened out via the Misc filter.

    • Proposed dates will only appear on the Calendar Module if given permission from the Projects Module on their Gallon/Box count sub-tab.

    • Proposed dates are indicated with same color as a normal date but have a more transparent tone.

  • Add “Proposed Date” option to the “Misc” Filter Dropdown [#1036]

  • Added the ability to click on a proposed date and see all of its details on a card. [#1021]

    • When a proposed date is selected, users can see a list of all work orders related to the proposed date range.

  • Updated the “Clear All Filters” icon shown in the module header. [#1031]

  • Changing the scheduled date of a WO will now correctly refresh its weather forecast. [#1014]

  • Added a timestamp to show the last time the weather was updated. [#1038]

    • This stamp is located next to the weather refresh button for easy reference.

    • Weather data will continue to be refreshed automatically at regular intervals.

    • Users can still manually refresh the weather data via the refresh button as normal.

  • Corrected the material/box count in the WO details modal [#1032]

    • This field could occasionally fail to display information that was provided in the project’s module.

  • Users can now overwrite an existing Saved Filter [#1037]

    • Existing filters can be overwritten by using the same name.

    • Previously, users had to delete a filter and then create a new one to use the same name again.

Credits & Acknowledgements

  • Code Contributors:

    • @corydemille

    • @pemeraldy

    • @devsquad-pedro-silva

    • @devsquad-denisbeder-carvalho

  • Patch Notes Transcribed By:

    • Jason M Callahan