Revision 45690ff2
Von Holger Lindemann vor mehr als 12 Jahren hinzugefügt
peppershop/erplib.php | ||
---|---|---|
49 | 49 |
$sql = "SELECT warehouse_id from bin where id = ".$this->lager; |
50 | 50 |
$rs = $this->db->getOne($sql); |
51 | 51 |
if ( $rs['warehouse_id'] > 0 ) { |
52 |
$this->warehouse_id = $rs['warehouse_id']; |
|
52 |
$this->warehouse_id = $rs['warehouse_id'];
|
|
53 | 53 |
$sql = "SELECT id from transfer_type WHERE direction = 'in' and description = 'stock'"; |
54 | 54 |
$rs = $this->db->getOne($sql); |
55 | 55 |
$this->transtype = $rs['id']; |
... | ... | |
69 | 69 |
$rs = $this->db->getAll($sql); |
70 | 70 |
if ($rs) foreach ($rs as $row) { |
71 | 71 |
$nr = $row['bugru']; |
72 |
if (!$this->TAX[$nr]) {
|
|
72 |
if ( !$this->TAX[$nr] || !array_key_exists($nr, $this->TAX) ) {
|
|
73 | 73 |
$data = array(); |
74 | 74 |
$data['startdate'] = $row['startdate']; |
75 | 75 |
$data['rate'] = $row['rate']; |
Auch abrufbar als: Unified diff
Index abfangen