Not creting workorders for preorders with type interest

This commit is contained in:
Frank Schubert
2023-07-20 11:34:11 +02:00
parent 4e726cab92
commit e499c9918d

View File

@@ -454,6 +454,10 @@ class PreordercampaignController extends mfBaseController {
$this->log->warning(__METHOD__.": workorder_export_date not null");
}
if($preorder->type == "interest") {
continue;
}
if(!$preorder->adb_wohneinheit_id) {
//echo "Keine Wohneinheit in Preorder (".$preorder->id.") ".$preorder->ucode." ".$preorder->oaid."\n";
$missing_units[] = $preorder;
@@ -517,7 +521,7 @@ class PreordercampaignController extends mfBaseController {
$workorders_created++;
}
exit;
$errors = [];
$warnings = [];