Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37241 15 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ Harden cancelMarginDnIrns: per-DN REQUIRES_NEW transaction (NIC cancel is irreversible; later failures must not roll back earlier cancelled flags) and treat NIC already-cancelled as success so re-runs converge DB to NIC state  
37240 20 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/transaction/ Amend cancelled-doc filtering (r37239): hide only cancelled docs WITHOUT a CN_CANCELLATION reversal pairing. The 513 May-2026 cancelled CNs must stay visible so statements net original+cancellation (21 pairs cross months); NIC-cancelled docs with no reversal doc (cancel+reissue flow) are hidden everywhere  
37239 26 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/transaction/ Exclude cancelled credit notes from statement and CN-list queries (selectAll, selectByMarginMonth, selectMarginsTypeByMonth): cancelled docs must not appear in partner statements or listings  
37237 42 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ Net IRN payload items per GST-rate group for CN/DN docs (NIC rejects negative AssAmt; mixed-sign docs failed CRN IRN with regex error - all 105 July mixed CNs); add regenerateMarginIrns one-time method to generate missing IRNs for issued margin docs, regenerate PDFs with IRN/QR and re-mail partners  
37235 59 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ Add cancelMarginDnIrns one-time remediation: cancel NIC IRNs (24h window) of margin DNs inflated by the abs bug and mark rows cancelled so a sendCreditNote rerun reissues corrected DNs; add cancelIrn overload taking seller GSTIN (CN/DN docs have no order rows); mail partner on monthly run only when a document was generated (rerun guard)  
37231 18 h 2 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ Fix margin DN sign reversal: negate line items instead of Math.abs so opposite-sign components (scheme/offer payouts) appear as negative DN lines; add one-time issueCorrectiveMarginCNs to issue document-only corrective CNs against DNs inflated by the abs bug  
37227 18 h 35 m ranu /trunk/ password update knowlarity  
37223 19 h 51 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/external/ external api v2: paginated storeMaster (standard envelope, offset/limit)  
37221 21 h 1 m amit /trunk/profitmandi-dao/src/main/ external api v2: admin access queries (clients + store/category mappings) and Technology menu SQL  
37218 21 h 59 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/catalog/ external api v2: optional BrandIdentifier column in bulk item upload  
37215 22 h 1 m amit /trunk/profitmandi-dao/src/ external api v2: one-time ram/memory derivation from detailedSpecs/keySpecs  
37213 22 h 30 m amit /trunk/profitmandi-dao/src/ external api v2: CategorySpecUtil - positional spec values validated against category definitions  
37211 1 d 0 h amit /trunk/profitmandi-dao/src/ Hot Deals: model_hot_deal entity, repository and service with 15-active-per-brand cap, duplicate-active and date validation  
37209 1 d 0 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ AuthService: add resetAuthUserPassword (auth_user only, by email or mobile, no dtr.users cascade) to fix 400 on auth-user password reset  
37206 1 d 0 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ external api v2: category-scoped feeds, categoryMaster, catalog-derived titles, item fields + brand_identifier in sku/stock, gst in storeMaster, paginated stock  
37204 1 d 0 h amit /trunk/profitmandi-dao/src/ external api v2: category spec + client category entities, cached category exposure, title util, item.brand_identifier, ContentPojo categoryId/categorySpecs  
37202 1 d 1 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/user/ Fix partner password reset: partners live in user.user (id=fofoId), use userUserRepository not dtr.users (was causing 400)  
37194 4 d 19 h aman /trunk/ LOI OTP: report real send outcome instead of always 'OTP Sent Successfully!'

The Send OTP button showed success for any HTTP 200, including the daily-cap
failure where the controller returned 'Something went wrong..'. Ops could not
tell a working send from a broken one, so genuine failures were invisible.

- OTPResponse: add 'sent' flag. result=true did not mean anything was
dispatched - the 2-minute resend throttle returns the previous OTP without
contacting the gateway.
- OtpProcessor: set sent=true only on branches that actually dispatch.
- LoiFormController.sentLoiAcceptanceOtp: return {status, sent, message} with
the processor's real reason, wrap generateOtp in try/catch so a dispatch
exception is logged and reported instead of surfacing as a generic 500, and
log loiId/result/sent/reason.
- loi-form.js: check the payload; distinct green/amber/red states, re-enable
the button on failure instead of leaving it stuck on 'Sending...'.
- common.js: optional error callback on doAjaxRequestHandler /
doPostAjaxRequestHandler (additive; existing callers unchanged).
- AppConfig: static resource version 389 -> 390 for the JS change.
 
37181 5 d 21 h amit /trunk/profitmandi-dao/src/ PJP agenda rules: revival suppression moved to display layer (filterVisibleForVisit); AgendaType gains hasAutoRule (auto agendas not manual-assignable)  
37180 5 d 21 h amit /trunk/profitmandi-dao/src/ PJP agenda rules: REVIVAL suppresses all data-driven agendas except CREDIT_DUES  

Show All