Subversion Repositories SmartDukaan

Rev

Rev 29886 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 29886 Rev 37455
Line 337... Line 337...
337
	               name="city">
337
	               name="city">
338
	    </td>
338
	    </td>
339
	#end
339
	#end
340
	
340
	
341
		
341
		
-
 
342
    ## State is picked from inventory.statemaster, never typed: the value is resolved back
-
 
343
    ## through that master by name when the partner is invoiced, so a free-typed spelling
-
 
344
    ## produced a KYC record whose state could not be resolved.
342
    #if($fofoKyc.getState())
345
    #if($fofoKyc.getState())
343
    <td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="text" placeholder="State" disabled
346
    <td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><select name="state" disabled>
-
 
347
	               <option value="">State</option>
-
 
348
	               #foreach($stateName in $stateNames)
-
 
349
	               <option value="$stateName" #if($fofoKyc.getState() == $stateName)selected#end>$stateName</option>
344
	               name="state"
350
	               #end
345
	               value="$fofoKyc.getState()"></td>
351
	               </select></td>
346
	#else
352
	#else
347
	    <td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="text" placeholder="State" disabled
353
	    <td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><select name="state" disabled>
-
 
354
	               <option value="">State</option>
-
 
355
	               #foreach($stateName in $stateNames)
-
 
356
	               <option value="$stateName">$stateName</option>
-
 
357
	               #end
348
	               name="state">
358
	               </select>
349
	    </td>
359
	    </td>
350
	#end
360
	#end
351
	
361
	
352
		
362
		
353
    #if($fofoKyc.getPincode())
363
    #if($fofoKyc.getPincode())