diff --git a/pos/static/pwa/sw.js b/pos/static/pwa/sw.js index 5625f66..2949d37 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 VERSION = 51; +const VERSION = 52; const CACHE_NAME = 'nexus-pos-v' + VERSION; const APP_SHELL = [ diff --git a/pos/templates/remission_notes.html b/pos/templates/remission_notes.html index bd272fb..96673d2 100644 --- a/pos/templates/remission_notes.html +++ b/pos/templates/remission_notes.html @@ -315,9 +315,7 @@ return; } - tbody.innerHTML = rows.map(r => { - const canPay = r.status === 'pending_payment'; - return ` + tbody.innerHTML = rows.map(r => ` NR-${r.id} ${new Date(r.created_at).toLocaleString('es-MX')} @@ -331,14 +329,10 @@ - ${canPay ? `` : ''} - `; - }).join(''); + `).join(''); if (pagination.total_pages > 1) { pag.innerHTML = `