Correct component for check_number in EditPaymentPane
This commit is contained in:
parent
f48b1d721b
commit
c50ed92a4f
1 changed files with 2 additions and 4 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue