diff --git a/api/app/static/js/shared.js b/api/app/static/js/shared.js index ec09dc0..a68d2a2 100644 --- a/api/app/static/js/shared.js +++ b/api/app/static/js/shared.js @@ -513,8 +513,6 @@ async function renderOrderDetailModal(orderNumber, opts) { if (invInfo) invInfo.style.display = 'none'; const mobileContainer = document.getElementById('detailItemsMobile'); if (mobileContainer) mobileContainer.innerHTML = ''; - const priceCheckEl = document.getElementById('detailPriceCheck'); - if (priceCheckEl) priceCheckEl.innerHTML = ''; const reconEl = document.getElementById('detailInvoiceRecon'); if (reconEl) { reconEl.innerHTML = ''; reconEl.style.display = 'none'; } // Remove diff badge from previous render @@ -557,19 +555,6 @@ async function renderOrderDetailModal(orderNumber, opts) { document.getElementById('detailDate').textContent = fmtDate(order.order_date); document.getElementById('detailStatus').innerHTML = orderStatusBadge(order.status); - // Price check badge - const priceCheckEl = document.getElementById('detailPriceCheck'); - if (priceCheckEl) { - const pc = order.price_check; - if (!pc || pc.oracle_available === false) { - priceCheckEl.innerHTML = 'Preturi ROA indisponibile'; - } else if (pc.mismatches === 0) { - priceCheckEl.innerHTML = '✓ Preturi OK'; - } else { - priceCheckEl.innerHTML = `${pc.mismatches} diferente de pret`; - } - } - document.getElementById('detailIdComanda').textContent = order.id_comanda || '-'; document.getElementById('detailIdPartener').textContent = order.id_partener || '-'; diff --git a/api/app/templates/base.html b/api/app/templates/base.html index 7961bb5..0c81224 100644 --- a/api/app/templates/base.html +++ b/api/app/templates/base.html @@ -101,7 +101,7 @@ CUI:
Data:
-
Status:
+
Status:
@@ -161,7 +161,7 @@ - +