Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
35590 4 h 5 m amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Require at least one partner in createPosition and updatePartnerPosition

- Reject null or empty fofoIds with 'At least one partner must be specified'
- Position must have either [0] (All Partners) or specific partner IDs
 
35589 4 h 7 m 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 5 h 37 m 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 6 h 54 m ranu /trunk/ code diploy for bulletins  
35586 1 d 1 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 1 d 5 h ranu /trunk/ code updated by  
35584 2 d 4 h ranu /trunk/profitmandi-fofo/src/main/ code updated by  
35583 2 d 4 h ranu /trunk/ code updated by  
35582 2 d 5 h aman /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fix:DMS Code update issue  
35581 2 d 12 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/integrations/icicilombard/ icici lombard service  
35580 3 d 7 h aman /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fix:Partner Pending Indents Data issue  
35579 3 d 11 h aman /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Feat:add lead id in lead report  
35578 4 d 7 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 4 d 8 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 4 d 11 h aman /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Feat:Add lead id and auth id in respective data table  
35575 4 d 21 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 4 d 21 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 4 d 23 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 4 d 23 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 5 d 2 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
 

Show All