feat: add Manager Info document generation in Managers Info folder

- Create Word document template with job information pre-populated
- Auto-populate: Job Name, Address, Division, Client, Type, Status, Contact info
- Include fillable fields: Scope, Vendors, Estimate Cost, Dates, Team Contacts, Notes
- Document named [JobNumber] - Manager Info.docx for easy identification
- Uses docx library to generate professional Word documents
- Document uploaded automatically during job folder creation
This commit is contained in:
2025-12-20 05:16:39 +00:00
parent 340b7e0818
commit 9c73773c19
4 changed files with 262 additions and 5 deletions
@@ -49,7 +49,8 @@ async function processNewJobRecord(record, accessToken) {
const folderResult = await createJobFolderAndGetLink(
accessToken,
jobNumber,
jobFullName
jobFullName,
record
);
console.log('[Post-Record Integration] ✓ Folder creation successful');