Setting preorder status triggers status update on hausnummer and

wohneinhiet
This commit is contained in:
Frank Schubert
2023-11-07 14:43:07 +01:00
parent 79fe0aa00e
commit 8b5d60f3c6
6 changed files with 173 additions and 21 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ class AdminController extends mfBaseController {
}
protected function ivtAdminImportAction() {
//exit;
exit;
$doit = false;
if($this->request->doit == 1) {
$doit = true;
@@ -12,7 +12,7 @@ class Admin_IvtAdminImport {
$data = [];
$data['ignore'] = 0;
$data["contracts"] = [];
foreach(IvtCustomerProductModel::search(["pid" => 784]) as $ivt_contract) {
foreach(IvtCustomerProductModel::getAll() as $ivt_contract) {
$ivt_customer = $ivt_contract->customer;
$ivt_product = $ivt_contract->product;