feat(aff): add internal contact field to aff request
All checks were successful
Deploy Production Server / if_merged (pull_request) Successful in 6m36s
All checks were successful
Deploy Production Server / if_merged (pull_request) Successful in 6m36s
This commit is contained in:
@@ -208,6 +208,7 @@ function AssoInfo({initData, needFile}) {
|
||||
const [rnaEnable, setRnaEnable] = useState(false)
|
||||
const [adresse, setAdresse] = useState(initData.address ? initData.address : "")
|
||||
const [saison, setSaison] = useState(initData.saison ? initData.saison : getSaison())
|
||||
const [contact, setContact] = useState(initData.contact ? initData.contact : "")
|
||||
|
||||
const fetchSiret = () => {
|
||||
if (siret.length < 14) {
|
||||
@@ -298,6 +299,15 @@ function AssoInfo({initData, needFile}) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="mb-3">
|
||||
<div className="input-group">
|
||||
<span className="input-group-text" id="basic-addon1">Contact administratif*</span>
|
||||
<input type="email" className="form-control" placeholder="Contact administratif" aria-label="Contact administratif"
|
||||
aria-describedby="basic-addon1"
|
||||
required value={contact} name="contact" onChange={e => setContact(e.target.value)}/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="mb-3">
|
||||
<div className="input-group">
|
||||
<label className="input-group-text" htmlFor="logo">Blason{needFile && "*"}</label>
|
||||
|
||||
@@ -180,6 +180,7 @@ function Content({data, refresh}) {
|
||||
<TextField type="number" name="siret" text="SIRET" value={data.siret} disabled={true}/>
|
||||
<TextField name="rna" text="RNA" value={data.rna} required={false}/>
|
||||
<TextField name="address" text="Adresse" value={data.address}/>
|
||||
<TextField name="contact" text="Contact administratif" value={data.contact}/>
|
||||
|
||||
<img
|
||||
src={`${vite_url}/api/affiliation/request/${data.id}/logo`}
|
||||
@@ -198,7 +199,7 @@ function Content({data, refresh}) {
|
||||
<label className="input-group-text" htmlFor="status">Status</label>
|
||||
<a href={`${vite_url}/api/affiliation/request/${data.id}/status`} target='_blank'>
|
||||
<button className="btn btn-outline-secondary" type="button" id="button-addon1"
|
||||
onClick={e => null}><FontAwesomeIcon icon={faFilePdf}></FontAwesomeIcon>
|
||||
onClick={_ => null}><FontAwesomeIcon icon={faFilePdf}></FontAwesomeIcon>
|
||||
</button>
|
||||
</a>
|
||||
<input type="file" className="form-control" id="status" name="status" accept=".pdf,.txt"/>
|
||||
|
||||
Reference in New Issue
Block a user