Commit bebcb447 authored by fahrur huzain's avatar fahrur huzain

validasi convertable item report

parent 86518d13
......@@ -206,7 +206,7 @@ export default class CreateReportItems extends Component {
this.setState({ errorEndDate: true, msgErrorED: 'Valid To Cannot be Empty' })
}
else if (R.isNil(this.state.convertible)){
this.setState({ errorCovertible: true, msgErrorCovertible: 'Convetible Cannot be Empty' })
this.setState({ errorCovertible: true, msgErrorCovertible: 'Convertible Cannot be Empty' })
}
else {
this.addReportItems()
......
......@@ -178,7 +178,7 @@ export default class EditReportItems extends Component {
} else if (R.isNil(this.state.tempData.end_date)) {
this.setState({errorEndDate: true, msgErrorED: 'Valid To Cannot be Empty'})
} else if (R.isNil(this.state.convertible)) {
this.setState({errorCovertible: true, msgErrorCovertible: 'Convetible Cannot be Empty' })
this.setState({errorCovertible: true, msgErrorCovertible: 'Convertible Cannot be Empty' })
} else {
this.updateReportItems()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment