diff --git a/src/index.html b/src/index.html index 3128f7d..4d8b96a 100644 --- a/src/index.html +++ b/src/index.html @@ -2598,7 +2598,10 @@ function openEditModal(full) { // helper para fmt table cell const fmtCell = (v, isNum) => { if (v === null || v === undefined || v === '') return ''; - if (isNum) return fmtMoney(v); + if (isNum) { + const n = parseFloat(v); + return isNaN(n) ? '' : 'R$ ' + n.toLocaleString('pt-BR', { minimumFractionDigits: 2 }); + } return v; };