Added Preorder API EP getCifData; added cifcableurl to preorder

This commit is contained in:
Frank Schubert
2023-12-04 13:04:00 +01:00
parent 1e7a5e12a4
commit 4b678b580d
8 changed files with 195 additions and 32 deletions
@@ -202,6 +202,11 @@ class PreorderlogisticsController extends mfBaseController {
$preorder->save();
}
if(!$preorder->cifcableurl) {
$preorder->cifcableurl = "https://www.deineglasfaser.at/kundinnen/leerrohr-nachbestellung/";
$preorder->save();
}
$plog = PreorderlogisticsModel::getFirst(["preorder_id" => $preorder->id]);
if(!$plog) {