Ligação inicial ao Firebase e criação do formulário de condomínios

This commit is contained in:
2026-04-14 17:15:05 +01:00
parent aa64354c06
commit 58a5649851
4 changed files with 57 additions and 36 deletions

View File

@@ -490,3 +490,5 @@ function exportPDF(tableId, filename) {
doc.save(filename + '.pdf');
showToast("PDF gerado com sucesso!", "success");
}
import { db } from "./firebase.js";
import { collection, addDoc } from "https://www.gstatic.com/firebasejs/12.1.0/firebase-firestore.js";