📦 Agreement Details

Fill in the details to generate your vendor/supply agreement

Buyer Information
Vendor/Supplier Information
Products/Goods
Agreement Terms
Payment Terms
Delivery Terms
Quality & Warranty
Additional Provisions

Document Preview

⚠️ Full Edit Mode Active: You can now directly edit any text in the document below. Changes made in this mode will NOT sync back to the form fields. Generating a new preview will overwrite your edits.

Fill in the form fields and click "Generate Agreement" to preview your document.

`; const blob = new Blob([html], { type: 'application/msword' }); const url = URL.createObjectURL(blob); const a = document.createElement('a'); a.href = url; a.download = `Vendor_Supply_Agreement_${buyerName.replace(/[^a-z0-9]/gi, '_')}_${vendorName.replace(/[^a-z0-9]/gi, '_')}.doc`; document.body.appendChild(a); a.click(); document.body.removeChild(a); URL.revokeObjectURL(url); } // Initialize document.addEventListener('DOMContentLoaded', function() { // Set default date to today const today = new Date().toISOString().split('T')[0]; document.getElementById('effectiveDate').value = today; });