Revision 7e28f16e
Von Holger Lindemann vor mehr als 12 Jahren hinzugefügt
peppershop/pepper.php | ||
---|---|---|
35 | 35 |
"waehrung"=>"currency","beschreibung"=>"notes", |
36 | 36 |
"mwst"=>"mwst","versandart"=>"shipvia"); |
37 | 37 |
var $orderparts = array("artikelname"=>"description","name"=>"description","preis"=>"sellprice","anzahl"=>"qty","artikel_nr"=>"partnumber", |
38 |
"partsgroup"=>"partsgroup","beschreibung"=>"longdescription","gewicht"=>"weight", |
|
39 |
"mwst_satz"=>"taxrate","bild_gross"=>"image","anzahl_einheit"=>"unit"); |
|
38 |
"partsgroup"=>"partsgroup","beschreibung"=>"longdescription","gewicht"=>"weight","shoppreis"=>"shoppreis",
|
|
39 |
"mwst_satz"=>"taxrate","bild_gross"=>"image","anzahl_einheit"=>"unit","lagerbestand"=>"onhand");
|
|
40 | 40 |
var $pic = false; |
41 | 41 |
|
42 | 42 |
function pepper($db,$error,$dbname, |
... | ... | |
418 | 418 |
$row['partsgroup'] = $this->_toERP($this->Kategorien[$row['katid']]); |
419 | 419 |
$row['name'] = $this->_toERP($row['name']); |
420 | 420 |
$row['beschreibung'] = $this->_toERP($row['beschreibung']); |
421 |
$row['shoppreis'] = $row['preis']; |
|
421 | 422 |
if (!$this->mwstLX) $row['preis'] = round(($row['preis'] / (100 + $row['mwst_satz']) * 100),$this->dezimal); |
422 | 423 |
$data[] = $this->translateTable($row,"orderparts"); |
423 | 424 |
} |
Auch abrufbar als: Unified diff
Diverse Verbesserungen u.a. Debugging