| Line 285... |
Line 285... |
| 285 |
|
285 |
|
| 286 |
|
286 |
|
| 287 |
## State is picked from inventory.statemaster, never typed: the value is resolved back
|
287 |
## State is picked from inventory.statemaster, never typed: the value is resolved back
|
| 288 |
## through that master by name when the partner is invoiced, so a free-typed spelling
|
288 |
## through that master by name when the partner is invoiced, so a free-typed spelling
|
| 289 |
## produced a KYC record whose state could not be resolved.
|
289 |
## produced a KYC record whose state could not be resolved.
|
| - |
|
290 |
## When the LOI holds a validated GSTIN the state is already settled - the first two
|
| - |
|
291 |
## digits of a GSTIN are its state code - so the field is locked to that value rather
|
| - |
|
292 |
## than re-asked. data-gst-locked keeps the row's edit toggle from re-enabling it.
|
| - |
|
293 |
#set($gstState = $gstStateMap.get($fofoKyc.getOnboardingId()))
|
| - |
|
294 |
#if($gstState && $gstState != "")
|
| - |
|
295 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><select name="state" disabled
|
| - |
|
296 |
data-gst-locked="true" title="From the GSTIN on the LOI">
|
| - |
|
297 |
<option value="$gstState" selected>$gstState</option>
|
| - |
|
298 |
</select></td>
|
| 290 |
#if($fofoKyc.getState())
|
299 |
#elseif($fofoKyc.getState())
|
| 291 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><select name="state" disabled>
|
300 |
<td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><select name="state" disabled>
|
| 292 |
<option value="">State</option>
|
301 |
<option value="">State</option>
|
| 293 |
#foreach($stateName in $stateNames)
|
302 |
#foreach($stateName in $stateNames)
|
| 294 |
<option value="$stateName" #if($fofoKyc.getState() == $stateName)selected#end>$stateName</option>
|
303 |
<option value="$stateName" #if($fofoKyc.getState() == $stateName)selected#end>$stateName</option>
|
| 295 |
#end
|
304 |
#end
|