diff --git a/packages/dashboard/index.html b/packages/dashboard/index.html
index ec880f6..083895b 100644
--- a/packages/dashboard/index.html
+++ b/packages/dashboard/index.html
@@ -4622,11 +4622,14 @@ async function openTxDetail(id) {
h += '
Gleiche Spezifikationsklasse — andere Part Number
';
comparPrices.forEach(function(p) {
// Calculate price delta (EUR-normalized)
- var myEur = null;
- var refPrice = directPrices.length > 0 ? directPrices[0] : null;
- if (refPrice) {
- var ra = parseFloat(refPrice.price), rc = (refPrice.currency||'USD').toUpperCase();
- myEur = rc === 'EUR' ? ra : rc === 'USD' ? ra * 0.92 : ra;
+ // Use Flexoptix own verified EUR price as reference for comparison
+ var myEur = t.price_verified_eur ? parseFloat(t.price_verified_eur) : null;
+ if (!myEur) {
+ var refPrice = directPrices.length > 0 ? directPrices[0] : null;
+ if (refPrice) {
+ var ra = parseFloat(refPrice.price), rc = (refPrice.currency||'USD').toUpperCase();
+ myEur = rc === 'EUR' ? ra : rc === 'USD' ? ra * 0.92 : ra;
+ }
}
var compEur = null;
var ca = parseFloat(p.price), cc = (p.currency||'USD').toUpperCase();
@@ -4654,8 +4657,8 @@ async function openTxDetail(id) {
+ '' + esc(compVal || '—') + ' | ';
}
- var mySpeed = t.speed_gbps >= 1000 ? (t.speed_gbps / 1000).toFixed(1).replace('.0','') + 'T' : t.speed_gbps + 'G';
- var compSpeed = p.comp_speed_gbps ? (p.comp_speed_gbps >= 1000 ? (p.comp_speed_gbps/1000).toFixed(1).replace('.0','')+'T' : p.comp_speed_gbps+'G') : null;
+ var mySpeed = fmtSpd(t.speed_gbps);
+ var compSpeed = p.comp_speed_gbps ? fmtSpd(p.comp_speed_gbps) : null;
h += '';
@@ -4676,7 +4679,8 @@ async function openTxDetail(id) {
if (savBadge) {
h += '
';
h += savBadge;
- h += 'vs. Flexoptix Listenpreis';
+ var fxPriceLabel = myEur ? 'EUR ' + myEur.toLocaleString('de-DE',{minimumFractionDigits:2,maximumFractionDigits:2}) : null;
+ h += 'vs. Flexoptix Listenpreis' + (fxPriceLabel ? ' (' + fxPriceLabel + ')' : '') + '';
h += '
';
}