mirror of
				https://github.com/aclindsa/moneygo.git
				synced 2025-11-03 18:13:27 -05:00 
			
		
		
		
	ofx import: Disable BankID field when importing as Credit Card
This commit is contained in:
		@@ -178,6 +178,7 @@ const AddEditAccountModal = React.createClass({
 | 
			
		||||
				</FormGroup>
 | 
			
		||||
			);
 | 
			
		||||
		}
 | 
			
		||||
		var bankIdDisabled = (this.state.ofxaccttype == "CC") ? true : false;
 | 
			
		||||
		return (
 | 
			
		||||
			<Modal show={this.props.show} onHide={this.handleCancel}>
 | 
			
		||||
				<Modal.Header closeButton>
 | 
			
		||||
@@ -278,6 +279,7 @@ const AddEditAccountModal = React.createClass({
 | 
			
		||||
						<Col componentClass={ControlLabel} xs={2}>{ofxBankIdName}</Col>
 | 
			
		||||
						<Col xs={10}>
 | 
			
		||||
						<FormControl type="text"
 | 
			
		||||
							disabled={bankIdDisabled}
 | 
			
		||||
							value={this.state.ofxbankid}
 | 
			
		||||
							onChange={this.handleChange}
 | 
			
		||||
							ref="ofxbankid"/>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user