Skip to content

Feature/thin develop split - #360

Closed
MohamedAliSmk wants to merge 7 commits into
developfrom
feature/thin-develop-split
Closed

Feature/thin develop split#360
MohamedAliSmk wants to merge 7 commits into
developfrom
feature/thin-develop-split

Conversation

@MohamedAliSmk

Copy link
Copy Markdown
Collaborator

No description provided.

MohamedAliSmk and others added 7 commits August 18, 2026 14:06
…evelop.

Keep origin/develop baseline offers; GWP/auth Python stay in posnext_promotions. Free-bundle SI merge is no longer in the POS Next invoice class.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
- Updated App.vue to conditionally render AuthorizationDialog based on authGateInstalled.
- Modified SelectInput.vue to support multiple selections and improved UI for selected options.
- Refactored CreateCustomerDialog.vue to use requiresSplitCustomerName for customer name handling.
- Adjusted InvoiceCart.vue to utilize the new wallet API and removed Magento dependencies.
- Enhanced PromotionManagement.vue to include Gift Pool promotion type and related UI elements.
- Introduced applyOfflineGiftPool function in posCart.js for handling gift pool discounts.
- Updated various API endpoints to ensure compatibility with new promotional features.

Co-authored-by: Cursor <cursoragent@cursor.com>
- Updated useInvoice.js to prevent free items from inflating stock checks and adjusted actual_qty to prefer original_stock.
- Improved posCart.js to utilize new stock validation functions for accurate quantity checks, ensuring free items do not affect paid item stock validation.
- Added utility functions in stockValidator.js for calculating stock quantities and validating item availability based on combined paid and free rows.
- Modified _collect_stock_errors in invoices.py to sum quantities per item_code and warehouse, ensuring accurate stock error reporting.

Co-authored-by: Cursor <cursoragent@cursor.com>
- Added conditional rendering for buttons in InvoiceCart.vue to prevent actions on locked free rows.
- Updated quantity handling logic to ensure free items do not interfere with paid item interactions.
- Introduced isLockedFreeRow function to streamline checks for free item status.
- Enhanced posCart.js to manage free item quantities more effectively, ensuring accurate invoice processing for promotions like GWP.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

2 participants