| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 35589 |
178 d 11 h |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Fix fofoId validation to allow 0 (All Partners) in createPosition and updatePartnerPosition
- fofoId=0 is a sentinel value meaning 'All Partners'
- Skip validation when fofoIds contains only 0
- Reject mixed lists like [0, 123, 456] to prevent inconsistent data
- Fixes regression introduced in r35570/r35571 |
|
| 35588 |
178 d 13 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ |
Fix ClassCastException in selectByfofoIds - flatten list properly instead of nesting ArrayList in Arrays.asList() |
|
| 35587 |
178 d 14 h |
ranu |
/trunk/ |
code diploy for bulletins |
|
| 35586 |
179 d 9 h |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/config/ |
Fix: Set HikariCP autoCommit=false to enable Hibernate dirty checking for transaction management |
|
| 35585 |
179 d 12 h |
ranu |
/trunk/ |
code updated by |
|
| 35584 |
180 d 12 h |
ranu |
/trunk/profitmandi-fofo/src/main/ |
code updated by |
|
| 35583 |
180 d 12 h |
ranu |
/trunk/ |
code updated by |
|
| 35582 |
180 d 12 h |
aman |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Fix:DMS Code update issue |
|
| 35581 |
180 d 19 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/integrations/icicilombard/ |
icici lombard service |
|
| 35580 |
181 d 15 h |
aman |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
Fix:Partner Pending Indents Data issue |
|
| 35579 |
181 d 19 h |
aman |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Feat:add lead id in lead report |
|
| 35578 |
182 d 14 h |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Fix: Protect admin-set hardLimit from being overwritten
- Bug fix: Credit limit set by admin (hardLimit=true) was being overwritten
when other users updated SD credit requirements
- Performance: Removed redundant database query for SDCreditRequirement
- Fix: Calculate availableLimit after limit changes to ensure correct value
- Cleanup: Use fofoId variable instead of repeated method calls |
|
| 35577 |
182 d 16 h |
aman |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/ |
Feat:add item ID in Aging Stock List: Items that are 4 days old or older report. |
|
| 35576 |
182 d 19 h |
aman |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
Feat:Add lead id and auth id in respective data table |
|
| 35575 |
183 d 4 h |
amit |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/checkout/ |
Return full CartResponse on cart validation failure
- Return cartValidationResponse instead of generic CART_CHANGED error
- Allows app to display specific price change messages to user |
|
| 35574 |
183 d 4 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/cart/ |
Fix price mismatch false positives in cart validation
- Handle cart price = 0/unset: silently update to current price (client bug)
- Use tolerance comparison (0.01) instead of exact Float.compare
- Prevents false PRICE_CHANGED errors from float precision issues |
|
| 35573 |
183 d 6 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/cart/ |
Feature: Add price mismatch detection in cart
- Detect when cart item price differs from current TagListing price
- Notify user with PRICE_CHANGED message showing old vs new price
- Auto-update cart line with current price
- Add logging for price mismatch events |
|
| 35572 |
183 d 6 h |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Fix: Remove duplicate persist in wallet approval
The addWalletRequest status was already being updated in memory,
and the entity is managed by Hibernate session - no explicit persist needed. |
|
| 35571 |
183 d 9 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Quick wins and medium effort improvements for ticket system
Quick Wins:
- Add input validation to updatePartnerPosition (check positionId, regionId, fofoIds exist)
- Keep SortOrder import (from javax.swing, needed for pagination)
Medium Effort:
- Extract common modal CSS and HTML to shared partials (activity-modal-styles.vm, activity-modal.vm)
- Add null safety checks for maps in getTicket, getMyPartyTicketTicket, getManagerTickets
- Fix N+1 query in getMyPartyTicketTicket: batch fetch tickets using selectAllOpenTickets(fofoIds) instead of loop |
|
| 35570 |
183 d 10 h |
amit |
/trunk/ |
Ticket system improvements: Fix N+1 query in getActivity, add input validation in createPosition, optimize getManagerTickets
- DocumentRepository: Add selectByIds for batch fetching documents
- CsController.getActivity: Replace N+1 document fetch with batch query, remove incorrect persist during GET
- CsController.createPosition: Add validation for authUserId, categoryId, regionId, and fofoIds before creating position
- CsController.getManagerTickets: Fix duplicate activity query, fetch only required AuthUsers instead of all users |
|