Enabled Statusflags in Preorder Api

This commit is contained in:
Frank Schubert
2024-08-18 22:38:59 +02:00
parent 7531d700c0
commit 03a53bbbd2
5 changed files with 10 additions and 9 deletions
+3 -3
View File
@@ -603,13 +603,13 @@ class Preorder extends mfBaseModel {
$campaign = $this->getProperty("campaign");
$status = $this->getProperty("status")->getApiArray();
/*foreach($this->getProperty("statusflags") as $sflag) {
foreach($this->getProperty("statusflags") as $sflag) {
$status["flags"][$sflag->code] = [
"code" => $sflag->code,
"code" => (int)$sflag->code,
"text" => $sflag->name,
"value" => ($sflag->value->value == 1)
];
}*/
}
$a = [];