Skip to content

PHARMASPOT NEW#90

Open
ebrinejason-sys wants to merge 2 commits intodrkNsubuga:mainfrom
ebrinejason-sys:main
Open

PHARMASPOT NEW#90
ebrinejason-sys wants to merge 2 commits intodrkNsubuga:mainfrom
ebrinejason-sys:main

Conversation

@ebrinejason-sys
Copy link
Copy Markdown

No description provided.

PharmaSpot Developer added 2 commits November 7, 2025 11:14
- Added lang attribute, viewport meta, and descriptive title
- Added alt text to images and labels to buttons/selects
- Fixed duplicate ID issue
- All critical accessibility errors resolved
…ical API fixes

Features Added:
- Bulk product upload via CSV with template
- Enhanced Unit of Measure (UoM) system with package management
- Auto-focus payment input with faster response (300ms)
- Enter key support for payment confirmation
- CSV bulk upload template generation

Bug Fixes:
- Fixed category API to return created object with _id
- Fixed product ID generation to avoid collisions (milliseconds + random)
- Added safeParseFloat/Int helpers for proper number parsing
- Fixed multer to accept FormData without file uploads
- Fixed transaction page user filter null reference errors
- Fixed settings API with upsert pattern to prevent duplicate key errors
- Disabled rate limiter (was causing 429 errors)
- Fixed date format handling for both DD-MMM-YYYY and YYYY-MM-DD

API Improvements:
- Enhanced error handling with detailed messages
- Added optional file upload middleware
- Improved input sanitization with safeEscape helper
- Better validation for required fields

Database:
- Reset to clean state with only admin user (admin/admin123)
- Removed all test data for production readiness

Documentation:
- Added comprehensive guides for UoM system, testing, and receipts
- Added bulk upload template and instructions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant