Persönliche Werkzeuge

Vorlage:BV-BgPreisIndex

Aus BogenWiki

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
 
(Der Versionsvergleich bezieht 10 dazwischenliegende Versionen mit ein.)
Zeile 57: Zeile 57:
       sBN = '<a href="/bogenwiki/index.php?title=Bund MiNr. '+BVBgList[b].BogenNr+' groß">'+BVBgList[b].BogenNr+'</a>';
       sBN = '<a href="/bogenwiki/index.php?title=Bund MiNr. '+BVBgList[b].BogenNr+' groß">'+BVBgList[b].BogenNr+'</a>';
     var sPreis = BVBgList[b].Eingang.Preis;
     var sPreis = BVBgList[b].Eingang.Preis;
-
     if (!BVCheckPrice(sPreis,BVBgList[b].Eingang.Art,BVGetBgFieldValue(BVBgList[b],'EM.Art.Key'),BVGetBgFieldValue(BVBgList[b],'Erhaltung')))
+
    console.log('BVGetBgFieldValue(BVBgList['+b+'],"Zustand") = '+BVGetBgFieldValue(BVBgList[b],'Zustand'));
 +
     if (!BVCheckPrice(sPreis,BVBgList[b].Eingang.Art,BVGetBgFieldValue(BVBgList[b],'EM.Art.Key'),BVGetBgFieldValue(BVBgList[b],'Erhaltung'),BVGetBgFieldValue(BVBgList[b],'Zustand')))
       sPreis = '<span style="color:silver;"><i>'+sPreis+'€</i></span>';
       sPreis = '<span style="color:silver;"><i>'+sPreis+'€</i></span>';
     sTabHTML += '  <tr style="background:#FCFCFC" valign=top>'+
     sTabHTML += '  <tr style="background:#FCFCFC" valign=top>'+
Zeile 82: Zeile 83:
     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>';
Zeile 107: Zeile 108:
         sTabHTML += '  <tr style="background:#FCFCFC" valign=top>';
         sTabHTML += '  <tr style="background:#FCFCFC" valign=top>';
         for (v = 0; v < aGroupValues.length-1; v++) {
         for (v = 0; v < aGroupValues.length-1; v++) {
 +
          var aGroupByParts = aGroupBy[v].split('.');
           var sGroupByValueText = aGroupValues[v];
           var sGroupByValueText = aGroupValues[v];
 +
          console.log('aGroupByParts['+v+']="'+aGroupByParts[v]+'"; aGroupValues['+v+']="'+aGroupValues[v]+'"');
           if (aGroupByParts[v] == 'Erhaltung') {
           if (aGroupByParts[v] == 'Erhaltung') {
             switch (aGroupValues[v]) {
             switch (aGroupValues[v]) {
-
               case 'Pf': sGroupByValueText = '<img src="/bogenwiki/images/Symbol_Pfr1T.png" width="27" height="14" alt="**" title="postfrisch">'; break;
+
               case 'Pf': sGroupByValueText = '<div style="padding-top:2px"><img src="/bogenwiki/images/Symbol_Pfr1T.png" width="27" height="14" alt="**" title="postfrisch"></div>'; break;
-
               case 'Gs': sGroupByValueText = '<img src="/bogenwiki/images/Symbol_GesT1.png" width="27" height="14" alt="**" title="postfrisch">'; break;
+
               case 'Gs': sGroupByValueText = '<div style="padding-top:2px"><img src="/bogenwiki/images/Symbol_GesT1.png" width="13" height="14" alt="**" title="gestempelt"></div>'; break;
-
               case 'Ug': sGroupByValueText = '<img src="/bogenwiki/images/Symbol_UgsT1.png" width="27" height="14" alt="**" title="postfrisch">'; break;
+
               case 'Ug': sGroupByValueText = '<div style="padding-top:2px"><img src="/bogenwiki/images/Symbol_UgsT1.png" width="13" height="14" alt="**" title="ungebraucht"></div>'; break;
               case 'Bt': sGroupByValueText = '<span title="Bogentasche">BT</span>'; break;
               case 'Bt': sGroupByValueText = '<span title="Bogentasche">BT</span>'; break;
             }
             }

Aktuelle Version vom 18:16, 1. Dez. 2023

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