Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
36686 144 d 22 h ranu /trunk/profitmandi-fofo/src/main/ beat plan info commit  
36685 144 d 23 h vikas /trunk/profitmandi-fofo/src/main/ Beat Reports & Live Tracking & Stops Detection  
36681 145 d 1 h ranu /trunk/ beat plan info commit  
36670 145 d 23 h ranu /trunk/profitmandi-fofo/src/main/ beat plan info commit  
36668 146 d 0 h ranu /trunk/profitmandi-fofo/src/main/ beat plan info commit  
36664 147 d 16 h vikas /trunk/ Beat Reports & Live Tracking  
36663 147 d 16 h ranu /trunk/profitmandi-fofo/src/main/ beat plan info commit  
36660 147 d 20 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ beat plan info commit  
36656 147 d 21 h vikas /trunk/ Beat Reports  
36655 147 d 21 h ranu /trunk/ beat plan info commit  
36651 147 d 23 h ranu /trunk/profitmandi-fofo/src/main/ beat plan info commit  
36650 148 d 0 h ranu /trunk/ beat plan info commit  
36645 148 d 2 h vikas /trunk/ Added Beat Report  
36644 148 d 12 h ranu /trunk/ route plan map  
36642 148 d 18 h ranu /trunk/ route plan map  
36637 148 d 22 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/warehouse/ fix: use full item description in PO bulk upload instead of raw modelName  
36634 149 d 18 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fix offer activation cache race: use activateOffers service, catch notification failures  
36632 149 d 18 h ranu /trunk/profitmandi-fofo/src/main/ route plan map  
36629 149 d 22 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ fix: validate extend date is not before scheme start date

extendAllSchemes and extendSchemeById now reject extend dates that would create inverted date ranges (end before start). Prevents bad scheme data that bypasses scheme_item date constraints.
 
36628 149 d 22 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ fix: /schemes/update endpoint now uses addSchemeItemWithDates to prevent duplicate scheme_item rows

The old code directly persisted SchemeItem with NULL start_date/end_date, which bypassed the unique constraint (MySQL treats NULLs as distinct). Now uses the same service method as /addItemToScheme, which sets dates from scheme window and checks for overlapping entries before insert.
 

Show All