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

refactor: use clean contract ID when connecting a membership with a contract

Übergeordneter 24a6e31b
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -314,7 +314,7 @@ public static function onQuiqqerContractCreateFromOrder(Contract $Contract, Orde
$Membership = $Memberships->getChild($ProductMembershipField->getValue());
$MembershipUser = $Membership->getMembershipUser($Customer->getId());
$MembershipUser->setAttribute('contractId', $Contract->getId());
$MembershipUser->setAttribute('contractId', $Contract->getCleanId());
$MembershipUser->update(false);
break;
......
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