contractnumber provider added, old provider number field only if no previous contact exist
This commit is contained in:
+1
@@ -119,6 +119,7 @@ async function getContractById(id, decryptPassword = false) {
|
||||
provider: true,
|
||||
tariff: true,
|
||||
contractCategory: true,
|
||||
previousProvider: true,
|
||||
previousContract: {
|
||||
include: {
|
||||
energyDetails: { include: { meter: { include: { readings: true } }, invoices: true } },
|
||||
|
||||
Reference in New Issue
Block a user