Not creting workorders for preorders with type interest
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user