const fs = require('fs');
const html = fs.readFileSync('index.html', 'utf8');
const ids = [
    'subcontract-modal-title', 'subcontract-id', 'sc-project-id', 'sc-subcontractor-id',
    'sc-contract-number', 'sc-date', 'sc-total-value', 'sc-tax-percent',
    'sc-retention-percent', 'sc-details', 'subcontract-modal'
];
ids.forEach(id => {
    if (!html.includes('id="' + id + '"') && !html.includes("id='" + id + "'")) {
        console.log("MISSING ID:", id);
    }
});
console.log("Check complete.");
