Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37400 43 d 2 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 291 d 2 h amit /trunk/ Revert non-Java file changes from r35458  
35458 291 d 2 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 863 d 7 h ranu /trunk/profitmandi-fofo/src/main/ complete spilit order and payment by l2 of pending order item  
33367 877 d 9 h ranu /trunk/ fix webOffer layout and fix online order change by pincode  
33319 887 d 11 h ranu /trunk/ download all b2c users list  
33305 888 d 10 h ranu /trunk/ registered b2c users list for devki sir  
33233 903 d 5 h amit.gupta /trunk/ Fixed changes related to pending order search  
30628 1578 d 22 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/resources/js/  
30611 1580 d 5 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/resources/js/  
30607 1580 d 10 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/ Fixed sale issue  
30599 1582 d 2 h amit.gupta /trunk/profitmandi-fofo/src/main/ Fixed ahead issue  
28437 1959 d 10 h tejbeer /trunk/profitmandi-fofo/src/main/ change  
28422 1969 d 4 h tejbeer /trunk/profitmandi-fofo/src/main/  
28420 1969 d 4 h tejbeer /trunk/ change  
28413 1971 d 5 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/ dashboard  
28384 1974 d 2 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/resources/js/  
28383 1974 d 2 h tejbeer /trunk/  
28377 1974 d 3 h tejbeer /trunk/ chnages  
28362 1978 d 9 h tejbeer /trunk/profitmandi-fofo/src/main/ change  

Show All