if(R.isNil(this.state.getTypeId))returnalert("Tipe Persetujuan is Required.");
if(R.isNil(this.state.getTypes))returnalert("Tipe Persetujuan is Required.");
if(R.isEmpty(this.state.order))returnalert("Order is Required.");
if(R.isEmpty(this.state.order))returnalert("Order is Required.");
if(R.isNil(this.state.getUserId))returnalert("Pemberi Persetujuan is Required.");
if(R.isNil(this.state.getApprovedBy))returnalert("Pemberi Persetujuan is Required.");
if(R.isNil(this.state.getOperatorId))returnalert("Operator is Required.");
if(R.isNil(this.state.getOperators))returnalert("Operator is Required.");
if(!R.isEmpty(this.state.startDate)&&!R.isEmpty(this.state.endDate)&&(this.state.startDate>this.state.endDate))returnalert("Masa Berlaku Tidak Boleh Kurang Dari Tanggal Mulai");
if(!R.isEmpty(this.state.startDate)&&!R.isEmpty(this.state.endDate)&&(this.state.startDate>this.state.endDate))returnalert("Masa Berlaku Tidak Boleh Kurang Dari Tanggal Mulai");
if(R.isEmpty(this.state.startDate))returnalert("Tanggal Mulai is Required.");
if(R.isEmpty(this.state.startDate))returnalert("Tanggal Mulai is Required.");
if(R.isEmpty(this.state.endDate))returnalert("Tanggal Berakhir is Required.");
if(R.isEmpty(this.state.endDate))returnalert("Tanggal Berakhir is Required.");