Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
36196 104 d 16 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ Credit Note improvements: recovery method, dual CSV reports (IMEI + CN summary), fix mail recipients (restore deena/neeraj/satish/amit for full mail, amit/ranu for summary text-only), add IRN+AckDate to CSV, performance fixes (bulk queries replacing N+1), source-based descriptions (Schemes/Offers vs Price Drop per HSN), safe CGST+SGST/IGST grouping  
36195 104 d 17 h vikas /trunk/ Chatbot for RBM only: Inject SmartChat  
36194 104 d 17 h vikas /trunk/ Chatbot for RBM only: Inject SmartChat  
36193 104 d 18 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ Added Motorola Brand and some email in bi report  
36192 104 d 19 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/service/ agent insights tracking  
36191 104 d 19 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ agent insights tracking  
36190 104 d 22 h ranu /trunk/ agent insights tracking  
36189 106 d 20 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ Revert rerenderCNs - downloadCN already re-renders on the fly  
36188 106 d 20 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Revert rerenderCNs CLI option - downloadCN already re-renders on the fly  
36187 106 d 21 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Add --rerenderCNs CLI option to re-generate old CN PDFs with new format  
36186 106 d 21 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ Add rerenderCNs method to re-generate old CN PDFs with new format, persist hsnCode on CreditNoteLine  
36185 106 d 21 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Persist and restore hsnCode on CreditNoteLine for CN re-rendering

- Add hsn_code column to CreditNoteLine entity
- Save hsnCode when persisting CN lines in issueMonthlyMarginsCN
- Read hsnCode back in getCreditNotePdfModel for downloadCN/sendCnMails
- Earlier CNs without hsn_code will render with blank HSN (nullable column)
 
36184 106 d 22 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fix Credit Note IRN generation for monthly margins

- Add hsnCode to InventoryMarginModel, update 3 named queries to select ii.hsnCode
- Group CN items by taxRate+HSN, set hsnCode on CustomOrderItem
- Add getGenIrnRequest/getItemList overloads in GstProService for credit notes
- Fix IndexOutOfBoundsException from orders-items mismatch in generateCreditNoteIrn
- Wrap fofo and vendor loops in try-catch so one CN failure does not abort the process
- Send summary email with failure details to amit.gupta and ranu.rajput
 
36183 106 d 22 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ Credit Note PDF fixes: null guard on msAddDataCell, doc-type-aware labels (invoice/credit note/challan), conditional Order Id column, HSN code support  
36182 107 d 17 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ weekly rating system live on calling module  
36181 107 d 17 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ weekly rating system live on calling module  
36180 108 d 12 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/knowlarity/dto/ weekly rating system live on calling module  
36179 108 d 12 h ranu /trunk/ weekly rating system live on calling module  
36178 108 d 13 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/warehouse/ Validate from/to items have same itemType in GRN correction request

Prevents GRN corrections between SERIALIZED and NON_SERIALIZED items which
would corrupt inventory data (e.g. assigning bulk qty to a serialized item
or vice versa). Validation runs at request submission time.
 
36177 108 d 15 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ Fix currency format for negative amounts and use explicit symbol removal

Previous regex fix missed negative amounts like -Rs.500.50. Now uses explicit
replace("Rs.", "") for Java 8 en_IN locale with ₹ fallback for newer JDKs.
Handles both positive (Rs.17,618.00) and negative (-Rs.500.50) correctly.
 

Show All