<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SmartDukaan &#x2013; //trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/fofo-kyc-row.vm</title><description>WebSVN RSS feed &#x2013; SmartDukaan</description><lastBuildDate>Fri, 09 Oct 2026 17:42:53 +0530</lastBuildDate><generator>WebSVN 2.8.6-DEV</generator><language>en</language><link>https://svn.smartdukaan.com/log.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Fviews%2Fftl%2Ffofo-kyc-row.vm&amp;max=40&amp;</link><atom:link href="https://svn.smartdukaan.com/rss.php?path=%2F%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Fviews%2Fftl%2Ffofo-kyc-row.vm&amp;repname=SmartDukaan" rel="self" type="application/rss+xml" />
<item><pubDate>Sat, 29 Aug 2026 07:49:43 +0530</pubDate><dc:creator>amit</dc:creator><title>Rev 37457 – Lock the KYC state to the GSTIN on the LOI ...</title><description>&lt;div&gt;&lt;strong&gt;amit – 4 file(s) modified&lt;/strong&gt;&lt;br/&gt;Lock the KYC state to the GSTIN on the LOI&lt;br /&gt;
&lt;br /&gt;
The LOI already captures and validates a GSTIN, and the first two characters of a&lt;br /&gt;
GSTIN are its GST state code - so once the LOI exists the KYC state is a fact&lt;br /&gt;
about that number, not something to re-type. When one is present the state&lt;br /&gt;
dropdown is prefilled from it and locked; otherwise it stays a normal&lt;br /&gt;
master-backed select.&lt;br /&gt;
&lt;br /&gt;
Derived from the GSTIN rather than loi_form.gstState: that column is typed by&lt;br /&gt;
hand and holds values like &apos;UP&apos;, &apos;UTTAR PARDESH&apos; and &apos;MADHAY PARDESH&apos; which&lt;br /&gt;
resolve against nothing, and it is blank on 3 rows. Checked against prod - all&lt;br /&gt;
693 GSTINs on record are 15 characters and every one resolves through&lt;br /&gt;
statemaster.stateCode, and in all 14 rows where the two disagree the GSTIN is&lt;br /&gt;
right and the typed value is wrong or empty.&lt;br /&gt;
&lt;br /&gt;
The lock is per row, not per page: the KYC screens list many onboardings, so the&lt;br /&gt;
derived state is passed as a map keyed by onboarding id. Blank rows carry their&lt;br /&gt;
onboarding id so a new KYC entry is locked too, which is the case that matters.&lt;br /&gt;
&lt;br /&gt;
data-gst-locked keeps the row&apos;s dblclick edit toggle from re-enabling the field;&lt;br /&gt;
the value still submits because the JS reads it explicitly with .val().&lt;/div&gt;~ /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/PartnerOnBoardingPanelController.java&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/resources/js/panel-listing.js&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/fofo-kyc-row.vm&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/legal-kyc-row.vm&lt;br /&gt;</description><link>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Fviews%2Fftl%2Ffofo-kyc-row.vm&amp;rev=37457</link><guid>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Fviews%2Fftl%2Ffofo-kyc-row.vm&amp;rev=37457</guid></item>
<item><pubDate>Sat, 29 Aug 2026 07:31:14 +0530</pubDate><dc:creator>amit</dc:creator><title>Rev 37455 – Make the KYC state a master-backed dropdown instead of free ...</title><description>&lt;div&gt;&lt;strong&gt;amit – 5 file(s) modified&lt;/strong&gt;&lt;br/&gt;Make the KYC state a master-backed dropdown instead of free text&lt;br /&gt;
&lt;br /&gt;
fofo-kyc-row.vm and legal-kyc-row.vm captured state as a free-text input, so&lt;br /&gt;
nothing stopped a spelling the master does not hold. That state is resolved back&lt;br /&gt;
through inventory.statemaster by name later, and an unresolvable one cannot be&lt;br /&gt;
turned into a state code. Both now render a $stateNames select, and all five&lt;br /&gt;
render paths in PartnerOnBoardingPanelController supply the list.&lt;br /&gt;
&lt;br /&gt;
panel-listing.js reads these fields positionally, by td index and&lt;br /&gt;
input[type=&apos;text&apos;]. A select does not match that selector, so the value would&lt;br /&gt;
have come back undefined and KYC would have saved a blank state silently -&lt;br /&gt;
both selectors now target the select. Row editing is unaffected: the enable&lt;br /&gt;
toggle uses :input, which covers select.&lt;br /&gt;
&lt;br /&gt;
Bump the asset version for the panel-listing.js change.&lt;/div&gt;~ /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/config/AppConfig.java&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/PartnerOnBoardingPanelController.java&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/resources/js/panel-listing.js&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/fofo-kyc-row.vm&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/legal-kyc-row.vm&lt;br /&gt;</description><link>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Fviews%2Fftl%2Ffofo-kyc-row.vm&amp;rev=37455</link><guid>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Fviews%2Fftl%2Ffofo-kyc-row.vm&amp;rev=37455</guid></item>
<item><pubDate>Tue, 04 Jan 2022 11:58:33 +0530</pubDate><dc:creator>tejbeer</dc:creator><title>Rev 29774 – </title><description>&lt;div&gt;&lt;strong&gt;tejbeer – 6 file(s) modified&lt;/strong&gt;&lt;br/&gt;&lt;/div&gt;~ /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/FofoKycModel.java&lt;br /&gt;~ /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/fofo/FofoKyc.java&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/PartnerOnBoardingPanelController.java&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/resources/js/panel-listing.js&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/fofo-kyc-row.vm&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/fofo-kyc.vm&lt;br /&gt;</description><link>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Fviews%2Fftl%2Ffofo-kyc-row.vm&amp;rev=29774</link><guid>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Fviews%2Fftl%2Ffofo-kyc-row.vm&amp;rev=29774</guid></item>
<item><pubDate>Mon, 03 Jan 2022 12:42:06 +0530</pubDate><dc:creator>tejbeer</dc:creator><title>Rev 29763 – kyc change</title><description>&lt;div&gt;&lt;strong&gt;tejbeer – 16 file(s) modified&lt;/strong&gt;&lt;br/&gt;kyc change&lt;/div&gt;+ /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/enumuration/BusinessType.java&lt;br /&gt;~ /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/CreatePartnerOnBoardingPanel.java&lt;br /&gt;+ /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/FofoKycModel.java&lt;br /&gt;+ /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/services/mandii/AddressProofType.java&lt;br /&gt;+ /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/fofo/FofoKyc.java&lt;br /&gt;~ /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/fofo/PartnerOnBoardingPanel.java&lt;br /&gt;+ /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/user/FofoKycRepository.java&lt;br /&gt;+ /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/user/FofoKycRepositoryImpl.java&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/PartnerOnBoardingPanelController.java&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/resources/js/panel-listing.js&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/resources/js/partner-dealer-mapping.js&lt;br /&gt;+ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/fofo-kyc-row.vm&lt;br /&gt;+ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/fofo-kyc.vm&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/onboarding_timeline.vm&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/partner-onboarding-legal-index.vm&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/partner-onboarding-legal-row-index.vm&lt;br /&gt;</description><link>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Fviews%2Fftl%2Ffofo-kyc-row.vm&amp;rev=29763</link><guid>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2F%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fwebapp%2FWEB-INF%2Fviews%2Fftl%2Ffofo-kyc-row.vm&amp;rev=29763</guid></item>
</channel></rss>