1. Homologating units and Cost Center, so that units and Cost Centers become Equivalent concepts:
Standardized Definitions:
- Units and Cost Centers must have standardized definitions that clearly outline their attributes and relationships.
Database Schema Updates:
- The database schema must be updated to include equivalent attributes for units and Cost Centers.
- Any existing discrepancies between units and Cost Centers must be resolved.
[Shift - 2] - Shift 26589: Shift-2: Homologate Units and Cost Centers Without Enforcing 1:1 Relationship
Acceptance Criteria:
- The costcntr table includes a unit_id column with appropriate foreign key constraints.
- One unit can have multiple cost centers, but each cost center belongs to only one unit.
- Data items correctly inherit unit_id from the default cost center via trigger.
- Events inherit and update unit_id based on the selected cost center.
- Granting access to a cost center also grants access to the associated unit.
- Merchants remain tied to units, and no duplicate merchant entries are required.
- Shopping cart logic remains unchanged (one cart per unit), without duplication.
2. Avoiding unnecessary grid refreshes so that I skip processing when canceling item selections:
Code changes checklist:
-
Rename the retval property to OrderModified in the OpenPopupDialog method
-
Set OrderModified property to false when the result in the modal for each department is Cancelled
- The actions performed within the cases can be extracted into separate methods, which reduces the cognitive complexity of the method and solves the previous issue.
-
Clean up the code smells for the OpenCrudEditor method of each department
3. Having 6 lines in the Proposal & Internal fields for Data items packages:
- In the Data items packages information modal window for all departments, in the description section, we following changes were completed:
- Increase the size from 2 to 6 visible lines the "Proposal" & "Internal" fields
- Add a scroller that will allow the user to scroll up & down on that section
- If a user wants to select 2 or 3 words on the first, second, third, fourth, fifth or sixth line, then only those words must be selected and not all the words in the field.
- The modal has to resize with the text field
Beverage Package Information: Applied
Miscellaneous Package Management: Applied.
Equipment Package Management: AppliedMenu Packages: Applied.
Staff Package Management: Applied