Major update: ESG, KPIs, metas, alertas, auditoria, documentos, importação, relatórios, subcategorias, dashboard orçamentos

This commit is contained in:
bigtux
2026-02-10 18:52:52 -03:00
parent d8ca580acb
commit 90c7a2cacb
92 changed files with 10265 additions and 1238 deletions

View File

@@ -22,6 +22,7 @@ export class DemandasService {
findOne(id: string) { return this.repo.findOne({ where: { id }, relations: ['itens_linha'] }); }
create(data: Partial<Demanda>) { return this.repo.save(data); }
async update(id: string, data: Partial<Demanda>) { await this.repo.update(id, data); return this.findOne(id); }
async remove(id: string) { await this.repo.delete(id); return { deleted: true }; }
async updateStatus(id: string, status: string) {
await this.repo.update(id, { status });