Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37671 6 h 44 m ranu /trunk/ loi revival process modify  
37663 23 h 57 m vikas /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Added exception to method sign  
37660 1 d 0 h ranu /trunk/ ticket download option given and some enhancement on notification panel  
37632 2 d 4 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 2 d 5 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 14 d 17 h ranu /trunk/ loi process added, revival and code changes process  
37516 15 d 23 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ pending loi download access given to raj singh  
37262 41 d 1 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ commit for loi form  
37243 42 d 23 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ state head should be l4 and l5  
37194 48 d 0 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 90 d 5 h ranu /trunk/profitmandi-fofo/src/main/ kamini mam access issue on pending loi  
36872 90 d 5 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ tech access to rudy  
36401 143 d 3 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Replace mailSender (SendGrid) with gmailRelaySender - SendGrid API key expired/revoked  
35971 191 d 23 h aman /trunk/ Feat : Loi 2.0 Enhancement and redesigning  
35754 217 d 0 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed selectById issue  
35169 342 d 0 h aman /trunk/ FIx: Date time formatter fix in scheme-imei-history  
35038 364 d 23 h aman /trunk/ LOI AUDIT  
34947 379 d 1 h aman /trunk/ Feat:Affiliate Kyc  
34739 443 d 3 h aman.kumar /trunk/ Delete option in loiFeeCollection  
34310 548 d 4 h tejus.lohani /trunk/ address enter manually if gst api not working  
34195 582 d 0 h tejus.lohani /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Add HUF option in businessType  
34149 604 d 1 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 618 d 1 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 628 d 4 h tejus.lohani /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ fix some bugs  
34085 628 d 23 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 653 d 3 h tejus.lohani /trunk/profitmandi-fofo/src/main/ gst status alert ,active or not  
33885 695 d 0 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 699 d 3 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 709 d 7 h tejus.lohani /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ remove check loi completion at loi approval method  
33850 710 d 5 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 711 d 19 h tejus.lohani /trunk/ fix bm approval flow - loi generate after approval  
33845 712 d 4 h tejus.lohani /trunk/ new flow of Onboarding process and wod-fin report ,  
33782 728 d 6 h ranu /trunk/ loi form controller change brand fee update  
33747 738 d 16 h tejus.lohani /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ change brand name Mi to Xiaomi in BrandList  
33711 750 d 22 h tejus.lohani /trunk/ give cancellation option in loi form and status field in Excel report  
33710 751 d 2 h tejus.lohani /trunk/ Skip manual create Onboarding form function and give feature of alter agreed brand fee for special scenario  
33658 770 d 7 h tejus.lohani /trunk/ implement loi update feature and payment update feature , improve code , fix some bugs ,  
33630 779 d 23 h tejus.lohani /trunk/profitmandi-fofo/src/main/ add filledBy name instead of referBy  
33624 782 d 23 h tejus.lohani /trunk/ add SD GUIDE on partner dashboard and add some validation in loiForm like age(age>18 years) and collected brand fee (add payment below or same as Agreed brand fee) , and provide filled By name on completed-loi-form panel  
33617 783 d 22 h tejus.lohani /trunk/ develop document rejection mail , Add automailer when LoiForm complete and go to further process , create LoiForm report , for mail and download ,Payment status mail when payment accesp or reject ,