Skip to content
Code-Schnipsel Gruppen Projekte
Commit b8600e50 erstellt von Patrick Müller's avatar Patrick Müller
Dateien durchsuchen

Merge branch 'dev'

Übergeordnete 6d19b1fd 1b82eb30
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -638,8 +638,10 @@ public function createProduct()
// Add fields for contract product type
if ($this->isAutoExtend() && Utils::isQuiqqerErpPlansInstalled()) {
ErpPlansHandler::turnIntoPlanProduct($Product, [
ErpPlansHandler::FIELD_DURATION => $this->getAttribute('duration'),
ErpPlansHandler::FIELD_AUTO_EXTEND => true
ErpPlansHandler::FIELD_DURATION => $this->getAttribute('duration'),
ErpPlansHandler::FIELD_AUTO_EXTEND => true,
ErpPlansHandler::FIELD_INVOICE_INTERVAL => $this->getAttribute('duration'),
ErpPlansHandler::FIELD_MIN_DURATION => $this->getAttribute('duration')
]);
}
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren