added contract history
This commit is contained in:
@@ -626,7 +626,7 @@ export async function createFollowUpContract(previousContractId: number) {
|
||||
// Explicitly NOT copying: providerName, tariffName, portalUsername, portalPassword, price fields
|
||||
cancellationPeriodId: previousContract.cancellationPeriodId ?? undefined,
|
||||
contractDurationId: previousContract.contractDurationId ?? undefined,
|
||||
notes: `Folgevertrag zu ${previousContract.contractNumber}`,
|
||||
// notes nicht mehr automatisch setzen - wird jetzt über Historie-Eintrag dokumentiert
|
||||
};
|
||||
|
||||
// Copy type-specific details (without credentials)
|
||||
|
||||
Reference in New Issue
Block a user