Commit b2aa6b22 authored by Rifka Kurnia Irfiana's avatar Rifka Kurnia Irfiana

Merge branch 'master' of http://103.44.149.204/d.arizona/tia-dev into rifka

parents d14f84df 6ea8906c
...@@ -374,7 +374,7 @@ export default class CreatePerusahaan extends Component { ...@@ -374,7 +374,7 @@ export default class CreatePerusahaan extends Component {
margin="normal" margin="normal"
id="startDate" id="startDate"
label="Valid From" label="Valid From"
format="dd MMMM yyyy" format="dd-MM-yyyy"
value={this.state.startDate} value={this.state.startDate}
onChange={(e) => this.handleChange(e, 'start_date')} onChange={(e) => this.handleChange(e, 'start_date')}
KeyboardButtonProps={{ KeyboardButtonProps={{
...@@ -477,7 +477,7 @@ export default class CreatePerusahaan extends Component { ...@@ -477,7 +477,7 @@ export default class CreatePerusahaan extends Component {
margin="normal" margin="normal"
id="endDate" id="endDate"
label="Valid To" label="Valid To"
format="dd MMMM yyyy" format="dd-MM-yyyy"
value={this.state.endDate} value={this.state.endDate}
minDate={this.state.startDate} minDate={this.state.startDate}
onChange={(e) => this.handleChange(e, 'end_date')} onChange={(e) => this.handleChange(e, 'end_date')}
...@@ -600,7 +600,7 @@ export default class CreatePerusahaan extends Component { ...@@ -600,7 +600,7 @@ export default class CreatePerusahaan extends Component {
margin="normal" margin="normal"
id="startDate" id="startDate"
label="Valid From" label="Valid From"
format="dd MMMM yyyy" format="dd-MM-yyyy"
value={this.state.startDate == "" ? null : this.state.startDate} value={this.state.startDate == "" ? null : this.state.startDate}
onChange={(e) => this.handleChange(e, 'start_date')} onChange={(e) => this.handleChange(e, 'start_date')}
KeyboardButtonProps={{ KeyboardButtonProps={{
...@@ -696,7 +696,7 @@ export default class CreatePerusahaan extends Component { ...@@ -696,7 +696,7 @@ export default class CreatePerusahaan extends Component {
margin="normal" margin="normal"
id="endDate" id="endDate"
label="Valid To" label="Valid To"
format="dd MMMM yyyy" format="dd-MM-yyyy"
error={this.state.errorED} error={this.state.errorED}
helperText={this.state.msgErrorED} helperText={this.state.msgErrorED}
minDate={this.state.startDate} minDate={this.state.startDate}
......
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