Implemented full server-side persistence for the billedToTenant property: - Extract billedToTenant from formData in updateOrAddBill action - Add to MongoDB $set operations for updating existing bills - Include in new bill creation with value from form - Set default value (true) for bills added to subsequent months - Handle undefined values from existing database records using destructuring defaults This completes the feature - bills can now track whether they should be paid by the tenant, with backward compatibility for existing data. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
16 KiB
16 KiB