feat: asegurar sincronizacion bidireccional y killswitch estricto de transferencias P2P v20.2

This commit is contained in:
unknown
2026-10-09 11:57:32 -06:00
parent ef1e1a373e
commit a71c4e7f34
5 changed files with 15 additions and 11 deletions
+1 -1
View File
@@ -5172,6 +5172,6 @@
<script src="/js/sounds.js?v=19.4"></script>
<script src="/js/jsQR.js" defer></script>
<script src="/js/food-icons.js?v=19.4" defer></script>
<script src="/js/app.js?v=20.1"></script>
<script src="/js/app.js?v=20.2"></script>
</body>
</html>
+2 -1
View File
@@ -12265,7 +12265,8 @@ async function cargarReglasNegocioDev() {
if (elLimiteEst) elLimiteEst.value = cfg.estudiante_limite_diario_default || 3000;
const elTransfEst = document.getElementById('cfg_estudiante_permitir_transferencias_default');
if (elTransfEst) elTransfEst.checked = String(cfg.estudiante_permitir_transferencias_default) === '1';
const isTransfEnabled = (cfg.permitir_transferencias_p2p !== undefined ? String(cfg.permitir_transferencias_p2p) !== '0' : true) && (cfg.estudiante_permitir_transferencias_default !== undefined ? String(cfg.estudiante_permitir_transferencias_default) !== '0' : true);
if (elTransfEst) elTransfEst.checked = isTransfEnabled;
const elCorte = document.getElementById('cfg_preordenes_hora_corte');
if (elCorte) elCorte.value = cfg.preordenes_hora_corte || '17:00';
+3 -3
View File
@@ -1,5 +1,5 @@
// SiboPay PWA Service Worker v20.1 - Ultra Fast Startup & Stale-While-Revalidate
const CACHE_NAME = 'sibopay-v20.1';
// SiboPay PWA Service Worker v20.2 - Ultra Fast Startup & Stale-While-Revalidate
const CACHE_NAME = 'sibopay-v20.2';
const STATIC_ASSETS = [
'/',
'/index.html',
@@ -11,7 +11,7 @@ const STATIC_ASSETS = [
'/css/styles.css?v=19.9',
'/css/desktop.css?v=2.2',
'/js/dialogs.js?v=19.4',
'/js/app.js?v=20.1',
'/js/app.js?v=20.2',
'/js/pos.js',
'/js/sounds.js?v=19.4',
'/js/food-icons.js?v=19.4',