Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37400 45 d 21 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 293 d 21 h amit /trunk/ Revert non-Java file changes from r35458  
35458 293 d 21 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 866 d 2 h ranu /trunk/profitmandi-fofo/src/main/ complete spilit order and payment by l2 of pending order item  
33367 880 d 4 h ranu /trunk/ fix webOffer layout and fix online order change by pincode  
33319 890 d 6 h ranu /trunk/ download all b2c users list  
33305 891 d 5 h ranu /trunk/ registered b2c users list for devki sir  
33233 906 d 0 h amit.gupta /trunk/ Fixed changes related to pending order search  
30628 1581 d 17 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/resources/js/  
30611 1583 d 0 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/resources/js/  
30607 1583 d 5 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/ Fixed sale issue  
30599 1584 d 21 h amit.gupta /trunk/profitmandi-fofo/src/main/ Fixed ahead issue  
28437 1962 d 5 h tejbeer /trunk/profitmandi-fofo/src/main/ change  
28422 1971 d 23 h tejbeer /trunk/profitmandi-fofo/src/main/  
28420 1971 d 23 h tejbeer /trunk/ change  
28413 1974 d 0 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/ dashboard  
28384 1976 d 21 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/resources/js/  
28383 1976 d 21 h tejbeer /trunk/  
28377 1976 d 22 h tejbeer /trunk/ chnages  
28362 1981 d 4 h tejbeer /trunk/profitmandi-fofo/src/main/ change  

Show All