Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
35514 196 d 18 h amit /trunk/profitmandi-fofo/src/main/ Fix getMobileLMPGraph 414 error - convert GET to POST

- Changed /getMobileLMPGraph from GET with @RequestParam to POST with @RequestBody
- Updated frontend to use doPostAjaxRequestWithJsonHandler instead of doGetAjaxRequestHandler
- Reuses LMSGraphRequest model for request body (same as getMobileLMSGraph)
- Fixes 414 Request-URI Too Large error when many fofoIds are passed

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
 
35513 200 d 17 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/transaction/ Fixed method Number to comma for Cr. Values  
35512 200 d 21 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/fofo/ Fix NonUniqueResultException in selectPartnerType - handle multiple records (CALCULATED + MANUAL) for same date by ordering by id DESC  
35511 200 d 23 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/config/ Fixed method Number to comma for Cr. Values  
35510 200 d 23 h amit /trunk/profitmandi-fofo/src/main/webapp/resources/js/ Fixed method Number to comma for Cr. Values  
35509 200 d 23 h amit /trunk/ Add manual partner type upgrade support with source tracking

- Add PartnerTypeSource enum (CALCULATED, MANUAL)
- Add source and upgradedBy fields to PartnerTypeChange entity
- Manual upgrades now backdated to 1st of month for full month effect
- Fix repository queries to use id DESC as tie-breaker (MySQL 5.7 compatible)
- Track who performed manual upgrade via upgradedBy field
 
35508 201 d 0 h ranu /trunk/ lead repo done  
35507 201 d 0 h ranu /trunk/ lead repo done  
35506 202 d 1 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/shopify/services/ Shopify Apis: Sync Products and Orders  
35505 202 d 2 h ranu /trunk/profitmandi-fofo/src/main/ today offer modal done  
35504 202 d 2 h vikas /trunk/ Shopify Apis: Sync Products and Orders  
35503 202 d 2 h vikas /trunk/ Shopify : Orders  
35502 202 d 2 h ranu /trunk/profitmandi-fofo/src/main/ today offer modal done  
35501 202 d 3 h ranu /trunk/ today offer modal done  
35500 202 d 21 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fix:Gst Validation  
35499 202 d 21 h aman /trunk/ Fix:Trial Activation Mail, All trial user page and gst validation  
35498 202 d 23 h ranu /trunk/profitmandi-fofo/src/main/webapp/resources/js/ Laptop show on offer  
35497 203 d 0 h ranu /trunk/profitmandi-fofo/src/main/ Laptop show on offer  
35496 203 d 3 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ given laptop in category  
35495 207 d 16 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fresh money allowance feature for B2B orders with overdue loans

- SDCreditServiceImpl: Added validateOverdueLoans() to check if partner can place order
- SDCreditServiceImpl: Added getAvailableFreshMoney() to calculate same-day fresh money
- SDCreditServiceImpl: Partners with overdue loans can now place orders using fresh money added same day
- OrderRepository: Added selectTodayOrdersExcludingRefund() for fresh money calculation
- UserWalletHistoryRepository: Added methods to get today's payments and refunds

Logic: Fresh money = (Today's PAYMENT_GATEWAY + AUTOMATED_ADVANCE deposits) - (Today's orders excluding refunded) + (Today's refunds)
 

Show All