A green project 🌱🌿 🫧🍃
Clone the repo and run make install
.
Run make start
and wait for containers being started.
Then if database is empty, run dce php server/bin/console d:m:m
.
make start
make stop
make restart
make
In case of need, you can add this method to client/src/app/categories/components/show/show.component.ts
:
forceCompletion(): void {
this.criteriaValues.forEach((criterion: CriterionValue) => {
criterion.status = CriterionStatus.COMPLIANT;
this.form.controls['criterion_' + criterion.id].setValue(criterion.status);
});
this.saveChanges();
}
And this button in client/src/app/categories/components/show/show.template.html
:
<button type="button" (click)="forceCompletion()">Compléter</button>
This will allow you to fully complete a category way faster.