Order: Save Voicenumber when saving Order and check if number exists

This commit is contained in:
Frank Schubert
2025-04-22 20:55:49 +02:00
parent eb197ac266
commit 1ad771f527
6 changed files with 124 additions and 4 deletions
+2
View File
@@ -322,6 +322,8 @@ class Contract extends mfBaseModel {
foreach($voicenumbers as $vn) {
$vn->contract_id = $this->id;
$vn->active = 1;
$vn->activated_date = date("U");
$vn->save();
}
}