Skip to content
Snippets Groups Projects
Commit 11859234 authored by Marlène SIMONDANT's avatar Marlène SIMONDANT
Browse files

refacto: remove remoteAccompaniment

parent 16e55b5d
No related branches found
No related tags found
2 merge requests!783V3.0.0,!760refacto: remove remoteAccompaniment
...@@ -36,7 +36,6 @@ export class Structure { ...@@ -36,7 +36,6 @@ export class Structure {
public contactPersonEmail: string = null; public contactPersonEmail: string = null;
public categories: Record<string, string[]>; public categories: Record<string, string[]>;
public categoriesDisplay: Record<string, Module[]>; public categoriesDisplay: Record<string, Module[]>;
public remoteAccompaniment: boolean = null;
public nbComputers: number = null; public nbComputers: number = null;
public nbPrinters: number = null; public nbPrinters: number = null;
public nbScanners: number = null; public nbScanners: number = null;
......
...@@ -29,10 +29,7 @@ ...@@ -29,10 +29,7 @@
</div> </div>
</div> </div>
<!-- Accueil --> <!-- Accueil -->
<div <div *ngIf="tclStopPoints || structure.hours.hasData()" class="structure-details-block accessDetails flex column">
*ngIf="tclStopPoints || structure.hours.hasData() || structure.remoteAccompaniment"
class="structure-details-block accessDetails flex column"
>
<!-- Opening Hours --> <!-- Opening Hours -->
<div class="w-100 mobile-column flex row mb20"> <div class="w-100 mobile-column flex row mb20">
<div *ngIf="structure.hours.hasData()" class="timeContainer"> <div *ngIf="structure.hours.hasData()" class="timeContainer">
...@@ -74,8 +71,5 @@ ...@@ -74,8 +71,5 @@
<h3 class="subtitle uppercase">précisions sur les horaires</h3> <h3 class="subtitle uppercase">précisions sur les horaires</h3>
<p>{{ structure.exceptionalClosures }}</p> <p>{{ structure.exceptionalClosures }}</p>
</div> </div>
<div *ngIf="structure.remoteAccompaniment" class="bold-info">
<h3>Cette structure propose un accompagnement à distance.</h3>
</div>
</div> </div>
</div> </div>
...@@ -195,7 +195,6 @@ ...@@ -195,7 +195,6 @@
[clickable]="false" [clickable]="false"
/> />
</div> </div>
<p *ngIf="structure.remoteAccompaniment">Accompagnement à distance</p>
</section> </section>
<!-- Publics --> <!-- Publics -->
......
...@@ -110,7 +110,6 @@ export class FormUtils { ...@@ -110,7 +110,6 @@ export class FormUtils {
advancedSkills: new UntypedFormControl(structure.categories?.advancedSkills), advancedSkills: new UntypedFormControl(structure.categories?.advancedSkills),
solidarityMaterial: this.loadArrayForCheckbox(structure.categories?.solidarityMaterial, false), solidarityMaterial: this.loadArrayForCheckbox(structure.categories?.solidarityMaterial, false),
}), }),
remoteAccompaniment: new UntypedFormControl(false),
otherDescription: new UntypedFormControl(structure.otherDescription), otherDescription: new UntypedFormControl(structure.otherDescription),
nbComputers: new UntypedFormControl( nbComputers: new UntypedFormControl(
structure.categories.selfServiceMaterial.includes('computer') ? structure.nbComputers : 0, structure.categories.selfServiceMaterial.includes('computer') ? structure.nbComputers : 0,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment