Switched Preorder building source to AddressDB
This commit is contained in:
@@ -124,7 +124,7 @@ class PreorderController extends mfBaseController {
|
||||
|
||||
protected function saveAction() {
|
||||
$r = $this->request;
|
||||
var_dump($r);
|
||||
//var_dump($r);
|
||||
|
||||
/*
|
||||
* add or edit
|
||||
@@ -147,7 +147,9 @@ class PreorderController extends mfBaseController {
|
||||
*/
|
||||
$data = [];
|
||||
$data['preordercampaign_id'] = $r->campaign_id;
|
||||
$data['building_id'] = $r->building_id;
|
||||
$data['building_id'] = ($r->building_id) ? $r->building_id : null;
|
||||
$data['adb_hausnummer_id'] = $r->adb_hausnummer_id;
|
||||
$data['adb_wohneinheit_id'] = ($r->adb_wohneinheit_id) ? $r->adb_wohneinheit_id : null;
|
||||
$data['termination_id'] = ($r->termination_id) ? $r->termination_id : null;
|
||||
|
||||
if($campaign->product_type != "setup_only") {
|
||||
|
||||
Reference in New Issue
Block a user