@open-mercato/core 0.6.6-develop.5483.1.a1129165ea → 0.6.6-develop.5503.1.6cdc4dda5f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/modules/auth/api/login.js +4 -13
- package/dist/modules/auth/api/login.js.map +2 -2
- package/dist/modules/auth/services/authService.js +4 -2
- package/dist/modules/auth/services/authService.js.map +2 -2
- package/dist/modules/customers/backend/customers/people-v2/[id]/page.js +18 -0
- package/dist/modules/customers/backend/customers/people-v2/[id]/page.js.map +2 -2
- package/dist/modules/customers/components/detail/PersonDetailTabs.js +11 -3
- package/dist/modules/customers/components/detail/PersonDetailTabs.js.map +2 -2
- package/dist/modules/sales/commands/documents.js +7 -5
- package/dist/modules/sales/commands/documents.js.map +2 -2
- package/package.json +7 -7
- package/src/modules/auth/api/login.ts +13 -13
- package/src/modules/auth/i18n/de.json +0 -1
- package/src/modules/auth/i18n/en.json +0 -1
- package/src/modules/auth/i18n/es.json +0 -1
- package/src/modules/auth/i18n/pl.json +0 -1
- package/src/modules/auth/services/authService.ts +14 -3
- package/src/modules/customers/backend/customers/people-v2/[id]/page.tsx +18 -0
- package/src/modules/customers/components/detail/PersonDetailTabs.tsx +12 -2
- package/src/modules/sales/commands/documents.ts +7 -5
|
@@ -207,11 +207,13 @@ async function resolveCustomerSnapshot(em, organizationId, tenantId, customerEnt
|
|
|
207
207
|
}
|
|
208
208
|
async function resolveAddressSnapshot(em, organizationId, tenantId, addressId) {
|
|
209
209
|
if (!addressId) return null;
|
|
210
|
-
const address = await
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
tenantId
|
|
214
|
-
|
|
210
|
+
const address = await findOneWithDecryption(
|
|
211
|
+
em,
|
|
212
|
+
CustomerAddress,
|
|
213
|
+
{ id: addressId, organizationId, tenantId },
|
|
214
|
+
void 0,
|
|
215
|
+
{ tenantId, organizationId }
|
|
216
|
+
);
|
|
215
217
|
if (!address) return null;
|
|
216
218
|
return {
|
|
217
219
|
id: address.id,
|