Added citycom-mgmt-order cron script

This commit is contained in:
Frank Schubert
2025-08-20 16:56:30 +02:00
parent 73cf1098a5
commit c7a7d6ce1e
3 changed files with 64 additions and 59 deletions
@@ -157,6 +157,13 @@ class PreordercampaignModel {
$where .= " AND Network.owner_id IN (". implode(",", $owner_id).")";
}
}
if(array_key_exists("fulfillment", $filter)) {
$fulfillment = FronkDB::singleton()->escape($filter['fulfillment']);
if($fulfillment) {
$where .= " AND `Preordercampaign`.`fulfillment` = '$fulfillment'";
}
}
if(array_key_exists("name", $filter)) {
$name = FronkDB::singleton()->escape($filter['name']);