38471-vm/summary.txt

13 lines
769 B
Plaintext

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.
Changed:
* `index.php`: Added `WHERE outlet_id = ?` to POS queries and updated item name display 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).
Next: Verify that switching outlets changes the POS items and that all items display a name.