Update summary
This commit is contained in:
parent
a0c9d662f3
commit
3f5f9a7b2f
13
summary.txt
13
summary.txt
@ -1,13 +1,12 @@
|
||||
Plan:
|
||||
1. **Filter by Outlet:** Updated POS item queries (initial load, search, SKU lookup) to filter by the current `outlet_id`.
|
||||
2. **Fix Name Display:** Updated the item card rendering to show `name_ar` if `name_en` is empty, fixing the issue where items appeared with only SKU.
|
||||
3. **Data Fix:** Ran a one-time update to assign all existing unassigned items to Outlet 1.
|
||||
1. **Move Menu Item:** Moved "Register Sessions" from the "Administration" section to the "Reports" section in the sidebar.
|
||||
2. **Update Permissions:** Updated the internal `$permission_groups` array to reflect this structural change.
|
||||
|
||||
Changed:
|
||||
* `index.php`: Added `WHERE outlet_id = ?` to POS queries and updated item name display logic.
|
||||
* `index.php`: Moved the `register_sessions` permission and the corresponding sidebar link and logic.
|
||||
|
||||
Notes:
|
||||
* POS now correctly shows only items for the selected outlet.
|
||||
* Items without an English name will now display their Arabic name instead of a blank space (or appearing as just SKU).
|
||||
* "Register Sessions" is now located under the "Reports" dropdown in the sidebar.
|
||||
* It remains accessible to users who could access it before (logic uses the same permission keys), but is now grouped with reports.
|
||||
|
||||
Next: Verify that switching outlets changes the POS items and that all items display a name.
|
||||
Next: Verify that "Register Sessions" appears in the Reports section and functions correctly.
|
||||
Loading…
x
Reference in New Issue
Block a user