Subversion Repositories SmartDukaan

Rev

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

Rev 29774 Rev 37455
Line 282... Line 282...
282
	               name="city">
282
	               name="city">
283
	    </td>
283
	    </td>
284
	#end
284
	#end
285
	
285
	
286
		
286
		
-
 
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
-
 
289
    ## produced a KYC record whose state could not be resolved.
287
    #if($fofoKyc.getState())
290
    #if($fofoKyc.getState())
288
    <td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="text" placeholder="State" disabled
291
    <td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><select name="state" disabled>
-
 
292
	               <option value="">State</option>
-
 
293
	               #foreach($stateName in $stateNames)
-
 
294
	               <option value="$stateName" #if($fofoKyc.getState() == $stateName)selected#end>$stateName</option>
289
	               name="state"
295
	               #end
290
	               value="$fofoKyc.getState()"></td>
296
	               </select></td>
291
	#else
297
	#else
292
	    <td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="text" placeholder="State" disabled
298
	    <td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><select name="state" disabled>
-
 
299
	               <option value="">State</option>
-
 
300
	               #foreach($stateName in $stateNames)
-
 
301
	               <option value="$stateName">$stateName</option>
-
 
302
	               #end
293
	               name="state">
303
	               </select>
294
	    </td>
304
	    </td>
295
	#end
305
	#end
296
	
306
	
297
		
307
		
298
    #if($fofoKyc.getPincode())
308
    #if($fofoKyc.getPincode())