Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37849 1 d 5 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ offer-radar notification commit  
37843 1 d 5 h ranu /trunk/ revival process fix loi  
37819 6 d 5 h amit /trunk/profitmandi-fofo/src/main/ feat(loi): allow all Accounts users (L1-L4) to download Pending LOI Forms report  
37815 6 d 8 h amit /trunk/profitmandi-fofo/src/main/ feat(loi): allow Finance L1 (Accounts) to download Pending LOI Forms report  
37671 19 d 12 h ranu /trunk/ loi revival process modify  
37663 20 d 5 h vikas /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Added exception to method sign  
37660 20 d 6 h ranu /trunk/ ticket download option given and some enhancement on notification panel  
37632 21 d 10 h aman /trunk/ fix(loi): don't leave an LOI half signed when the signed PDF fails to save

Confirm Sign stores the partner OTP (/validateLoiOtp) before the browser builds and uploads the
signed PDF (/saveLoiDoc). When that second step failed - html2pdf not loaded from cdnjs, upload
rejected, tab closed, server error - nothing was shown, no LOI mail went out, no onboarding was
created, and because loiOtpPresent hid Generate LOI the filler could never re-sign (LOI 734).

- pendingFormList: loiOtpPresent only when OTP AND loiDoc are both saved; new loiSignIncomplete
flag shows a red "signed LOI not saved" note on the Pending LOI list (web + V2 app).
- loi-form.js Confirm Sign: every failure after the OTP says the LOI was NOT saved and how to
retry; checks html2pdf is loaded; success alert only after /saveLoiDoc confirms; no double submit.
- /saveLoiDoc (fofo + V2): refuses a document without a verified OTP; a repeat call for an
already saved LOI is a no-op (no second mail / completion).
- /validateLoiOtp (fofo + V2): clear message when no OTP was sent in 24h; reports the real
rejection reason (e.g. OTP already used) instead of always "wrong".
- sendSignedLoiPdfToPartner: filler without a manager no longer throws and rolls back the save.
- OtpProcessor.generateOtp: never hands back an already verified OTP under the 2-minute throttle.
- AppConfig version 423 for loi-form.js.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RhJD2sc6pf3Zd7f4hyGxhH
 
37630 21 d 11 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/ feat(mail): wire inactive-recipient filter and clean hardcoded addresses

Wire MailRecipientFilter into googleMailSender and gmailRelaySender. Remove inactive/unknown addresses from recipient and access lists, bulk uploader gate to akhil.kumar.
 
37523 33 d 23 h ranu /trunk/ loi process added, revival and code changes process  
37516 35 d 5 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ pending loi download access given to raj singh  
37262 60 d 7 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ commit for loi form  
37243 62 d 5 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ state head should be l4 and l5  
37194 67 d 6 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.
 
36873 109 d 11 h ranu /trunk/profitmandi-fofo/src/main/ kamini mam access issue on pending loi  
36872 109 d 11 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ tech access to rudy  
36401 162 d 9 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Replace mailSender (SendGrid) with gmailRelaySender - SendGrid API key expired/revoked  
35971 211 d 5 h aman /trunk/ Feat : Loi 2.0 Enhancement and redesigning  
35754 236 d 6 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed selectById issue  
35169 361 d 6 h aman /trunk/ FIx: Date time formatter fix in scheme-imei-history  
35038 384 d 5 h aman /trunk/ LOI AUDIT  
34947 398 d 7 h aman /trunk/ Feat:Affiliate Kyc  
34739 462 d 9 h aman.kumar /trunk/ Delete option in loiFeeCollection  
34310 567 d 10 h tejus.lohani /trunk/ address enter manually if gst api not working  
34195 601 d 6 h tejus.lohani /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Add HUF option in businessType  
34149 623 d 7 h tejus.lohani /trunk/ New panel for partner Brand commitments , add commitment , update commitment and view partner commitments, Now in DMS code panel team only view commitment instead of update mean it read only  
34107 637 d 7 h tejus.lohani /trunk/ TECH-655,Add Two field in Onboarding form(loi form), 1.State Head , 2. SM and map these to field with Partner Onboarding panel , so that it automate in other related field  
34086 647 d 10 h tejus.lohani /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ fix some bugs  
34085 648 d 5 h tejus.lohani /trunk/ Store Potential must be greater than or equal to Wallet Value, Loi cancel button for HOD , change store type feature in pending loi form ,data table in wod-fin-mapping,expose code in wod status in wod-fin-mapping,remove xiaomi brand in dms code panel and wod-fin mapping report  
34026 672 d 9 h tejus.lohani /trunk/profitmandi-fofo/src/main/ gst status alert ,active or not  
33885 714 d 6 h tejus.lohani /trunk/ all Active brand show in upload noc for do active/inactive and now loi -form filler can attach payment screenshot in 1st and further payment so that approver can see payment attachment  
33879 718 d 9 h tejus.lohani /trunk/ new verification process introduce and like two-step verification soft approve and then final approve and at the time of soft approval , approver need to upload required brand NOC or mark not receive/not required , In partner Acquisition option add one new panel add for NOC upload and soft approve  
33857 728 d 13 h tejus.lohani /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ remove check loi completion at loi approval method  
33850 729 d 11 h tejus.lohani /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ fix bm approval flow - loi generate after approval (), this is temporary commit  
33848 731 d 1 h tejus.lohani /trunk/ fix bm approval flow - loi generate after approval  
33845 731 d 11 h tejus.lohani /trunk/ new flow of Onboarding process and wod-fin report ,  
33782 747 d 13 h ranu /trunk/ loi form controller change brand fee update  
33747 757 d 22 h tejus.lohani /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ change brand name Mi to Xiaomi in BrandList  
33711 770 d 4 h tejus.lohani /trunk/ give cancellation option in loi form and status field in Excel report  
33710 770 d 8 h tejus.lohani /trunk/ Skip manual create Onboarding form function and give feature of alter agreed brand fee for special scenario