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
36565 65 d 8 h amit /trunk/profitmandi-dao/src/main/resources/sql/ Remove commented-out migration step from model_flagship DDL - no existing flagship data  
36564 65 d 8 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Flagship credit: add @Scheduled cron for expired flagship limit conversion (daily 1 AM)  
36563 65 d 8 h amit /trunk/profitmandi-fofo/src/main/ Flagship credit: admin UI for date-wise flagship model management, jsVersion bump to 338  
36562 65 d 8 h amit /trunk/profitmandi-dao/src/main/ Flagship credit: date-wise model_flagship table, sale-time conversion with pessimistic locking, batch queries, extracted doConvertFlagshipToLoan helper, removed Catalog.isFlagship  
36561 65 d 9 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ Flagship credit: @Scheduled daily 1AM for expired flagship conversion  
36560 65 d 9 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Flagship credit: sale-time conversion with FOR UPDATE locking and performance optimizations

- convertFlagshipOnSale: partial conversion at billed price when retailer sells flagship stock
- hasActiveFlagshipLimits: cheap COUNT check to skip catalog lookup for non-flagship partners
- selectActiveFlagshipLimitBlocksForUpdate: pessimistic lock prevents double-conversion from concurrent sales/cron
- selectFlagshipLoansForConversion: added FOR UPDATE lock for cron expiry path
- Batch order fetch instead of per-limit queries
- Wired into OrderServiceImpl.createOrder after stock update
 
36559 65 d 9 h amit /trunk/profitmandi-dao/src/main/ feat: auto-generate debit notes on RTV with proper DN/{prefix}/{sequence} numbering  
36558 65 d 10 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/inventory/ RTV: always set lastScanType to PURCHASE_RETURN in markItemReturned (informational, not conditional on full drain)  
36557 65 d 15 h amit /trunk/ feat: Flagship Credit - 30 interest-free days for flagship models with billing split, expiry conversion, API-driven T&C  
36556 65 d 16 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ Fixed scroll in offers modal  
36555 65 d 16 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/services/mandii/ Fixed scroll in offers modal  
36554 65 d 16 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ feat: one-off credit note posting for duplicate invoice NSNOI8965 against NSNOI8966  
36553 65 d 16 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/transaction/ fix: prevent concurrent billing race condition - add billingTimestamp check in validateOrdersForBilling  
36552 66 d 2 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ changeList  
36551 66 d 3 h amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fixed scroll in offers modal  
36550 66 d 3 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/service/ changeList  
36549 66 d 3 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/service/ changeList  
36548 66 d 3 h amit /trunk/profitmandi-fofo/src/ Monitor type upload: allow duplicate catalog_id (keep first), make dialog scrollable  
36547 66 d 3 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/service/ changeList  
36546 66 d 3 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/service/ changeList  

Show All