Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37457 39 d 0 h amit /trunk/profitmandi-fofo/src/main/ Lock the KYC state to the GSTIN on the LOI

The LOI already captures and validates a GSTIN, and the first two characters of a
GSTIN are its GST state code - so once the LOI exists the KYC state is a fact
about that number, not something to re-type. When one is present the state
dropdown is prefilled from it and locked; otherwise it stays a normal
master-backed select.

Derived from the GSTIN rather than loi_form.gstState: that column is typed by
hand and holds values like 'UP', 'UTTAR PARDESH' and 'MADHAY PARDESH' which
resolve against nothing, and it is blank on 3 rows. Checked against prod - all
693 GSTINs on record are 15 characters and every one resolves through
statemaster.stateCode, and in all 14 rows where the two disagree the GSTIN is
right and the typed value is wrong or empty.

The lock is per row, not per page: the KYC screens list many onboardings, so the
derived state is passed as a map keyed by onboarding id. Blank rows carry their
onboarding id so a new KYC entry is locked too, which is the case that matters.

data-gst-locked keeps the row's dblclick edit toggle from re-enabling the field;
the value still submits because the JS reads it explicitly with .val().
 
37455 39 d 0 h amit /trunk/profitmandi-fofo/src/main/ Make the KYC state a master-backed dropdown instead of free text

fofo-kyc-row.vm and legal-kyc-row.vm captured state as a free-text input, so
nothing stopped a spelling the master does not hold. That state is resolved back
through inventory.statemaster by name later, and an unresolvable one cannot be
turned into a state code. Both now render a $stateNames select, and all five
render paths in PartnerOnBoardingPanelController supply the list.

panel-listing.js reads these fields positionally, by td index and
input[type='text']. A select does not match that selector, so the value would
have come back undefined and KYC would have saved a blank state silently -
both selectors now target the select. Row editing is unaffected: the enable
toggle uses :input, which covers select.

Bump the asset version for the panel-listing.js change.
 
37264 58 d 14 h ranu /trunk/ rbm assignement event and new edm mail committed  
37110 82 d 15 h aman /trunk/ Business-agreement e-sign gate between Full Stock Payment and PO creation

New AGREEMENT_ESIGN onboarding stage, verified by Legal (Gaurav Sharma):
- Hard-blocks first PO creation until the e-sign is verified (BulkOrderService),
mirroring the existing Full Stock Payment block.
- Agreement E-Sign panel (Partner Acquisition menu) listing FSP-done partners who
have not yet created their first PO: upload signed agreement + Gaurav-only verify.
- New agreement_esign table/entity + repository for the signed doc and audit trail.
- Timeline grid column + stepper stage for the new event.

Prod DB (separate, with sign-off): CREATE TABLE user.agreement_esign;
INSERT auth.menu + auth.menu_category rows for the panel.
 
35971 211 d 12 h aman /trunk/ Feat : Loi 2.0 Enhancement and redesigning  
33891 712 d 21 h tejus.lohani /trunk/ Add to fetch and upload aadhar back for onboading , now need to upload aadhar back in loi form  
33882 715 d 19 h tejus.lohani /trunk/ upload noc fix  
33512 829 d 10 h tejus.lohani /trunk/profitmandi-fofo/src/main/webapp/resources/js/ These files are related to Loi form and LOI form data flow to the required tables  
32843 995 d 13 h shampa /trunk/profitmandi-fofo/src/main/ RBM editable field  
31730 1298 d 14 h tejbeer /trunk/ change  
31370 1376 d 16 h tejbeer /trunk/ lead and onboarding  
29887 1720 d 18 h tejbeer /trunk/profitmandi-fofo/src/main/ change  
29884 1720 d 19 h tejbeer /trunk/ chage  
29841 1729 d 14 h tejbeer /trunk/profitmandi-fofo/src/main/  
29794 1732 d 7 h tejbeer /trunk/ change  
29774 1736 d 20 h tejbeer /trunk/  
29763 1737 d 19 h tejbeer /trunk/ kyc change  
29559 1793 d 21 h manish /trunk/profitmandi-fofo/src/main/webapp/  
29300 1837 d 19 h manish /trunk/profitmandi-fofo/src/main/webapp/ commmit  
29088 1862 d 19 h tejbeer /trunk/profitmandi-fofo/src/main/ change  

Show All