Correct component for check_number in EditPaymentPane

This commit is contained in:
Eric Schultz 2018-10-02 14:20:51 -05:00
parent f48b1d721b
commit c50ed92a4f

View file

@ -339,10 +339,8 @@ class EditPaymentPane extends React.Component<EditPaymentPaneProps & InjectedInt
</table>;
let checkNumber = this.props.data.offsite_payment && this.props.data.offsite_payment.check_number ? <fieldset>
<label>Check or Payment Number/ID</label>
<input {...this.form.$('check_number').bind()}/>
</fieldset> : false;
let checkNumber = this.props.data.offsite_payment && this.props.data.offsite_payment.check_number ?
<BasicField field={this.form.$('check_number')} label={"Check or Payment Number/ID"}/> : false;
let offsitePayment = this.props.data.kind === "OffsitePayment" ? (<div>