11 |
11 |
var $divVerm = false;
|
12 |
12 |
var $minder = false;
|
13 |
13 |
var $paypal = false;
|
14 |
|
var $treuh = false;
|
|
14 |
var $treuhand = false;
|
15 |
15 |
var $nachn = false;
|
16 |
16 |
var $shopcode = 'ISO-8859-1';
|
17 |
17 |
var $erpcode = 'UTF-8';
|
... | ... | |
85 |
85 |
function translateTable($data,$table) {
|
86 |
86 |
$newdata = array();
|
87 |
87 |
foreach ($data as $key=>$val) {
|
88 |
|
if ($this->{$table}[$key])
|
|
88 |
if (array_key_exists($key, $this->{$table}))
|
89 |
89 |
$newdata[$this->{$table}[$key]] = $val;
|
90 |
90 |
}
|
91 |
91 |
return $newdata;
|
... | ... | |
257 |
257 |
$artikel[] = array("partnumber"=>$this->paypal['NR'],"description"=>$this->paypal['TXT'],"taxrate"=>$this->paypal['TAX'],
|
258 |
258 |
"qty"=>1,"unit"=>$this->paypal['Unit'],"sellprice"=>round($row["paypalkosten"],2));
|
259 |
259 |
if ($row["treuhandkosten"]>0)
|
260 |
|
$artikel[] = array("partnumber"=>$this->treuh['NR'],"description"=>$this->treuh['TXT'],"taxrate"=>$this->treuh['TAX'],
|
261 |
|
"qty"=>1,"unit"=>$this->treuh['Unit'],"sellprice"=>$row["treuhandkosten"]);
|
|
260 |
$artikel[] = array("partnumber"=>$this->treuhand['NR'],"description"=>$this->treuhand['TXT'],"taxrate"=>$this->treuhand['TAX'],
|
|
261 |
"qty"=>1,"unit"=>$this->treuhand['Unit'],"sellprice"=>$row["treuhandkosten"]);
|
262 |
262 |
if ($row["mindermengenzuschlag"]>0)
|
263 |
263 |
$artikel[] = array("partnumber"=>$this->minder['NR'],"description"=>$this->minder['TXT'],"taxrate"=>$this->minder['TAX'],
|
264 |
264 |
"qty"=>1,"unit"=>$this->minder['Unit'],"sellprice"=>$row["mindermengenzuschlag"]);
|
Bestfit mitgeben
Variable treuh auf treuhand geändert