WIP Contractqueue & snopp api

This commit is contained in:
Frank Schubert
2024-04-05 12:21:54 +02:00
parent e69b271295
commit 059b26ba33
13 changed files with 795 additions and 89 deletions

View File

@@ -13,7 +13,20 @@ class Contractqueue extends mfBaseModel {
private $sla;
private $creator;
private $editor;
protected function afterSave() {
$this->crediting_partner = null;
$this->reseller = null;
$this->owner = null;
$this->billingaddress = null;
$this->product = null;
$this->orderproduct = null;
$this->termination = null;
$this->sla = null;
$this->creator = null;
$this->editor = null;
}
public function generateMatchcode() {
$owner_address = $this->getProperty("owner")->street.", ".$this->getProperty("owner")->zip." ".$this->getProperty("owner")->city;