/**
 * Default copy blocks for onboarding “planned” emails.
 * Admins can override full templates in Master → Email Templates; these are fallbacks from code.
 */
export const DEFAULT_PROSPECT_DOCUMENT_CHECKLIST = [
    'PAN (applicant / entity)',
    'Identity & address proof',
    'Address proof of proposed dealership site (lease / title)',
    'Net worth certificate (CA, last 2 years)',
    'Bank statements (last 6 months)',
    'Income tax returns (last 3 years)',
    'Photographs of the proposed dealership site'
].join('\n');

export const DEFAULT_STATUTORY_DOCUMENT_CHECKLIST = [
    'GST registration certificate',
    'Trade licence / Shop & Establishment',
    'Fire safety NOC',
    'Pollution control board NOC (if applicable)',
    'Approved building plan from local authority',
    'Commercial electricity sanction',
    'Registered lease / sale deed for premises',
    'Latest property tax receipt',
    'Building & public liability insurance (as per policy)',
    'MOA/AOA or partnership deed (as applicable)',
    'Board resolution / authorised signatory list (if applicable)'
].join('\n');

export const DEFAULT_FDD_DOCUMENT_CHECKLIST = [
    'Audited financial statements (last 3 financial years)',
    'GST returns (last 12 months)',
    'Bank statements (last 12 months)',
    'Proof of working capital',
    'Schedule of existing loans and obligations',
    'Director / partner net-worth statements (as applicable)'
].join('\n');

export const DEFAULT_ARCHITECTURE_SITE_INPUTS = [
    'Site dimensions and orientation (sketch or CAD if available)',
    'Photographs: front, sides, internal, and surroundings',
    'Civic / municipal approvals and zoning classification',
    'Soil-test report (if available)',
    'Preferred entry, parking, and signage locations'
].join('\n');

export function formatDueDateDaysFromNow(days: number): string {
    const d = new Date();
    d.setDate(d.getDate() + days);
    return d.toLocaleDateString('en-IN', { dateStyle: 'medium' });
}
