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
36204 187 d 2 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ Skip negative/zero margin CN line items — reversals produce negative amounts that NIC rejects. This was the root cause of the 27 'decimal validation' failures (not rounding, but negative values)  
36203 187 d 2 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ Move dedup check before sequence increment — avoids wasting CN numbers when re-running for the same month  
36202 187 d 2 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ CN date = date of execution (LocalDate.now), not end-of-month. File path still uses margin month for folder structure.  
36201 187 d 2 h vikas /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Chatbot for RBM only: Inject SmartChat  
36200 187 d 2 h ranu /trunk/ error correctly will show  
36199 187 d 2 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/integrations/gstpro/ Fix: add DUPIRN handling in credit note IRN generation (both MARGINS and RETURNS overloads) — fetch existing IRN from NIC instead of failing  
36198 187 d 3 h amit /trunk/profitmandi-fofo/src/main/ Add Download All CN summary report for FOFO_ADMIN: bulk CSV with partner details, IRN, ack date per month  
36197 187 d 3 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Add --recoverCreditNote and --resendCNReport CLI args for credit note recovery and report resend  
36196 187 d 3 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 187 d 4 h vikas /trunk/ Chatbot for RBM only: Inject SmartChat  
36194 187 d 4 h vikas /trunk/ Chatbot for RBM only: Inject SmartChat  
36193 187 d 5 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ Added Motorola Brand and some email in bi report  
36192 187 d 6 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/service/ agent insights tracking  
36191 187 d 6 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ agent insights tracking  
36190 187 d 9 h ranu /trunk/ agent insights tracking  
36189 189 d 7 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ Revert rerenderCNs - downloadCN already re-renders on the fly  
36188 189 d 7 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Revert rerenderCNs CLI option - downloadCN already re-renders on the fly  
36187 189 d 7 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 189 d 7 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 189 d 7 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)
 

Show All