Persönliche Werkzeuge

Vorlage:BV-BgPreisIndex

Aus BogenWiki

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
 
(Der Versionsvergleich bezieht 3 dazwischenliegende Versionen mit ein.)
Zeile 27: Zeile 27:
   }
   }
   var sCellPadding = 'padding:0px; padding-left:4px; padding-right:4px;';
   var sCellPadding = 'padding:0px; padding-left:4px; padding-right:4px;';
-
   var eBgList = document.getElementById('BVBgList.'+Param.Gebiet+'.'+Param.Gebiet1+'.'+Param.KatNr);
+
   var eBgList = document.getElementById('BVBgList.'+Param.Gebiet+'.'+Param.Gebiet1+'.'+Param.KatNr.replace(/\//,'.2F'));
   var sTabHTML = '<table id="BVBgList.'+Param.Gebiet+'.'+Param.Gebiet1+'.'+Param.KatNr+'.Tab" style="background:silver" cellpadding=1 cellspacing=1>'+
   var sTabHTML = '<table id="BVBgList.'+Param.Gebiet+'.'+Param.Gebiet1+'.'+Param.KatNr+'.Tab" style="background:silver" cellpadding=1 cellspacing=1>'+
                 '  <tr style="background:#E0E0E0" valign=top>'+
                 '  <tr style="background:#E0E0E0" valign=top>'+
Zeile 71: Zeile 71:
   sTabHTML += '</table>';
   sTabHTML += '</table>';
   if (eBgList) eBgList.innerHTML = sTabHTML;
   if (eBgList) eBgList.innerHTML = sTabHTML;
-
   var eBgPreise = document.getElementById('BVBgPreise.'+Param.Gebiet+'.'+Param.Gebiet1+'.'+Param.KatNr);
+
   var sBgPreiseID = 'BVBgPreise.'+Param.Gebiet+'.'+Param.Gebiet1+'.'+Param.KatNr.replace(/\//,'.2F');
 +
  console.log('sBgPreiseID = "'+sBgPreiseID+'"');
 +
  var eBgPreise = document.getElementById(sBgPreiseID);
   var BVBgPreise = BVCalcPriceIndex(Bogen,aGroupBy);
   var BVBgPreise = BVCalcPriceIndex(Bogen,aGroupBy);
   console.log('BVBgPreise.length = '+BVBgPreise.length);
   console.log('BVBgPreise.length = '+BVBgPreise.length);
Zeile 83: Zeile 85:
     if (aGroupByParts[0] == 'Ausgang') sGroupByText = aGroupByParts[1];
     if (aGroupByParts[0] == 'Ausgang') sGroupByText = aGroupByParts[1];
     if (aGroupByParts[0] == 'BRS') sGroupByText = aGroupByParts[1];
     if (aGroupByParts[0] == 'BRS') sGroupByText = aGroupByParts[1];
-
     if (aGroupByParts[0] == 'PF') sGroupByText = aGroupByParts[1];
+
     if (aGroupByParts[0] == 'PF') sGroupByText = aGroupByParts[0];
     if (aGroupByParts[0] == 'EM') sGroupByText = aGroupByParts[1];
     if (aGroupByParts[0] == 'EM') sGroupByText = aGroupByParts[1];
     sTabHTML += '    <td><div style="'+sCellPadding+'">'+sGroupByText+'</div></td>';
     sTabHTML += '    <td><div style="'+sCellPadding+'">'+sGroupByText+'</div></td>';

Aktuelle Version vom 21:46, 10. Okt. 2026

Template BV_BgPreisIndex: Invalid value for parameter Cmd ("empty")!!!