Mergers & Acquisitions Compliance Risk Tool

Mergers & Acquisitions Compliance Risk Tool

Assess key compliance risks for your M&A transaction.

Step 1: Financial & Tax Diligence

Step 2: Legal & Regulatory

Step 3: HR & Operations

Final Step: Compliance Risk Report

${risk.description}

`; return card; }; const downloadPdf = () => { const { jsPDF } = window.jspdf; const doc = new jsPDF(); doc.setFont('helvetica', 'bold'); doc.setFontSize(18); doc.text('M&A Compliance Risk Report', 105, 20, { align: 'center' }); doc.setFontSize(11); doc.setFont('helvetica', 'normal'); doc.text(`Report Generated: ${new Date().toLocaleDateString()}`, 105, 27, { align: 'center' }); if (risks.length > 0) { const tableData = risks.map(r => [r.level, r.title, r.description]); doc.autoTable({ startY: 35, head: [['Risk Level', 'Area of Concern', 'Description']], body: tableData, theme: 'grid', headStyles: { fillColor: [45, 55, 72] }, columnStyles: { 0: { cellWidth: 25 }, 1: { cellWidth: 50 }, 2: { cellWidth: 'auto' } }, didParseCell: function (data) { if (data.column.index === 0 && data.cell.section === 'body') { if (data.cell.raw === 'High') data.cell.styles.textColor = [239, 68, 68]; if (data.cell.raw === 'Medium') data.cell.styles.textColor = [249, 115, 22]; if (data.cell.raw === 'Low') data.cell.styles.textColor = [234, 179, 8]; } } }); } else { doc.setFont('helvetica', 'bold'); doc.setFontSize(14); doc.text("No Major Risks Flagged", 14, 40); doc.setFont('helvetica', 'normal'); doc.setFontSize(10); const text = doc.splitTextToSize("Based on the answers provided, no common M&A compliance risks were identified. This preliminary assessment does not replace the need for comprehensive due diligence by qualified legal and financial professionals.", 180); doc.text(text, 14, 48); } doc.save('M&A_Compliance_Risk_Report.pdf'); }; tabs.forEach(tab => tab.addEventListener('click', () => { currentTab = parseInt(tab.dataset.tab); updateTabs(); })); prevBtn.addEventListener('click', () => { if (currentTab > 1) { currentTab--; updateTabs(); } }); nextBtn.addEventListener('click', () => { if (currentTab < totalTabs) { currentTab++; updateTabs(); } }); document.getElementById('download-pdf-btn').addEventListener('click', downloadPdf); updateTabs(); });
Scroll to Top