Subversion Repositories SmartDukaan

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37119 5 d 2 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ old version app disabled for rbm  
37110 6 d 2 h aman /trunk/ Business-agreement e-sign gate between Full Stock Payment and PO creation

New AGREEMENT_ESIGN onboarding stage, verified by Legal (Gaurav Sharma):
- Hard-blocks first PO creation until the e-sign is verified (BulkOrderService),
mirroring the existing Full Stock Payment block.
- Agreement E-Sign panel (Partner Acquisition menu) listing FSP-done partners who
have not yet created their first PO: upload signed agreement + Gaurav-only verify.
- New agreement_esign table/entity + repository for the signed doc and audit trail.
- Timeline grid column + stepper stage for the new event.

Prod DB (separate, with sign-off): CREATE TABLE user.agreement_esign;
INSERT auth.menu + auth.menu_category rows for the panel.
 
37091 7 d 23 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ Bulk orders: enforce combo requirements for RBM/SALES creators

Bulk PO path skipped combo validation, letting RBM/SALES-created bulk orders bill a
combo main without its required side(s). Now, when the creator holds an RBM(18) or
SALES(4) position, run the existing cart-path comboService.validateCombo on the
per-partner cart (already built via cartService.setCartItems) right before the
transaction is created. Restrict-only: throws 'Missing required Qty for Combo' if a
side is missing; never auto-injects. Gate fail-open; other creators (incl AUTO PO) unaffected.
 
36936 26 d 5 h vikas /trunk/ Update Email Ids  
36613 62 d 23 h aman /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ Fix:Update L3 to L4 for first po approval mail  
36534 70 d 3 h aman /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ Fix:First Po check (is it pending )  
36518 72 d 3 h aman /trunk/ Fix:Fix first po and edge case for bulk order  
36399 86 d 4 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Replace mailSender (SendGrid) with gmailRelaySender - SendGrid API key expired/revoked  
36262 99 d 23 h aman /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fix:Send Mail for filled loi form to finance team  
36064 118 d 22 h aman /trunk/ Fix:FULL_Stock flow , fin service mark unapplicable ,send invoice to whatsapp by default, update contact list ,Training mail issue  
36024 124 d 23 h aman /trunk/ Fix:Exclude non working days and approval flow based on role and PO type.  
35995 130 d 23 h aman /trunk/ Fix:Redesign the Po Approval page, and po creation logic for first po, trail mails formatting fix  
35971 134 d 23 h aman /trunk/ Feat : Loi 2.0 Enhancement and redesigning  
35956 137 d 6 h amit /trunk/profitmandi-dao/src/main/ Mail outbox pattern: persist mail in transaction, send async after commit. Fixes lock contention between /cancelOrder and /om/addBillingDetailsForGrouppedOrders caused by SMTP calls inside transactions holding DB locks.  
35690 163 d 11 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Optimize order creation performance: add overloaded focusedModelShortageValidation with pre-fetched data, add overloaded payThroughWallet and processTransaction to avoid duplicate fetches, fix N+1 queries in BulkOrderService by batch-fetching items and tagListings  
35458 213 d 22 h amit /trunk/ Revert @Transactional(readOnly=true) - keep @Transactional only at Controller level

Changes:
- profitmandi-web: Controllers use @Transactional(rollbackFor = Throwable.class) at class level, removed method-level @Transactional(readOnly = true)
- profitmandi-fofo: Controllers use @Transactional(rollbackFor = Throwable.class) at class level, removed method-level @Transactional
- profitmandi-dao: Removed @Transactional from services/repositories

Exceptions (called from interceptors, need own transaction):
- RoleManager: @Transactional(readOnly = true) - called from interceptor for auth
- PartnerTypeChangeServiceImpl.getBestPartner(): @Transactional - called from JWTUtil via interceptor

Fixed javax.transaction.Transactional to org.springframework.transaction.annotation.Transactional
Fixed rollbackOn to rollbackFor for Spring compatibility
 
34959 321 d 5 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ Update  
34958 321 d 5 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ Update  
34957 321 d 5 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ Update  
34956 321 d 5 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ Update  
34856 351 d 1 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ icici insurance policY uploaded with live credentials  
34832 357 d 5 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ added validation on bulk order of brand  
34695 393 d 5 h aman.kumar /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ Bulkorder Upload Error Fix removed GetUsername from error  
34675 398 d 22 h aman.kumar /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ Create Loan For order fix  
34674 399 d 1 h aman.kumar /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ show the partner name when wallet amount is not sufficient on bulk order  
34661 405 d 7 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ sd Credit free days set 0 update method  
34637 415 d 2 h vikas.jangra /trunk/ Wallet debit for bid  
34592 426 d 23 h vikas.jangra /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Combined special Offers  
34576 429 d 17 h vikas.jangra /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Try catch added for bid process  
34575 431 d 2 h vikas.jangra /trunk/ Liquidation/Bidding auto approval  
34573 432 d 18 h vikas.jangra /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ PO Generated by Retailer or auth user  
34572 432 d 21 h vikas.jangra /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ Empty Bid Mail  
34568 433 d 0 h vikas.jangra /trunk/ Liquidation/Bidding push notification and Publish Email  
34566 433 d 2 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ loan transaction mapping issue at time of approval  
34545 435 d 3 h vikas.jangra /trunk/ Bidding/Liquidation push notifications  
34501 449 d 3 h vikas.jangra /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ Bulk Order FIX  
34492 449 d 19 h vikas.jangra /trunk/ Bidding Semi Final code  
34468 454 d 3 h vikas.jangra /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Liquidation/Bidding Report and whatsapp  
34443 456 d 16 h vikas.jangra /trunk/ Bidding/Liquidation Initial Code  
34312 491 d 3 h ranu /trunk/ code committed for loan maping