Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37400 44 d 3 h amit /trunk/profitmandi-fofo/src/main/ Merge the three sale-invoice download endpoints into /invoice/download

generateInvoice, generateInvoices and downloadInvoices differed only in how they
resolved the order ids and who was allowed to ask; everything after that was the
same. That drift meant only the single-order download stapled the policy
certificates, so the same invoice pulled from sale history came out without
them. One handler now selects by orderId, partner date range (admin only) or the
caller's own sale-history search, over reusable resolvers plus a shared
render-and-respond step. The old URLs stay as deprecated shims.

The admin range download is now fault tolerant - one unbillable order used to
fail the whole batch.

Remove the commented-out thermal variant of generateInvoice and the unused
paymentOptionIdPaymentOptionMapUsingPaymentOptions. Bump the asset version for
the sale.js change.
 
35459 292 d 3 h amit /trunk/ Revert non-Java file changes from r35458  
35458 292 d 3 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
 
33400 864 d 8 h ranu /trunk/profitmandi-fofo/src/main/ complete spilit order and payment by l2 of pending order item  
33367 878 d 10 h ranu /trunk/ fix webOffer layout and fix online order change by pincode  
33319 888 d 12 h ranu /trunk/ download all b2c users list  
33305 889 d 11 h ranu /trunk/ registered b2c users list for devki sir  
33233 904 d 6 h amit.gupta /trunk/ Fixed changes related to pending order search  
30628 1579 d 23 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/resources/js/  
30611 1581 d 6 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/resources/js/  
30607 1581 d 11 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/ Fixed sale issue  
30599 1583 d 3 h amit.gupta /trunk/profitmandi-fofo/src/main/ Fixed ahead issue  
28437 1960 d 11 h tejbeer /trunk/profitmandi-fofo/src/main/ change  
28422 1970 d 5 h tejbeer /trunk/profitmandi-fofo/src/main/  
28420 1970 d 5 h tejbeer /trunk/ change  
28413 1972 d 6 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/ dashboard  
28384 1975 d 3 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/resources/js/  
28383 1975 d 3 h tejbeer /trunk/  
28377 1975 d 4 h tejbeer /trunk/ chnages  
28362 1979 d 10 h tejbeer /trunk/profitmandi-fofo/src/main/ change  

Show All