|
|
|
@@ -42,7 +42,7 @@ class NavisionDataImportService |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
$data = $this->readExcelFile($this->kernel->getProjectDir()."/import/Kreditoren11 Stammdaten.xlsx"); |
|
|
|
$data = $this->readExcelFile($this->kernel->getProjectDir()."/import/Stammdaten-Kreditoren-2024-12-16.xlsx"); |
|
|
|
$i = 0; |
|
|
|
$customer = null; |
|
|
|
foreach ($data as $row) { |
|
|
|
@@ -90,7 +90,7 @@ class NavisionDataImportService |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
$data = $this->readExcelFile($this->kernel->getProjectDir()."/import/Debitoren11 Stammdaten.xlsx"); |
|
|
|
$data = $this->readExcelFile($this->kernel->getProjectDir()."/import/Stammdaten-Debitoren-2024-12-16.xlsx"); |
|
|
|
$i = 0; |
|
|
|
$supplier = null; |
|
|
|
foreach ($data as $row) { |
|
|
|
@@ -139,7 +139,7 @@ class NavisionDataImportService |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
$data = $this->readExcelFile($this->kernel->getProjectDir()."/import/Artikel11 Stammdaten.xlsx"); |
|
|
|
$data = $this->readExcelFile($this->kernel->getProjectDir()."/import/Stammdaten-Artikel-2024-12-16.xlsx"); |
|
|
|
$i = 0; |
|
|
|
$product = null; |
|
|
|
foreach ($data as $row) { |
|
|
|
@@ -155,7 +155,7 @@ class NavisionDataImportService |
|
|
|
} |
|
|
|
$product->setName($row[2]); |
|
|
|
$product->setDescription($row[3]); |
|
|
|
$product->setBlocked($row[4] === "Ja"); |
|
|
|
$product->setBlocked($row[4] === "Ja" || $row[4] === "TRUE"); |
|
|
|
$product->setInventory($row[5]); |
|
|
|
$product->setBaseUnit($row[6]); |
|
|
|
$product->setBuyUnit($row[7]); |
|
|
|
|