const fs = require('fs');
const html = fs.readFileSync('index.html', 'utf8');
const ids = [
    'sca-project-id', 'sca-subcontractor-id', 'sca-contract-id',
    'sca-abstract-number', 'sca-date', 'sca-period',
    'sca-gross-value', 'sca-prev-gross-value', 'sca-curr-gross-value',
    'sca-tax-value', 'sca-retention-value', 'sca-advance-payment',
    'sca-other-deductions', 'sca-net-value', 'subcontract-abstract-modal',
    'edit-subcontract-abstract-id'
];
ids.forEach(id => {
    if (!html.includes('id="' + id + '"') && !html.includes("id='" + id + "'")) {
        console.log("MISSING ID:", id);
    }
});
console.log("Check complete.");
