Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
35915 1 h 12 m amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ Notifications: use loan-level overdue/penalty rates instead of global constants  
35914 1 h 12 m amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ GatewayController: resolve effective credit days by partner type, add overdue rate and credit terms to SDDIRECT status API  
35913 1 h 13 m amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/services/mandii/ Add overdueRateOfInterest, freeDays, creditTerms to AccountStatusResponseOut for dynamic TnC  
35912 1 h 13 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Store loan-level overdue/penalty rates, dynamic credit terms and TnC via APIs

- Add overdue_rate and penalty_rate columns to Loan entity (frozen at creation)
- addInterest()/checkLoans() read from loan instead of global constants
- SDCreditResponseOut: add overdueRate, penaltyRate, creditTerms fields
- sdDirectService(): resolve effective credit days by partner type (20 for Diamond/Platinum)
- InvoiceService: build credit terms from loan rates instead of hardcoded strings
- Add reusable buildCreditTerms() helper in SDCreditServiceImpl
 
35911 1 h 22 m vikas /trunk/ Update Existing Shopify Product  
35910 1 h 39 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ Fix credit limit bypass: use sdCreditRequirement.getAvailableLimit() instead of creditSummary.getAvailableLimit() in processLoanRequest and getAvailableAmount. The CreditSummary excluded limitBlock loans from utilization, allowing partners to exceed their credit limit by placing rapid successive orders.  
35909 2 h 45 m amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ Fixed selectById issue  
35908 2 h 54 m amit /trunk/profitmandi-dao/src/main/ Fix NPE in getTotalSaleByGst when retailer has null GST number; add ALTER TABLE to migration script  
35907 14 h 49 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/pricing/ Fix N+1 queries in PriceDropServiceImpl: batch-fetch purchases, orders, and FofoStores; replace System.out.println with LOGGER  
35906 15 h 31 m amit /trunk/profitmandi-fofo/ Add svn:ignore for build artifacts: .gradle, build, .idea, out, *.iml  
35905 15 h 31 m amit /trunk/profitmandi-dao/ Add svn:ignore for build artifacts: .gradle, build, .idea, out, *.iml  
35904 15 h 31 m amit /trunk/profitmandi-cron/ Add svn:ignore for build artifacts: .gradle, build, .idea, out, *.iml  
35903 15 h 31 m amit /trunk/profitmandi-web/ Add svn:ignore for build artifacts: .gradle, build, .idea, out, *.iml  
35902 15 h 31 m amit /trunk/profitmandi-common/ Add svn:ignore for build artifacts: .gradle, build, .idea, out, *.iml  
35901 15 h 31 m amit /trunk/ThriftConfig/ Add svn:ignore for build artifacts: .gradle, build, .idea, out, *.iml  
35900 15 h 32 m amit /trunk/profitmandi-cron/ Revert gradlew removal - Gradle wrapper should be version controlled  
35899 15 h 34 m amit /trunk/profitmandi-fofo/.idea/ Remove IDE artifacts from version control: .idea/codeStyles, .idea/dbnavigator.xml  
35898 15 h 34 m amit /trunk/profitmandi-cron/ Remove build artifacts from version control: gradlew, gradlew.bat  
35897 15 h 40 m amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/giftcoupon/ Simplify partner GST: use FofoStore.gstNumber in GiftCouponController

- Replace PrivateDealUser->Counter->gstin with FofoStore.getGstNumber()
- Remove Counter/PrivateDealUser dependencies
 
35896 15 h 40 m amit /trunk/profitmandi-dao/src/main/ Simplify partner GST: read/write from fofo_store.gst_number instead of Counter chain

- Set fofo_store.gst_number when store code is created/updated in RetailerServiceImpl
- Replace PrivateDealUser->Counter->gstin reads with FofoStore.getGstNumber() in:
RetailerServiceImpl, OrderServiceImpl, InvoiceService
- Remove unnecessary PrivateDealUser/Counter batch fetches in getFofoRetailers/getFofoRetailerUserId
- Add migration script to backfill existing GST from counter to fofo_store
 

Show All