|  | @@ -125,77 +125,75 @@ class DetailKeberatan extends Component {
 | 
	
		
			
				|  |  |  							<Card className="card-default">
 | 
	
		
			
				|  |  |  								<CardBody>
 | 
	
		
			
				|  |  |  									<Row>
 | 
	
		
			
				|  |  | -										<Col lg={6}>
 | 
	
		
			
				|  |  | +										<Col lg={12}>
 | 
	
		
			
				|  |  |  											<DetailSanksi data={sanksi.data[0]} />
 | 
	
		
			
				|  |  |  										</Col>
 | 
	
		
			
				|  |  | -										<Col lg={6}>
 | 
	
		
			
				|  |  | -											<Row>
 | 
	
		
			
				|  |  | -												<Col>
 | 
	
		
			
				|  |  | -													<PermohonanPT data={sanksi.data[0]} />
 | 
	
		
			
				|  |  | -												</Col>
 | 
	
		
			
				|  |  | -											</Row>
 | 
	
		
			
				|  |  | -											<Row>
 | 
	
		
			
				|  |  | -												<Col>
 | 
	
		
			
				|  |  | -													<p className="lead bb">Jawaban</p>
 | 
	
		
			
				|  |  | -													<form className="form-horizontal" method="get" action="/" onSubmit={this.onSubmit}>
 | 
	
		
			
				|  |  | -														<FormGroup>
 | 
	
		
			
				|  |  | -															<label className="row-form-label">Status:</label>
 | 
	
		
			
				|  |  | -															<div className="row-md-10">
 | 
	
		
			
				|  |  | -																<Select
 | 
	
		
			
				|  |  | -																	instanceId={selectInstanceId + 1}
 | 
	
		
			
				|  |  | -																	value={this.state.selectedOption}
 | 
	
		
			
				|  |  | -																	onChange={this.handleChangeSelect}
 | 
	
		
			
				|  |  | -																	options={[
 | 
	
		
			
				|  |  | -																		{ value: "ditolak", label: "Ditolak", className: "State-ACT" },
 | 
	
		
			
				|  |  | -																		{ value: "mengubah sanksi", label: "Mengubah Sanksi", className: "State-ACT" },
 | 
	
		
			
				|  |  | -																		{ value: "mencabut sanksi", label: "Mencabut Sanksi", className: "State-ACT" },
 | 
	
		
			
				|  |  | -																	]}
 | 
	
		
			
				|  |  | -																	required
 | 
	
		
			
				|  |  | -																/>
 | 
	
		
			
				|  |  | -																{/* <span className="form-text">Pilih Jenis Pelanggaran</span> */}
 | 
	
		
			
				|  |  | -															</div>
 | 
	
		
			
				|  |  | -														</FormGroup>
 | 
	
		
			
				|  |  | -														<FormGroup>
 | 
	
		
			
				|  |  | -															<label className="row-form-label">Keterangan Jawaban:</label>
 | 
	
		
			
				|  |  | -															<div className="row-md-10">
 | 
	
		
			
				|  |  | -																<Input type="textarea" value={this.state.keterangan} onChange={(e) => this.setState({ keterangan: e.target.value })} required />
 | 
	
		
			
				|  |  | -																{/* <span className="form-text">Deskripsi pelaporan minimum karakter 50 maksimum 200 karakter</span> */}
 | 
	
		
			
				|  |  | -															</div>
 | 
	
		
			
				|  |  | -														</FormGroup>
 | 
	
		
			
				|  |  | -														<FormGroup>
 | 
	
		
			
				|  |  | -															<label className="row-form-label">Dokumen Jawaban:</label>
 | 
	
		
			
				|  |  | -															<div className="row-md-10">
 | 
	
		
			
				|  |  | -																<DropzoneWrapper className="" onDrop={this.onDrop}>
 | 
	
		
			
				|  |  | -																	{({ getRootProps, getInputProps, isDragActive }) => {
 | 
	
		
			
				|  |  | -																		return (
 | 
	
		
			
				|  |  | -																			<div {...getRootProps()} className={"dropzone card p-3 " + (isDragActive ? "dropzone-drag-active" : "")}>
 | 
	
		
			
				|  |  | -																				<input {...getInputProps()} />
 | 
	
		
			
				|  |  | -																				<div className="dropzone-previews flex">
 | 
	
		
			
				|  |  | -																					{this.state.files.length > 0 ? <Row>{thumbs}</Row> : <div className="text-center dz-default dz-message">Drop files here to upload</div>}
 | 
	
		
			
				|  |  | -																				</div>
 | 
	
		
			
				|  |  | -																				<div className="d-flex align-items-center">
 | 
	
		
			
				|  |  | -																					<small className="ml-auto">
 | 
	
		
			
				|  |  | -																						<button type="button" className="btn btn-link" onClick={this.clearFiles}>
 | 
	
		
			
				|  |  | -																							Clear files
 | 
	
		
			
				|  |  | -																						</button>
 | 
	
		
			
				|  |  | -																					</small>
 | 
	
		
			
				|  |  | -																				</div>
 | 
	
		
			
				|  |  | -																			</div>
 | 
	
		
			
				|  |  | -																		);
 | 
	
		
			
				|  |  | -																	}}
 | 
	
		
			
				|  |  | -																</DropzoneWrapper>
 | 
	
		
			
				|  |  | -															</div>
 | 
	
		
			
				|  |  | -														</FormGroup>
 | 
	
		
			
				|  |  | -														<FormGroup>
 | 
	
		
			
				|  |  | -															<div className="row-xl-10">
 | 
	
		
			
				|  |  | -																<Button color="primary" onClick={this.handelSimpan} type="submit">
 | 
	
		
			
				|  |  | -																	Simpan
 | 
	
		
			
				|  |  | -																</Button>
 | 
	
		
			
				|  |  | -															</div>
 | 
	
		
			
				|  |  | -														</FormGroup>
 | 
	
		
			
				|  |  | -													</form>
 | 
	
		
			
				|  |  | -												</Col>
 | 
	
		
			
				|  |  | -											</Row>
 | 
	
		
			
				|  |  | +									</Row>
 | 
	
		
			
				|  |  | +									<Row>
 | 
	
		
			
				|  |  | +										<Col lg={12}>
 | 
	
		
			
				|  |  | +											<PermohonanPT data={sanksi.data[0]} />
 | 
	
		
			
				|  |  | +										</Col>
 | 
	
		
			
				|  |  | +									</Row>
 | 
	
		
			
				|  |  | +									<Row>
 | 
	
		
			
				|  |  | +										<Col lg={12}>
 | 
	
		
			
				|  |  | +											<p className="lead bb">Jawaban</p>
 | 
	
		
			
				|  |  | +											<form className="form-horizontal" method="get" action="/" onSubmit={this.onSubmit}>
 | 
	
		
			
				|  |  | +												<FormGroup>
 | 
	
		
			
				|  |  | +													<label className="row-form-label">Status:</label>
 | 
	
		
			
				|  |  | +													<div className="row-md-10">
 | 
	
		
			
				|  |  | +														<Select
 | 
	
		
			
				|  |  | +															instanceId={selectInstanceId + 1}
 | 
	
		
			
				|  |  | +															value={this.state.selectedOption}
 | 
	
		
			
				|  |  | +															onChange={this.handleChangeSelect}
 | 
	
		
			
				|  |  | +															options={[
 | 
	
		
			
				|  |  | +																{ value: "ditolak", label: "Ditolak", className: "State-ACT" },
 | 
	
		
			
				|  |  | +																{ value: "mengubah sanksi", label: "Mengubah Sanksi", className: "State-ACT" },
 | 
	
		
			
				|  |  | +																{ value: "mencabut sanksi", label: "Mencabut Sanksi", className: "State-ACT" },
 | 
	
		
			
				|  |  | +															]}
 | 
	
		
			
				|  |  | +															required
 | 
	
		
			
				|  |  | +														/>
 | 
	
		
			
				|  |  | +														{/* <span className="form-text">Pilih Jenis Pelanggaran</span> */}
 | 
	
		
			
				|  |  | +													</div>
 | 
	
		
			
				|  |  | +												</FormGroup>
 | 
	
		
			
				|  |  | +												<FormGroup>
 | 
	
		
			
				|  |  | +													<label className="row-form-label">Keterangan Jawaban:</label>
 | 
	
		
			
				|  |  | +													<div className="row-md-10">
 | 
	
		
			
				|  |  | +														<Input type="textarea" value={this.state.keterangan} onChange={(e) => this.setState({ keterangan: e.target.value })} required />
 | 
	
		
			
				|  |  | +														{/* <span className="form-text">Deskripsi pelaporan minimum karakter 50 maksimum 200 karakter</span> */}
 | 
	
		
			
				|  |  | +													</div>
 | 
	
		
			
				|  |  | +												</FormGroup>
 | 
	
		
			
				|  |  | +												<FormGroup>
 | 
	
		
			
				|  |  | +													<label className="row-form-label">Dokumen Jawaban:</label>
 | 
	
		
			
				|  |  | +													<div className="row-md-10">
 | 
	
		
			
				|  |  | +														<DropzoneWrapper className="" onDrop={this.onDrop}>
 | 
	
		
			
				|  |  | +															{({ getRootProps, getInputProps, isDragActive }) => {
 | 
	
		
			
				|  |  | +																return (
 | 
	
		
			
				|  |  | +																	<div {...getRootProps()} className={"dropzone card p-3 " + (isDragActive ? "dropzone-drag-active" : "")}>
 | 
	
		
			
				|  |  | +																		<input {...getInputProps()} />
 | 
	
		
			
				|  |  | +																		<div className="dropzone-previews flex">
 | 
	
		
			
				|  |  | +																			{this.state.files.length > 0 ? <Row>{thumbs}</Row> : <div className="text-center dz-default dz-message">Drop files here to upload</div>}
 | 
	
		
			
				|  |  | +																		</div>
 | 
	
		
			
				|  |  | +																		<div className="d-flex align-items-center">
 | 
	
		
			
				|  |  | +																			<small className="ml-auto">
 | 
	
		
			
				|  |  | +																				<button type="button" className="btn btn-link" onClick={this.clearFiles}>
 | 
	
		
			
				|  |  | +																					Clear files
 | 
	
		
			
				|  |  | +																				</button>
 | 
	
		
			
				|  |  | +																			</small>
 | 
	
		
			
				|  |  | +																		</div>
 | 
	
		
			
				|  |  | +																	</div>
 | 
	
		
			
				|  |  | +																);
 | 
	
		
			
				|  |  | +															}}
 | 
	
		
			
				|  |  | +														</DropzoneWrapper>
 | 
	
		
			
				|  |  | +													</div>
 | 
	
		
			
				|  |  | +												</FormGroup>
 | 
	
		
			
				|  |  | +												{/* <FormGroup>
 | 
	
		
			
				|  |  | +													<div className="row-xl-10"> */}
 | 
	
		
			
				|  |  | +												<Button color="primary" onClick={this.handelSimpan} type="submit">
 | 
	
		
			
				|  |  | +													Simpan
 | 
	
		
			
				|  |  | +												</Button>
 | 
	
		
			
				|  |  | +												{/* </div>
 | 
	
		
			
				|  |  | +												</FormGroup> */}
 | 
	
		
			
				|  |  | +											</form>
 | 
	
		
			
				|  |  |  										</Col>
 | 
	
		
			
				|  |  |  									</Row>
 | 
	
		
			
				|  |  |  								</CardBody>
 |