fix(settings): update All Invoices modal to show 5 items per page with pagination

- Changed INVOICES_PER_PAGE from 10 to 5
- Modal properly opens from Invoices section when clicking 'View All'
- Supports pagination with multiple pages in the popup
This commit is contained in:
southseact-3d
2026-02-10 13:22:07 +00:00
parent 355fa96de7
commit 82ae9687b8

View File

@@ -1215,7 +1215,7 @@
let currentPlan = ''; let currentPlan = '';
let allInvoices = []; let allInvoices = [];
let currentInvoicePage = 1; let currentInvoicePage = 1;
const INVOICES_PER_PAGE = 10; const INVOICES_PER_PAGE = 5;
const PLAN_ALIASES = { business: 'professional' }; const PLAN_ALIASES = { business: 'professional' };
function showConfirmModal({ title, body, icon, onConfirm }) { function showConfirmModal({ title, body, icon, onConfirm }) {