mirror of
https://github.com/ascribe/onion.git
synced 2025-02-14 21:10:27 +01:00
Corrections on loan form
This commit is contained in:
parent
5b41e368ac
commit
5b9d7eae65
@ -107,7 +107,7 @@ let LoanForm = React.createClass({
|
|||||||
if (this.state.contractAgreementList && this.state.contractAgreementList.length > 0) {
|
if (this.state.contractAgreementList && this.state.contractAgreementList.length > 0) {
|
||||||
return {'contract_agreement_id': this.state.contractAgreementList[0].id};
|
return {'contract_agreement_id': this.state.contractAgreementList[0].id};
|
||||||
}
|
}
|
||||||
return null;
|
return {};
|
||||||
},
|
},
|
||||||
|
|
||||||
getContractCheckbox() {
|
getContractCheckbox() {
|
||||||
@ -122,6 +122,7 @@ let LoanForm = React.createClass({
|
|||||||
return (
|
return (
|
||||||
<Property
|
<Property
|
||||||
name="terms"
|
name="terms"
|
||||||
|
label={getLangText('Loan Contract')}
|
||||||
hidden={false}
|
hidden={false}
|
||||||
className="notification-contract-pdf">
|
className="notification-contract-pdf">
|
||||||
<embed
|
<embed
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
||||||
.loan-form {
|
.loan-form {
|
||||||
|
margin-top: .5em;
|
||||||
height: 45vh;
|
height: 45vh;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user