diff --git a/pos/static/js/accounting.js b/pos/static/js/accounting.js
index ffa0e92..a1935c4 100644
--- a/pos/static/js/accounting.js
+++ b/pos/static/js/accounting.js
@@ -25,6 +25,12 @@ const Accounting = (() => {
function fmt(n) {
return parseFloat(n || 0).toLocaleString('es-MX', { minimumFractionDigits: 2, maximumFractionDigits: 2 });
}
+ function esc(s) {
+ if (!s) return '';
+ const d = document.createElement('div');
+ d.textContent = s;
+ return d.innerHTML;
+ }
// ---- Auth check ----
function checkAuth() {
@@ -236,7 +242,7 @@ const Accounting = (() => {
$${fmt(r.paid || 0)} |
$${fmt(r.balance || r.total)} |
${statusBadge(status, label)} |
- |
+ |
`;
}).join('');
diff --git a/pos/static/pwa/sw.js b/pos/static/pwa/sw.js
index 9307447..0d71275 100644
--- a/pos/static/pwa/sw.js
+++ b/pos/static/pwa/sw.js
@@ -6,7 +6,7 @@
// The fetch handler normalizes static asset URLs (strips ?v= query strings)
// so templates can use cache-busting query params freely.
-const CACHE_NAME = 'nexus-pos-v22';
+const CACHE_NAME = 'nexus-pos-v23';
const APP_SHELL = [
'/pos/static/css/tokens.css',
diff --git a/pos/templates/accounting.html b/pos/templates/accounting.html
index dd74beb..3ec94eb 100644
--- a/pos/templates/accounting.html
+++ b/pos/templates/accounting.html
@@ -499,7 +499,7 @@
-
+