@stamhoofd/backend 2.118.0 → 2.119.0
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/package.json +10 -10
- package/src/audit-logs/OrderLogger.ts +1 -1
- package/src/email-replacements/getEmailReplacementsForPayment.ts +6 -6
- package/src/endpoints/admin/members/ChargeMembersEndpoint.ts +4 -4
- package/src/endpoints/admin/memberships/ChargeMembershipsEndpoint.ts +1 -1
- package/src/endpoints/admin/organizations/ChargeOrganizationsEndpoint.ts +1 -1
- package/src/endpoints/admin/organizations/GetOrganizationsEndpoint.ts +1 -1
- package/src/endpoints/admin/organizations/PatchOrganizationsEndpoint.ts +8 -8
- package/src/endpoints/admin/registrations/ChargeRegistrationsEndpoint.ts +1 -1
- package/src/endpoints/auth/CreateAdminEndpoint.ts +3 -3
- package/src/endpoints/auth/CreateTokenEndpoint.ts +10 -10
- package/src/endpoints/auth/ForgotPasswordEndpoint.ts +2 -2
- package/src/endpoints/auth/PatchUserEndpoint.ts +9 -9
- package/src/endpoints/auth/SignupEndpoint.ts +2 -2
- package/src/endpoints/auth/VerifyEmailEndpoint.ts +3 -3
- package/src/endpoints/global/audit-logs/GetAuditLogsEndpoint.ts +1 -1
- package/src/endpoints/global/billing/ActivatePackagesEndpoint.ts +3 -3
- package/src/endpoints/global/billing/DeactivatePackageEndpoint.ts +2 -2
- package/src/endpoints/global/email/CreateEmailEndpoint.ts +4 -4
- package/src/endpoints/global/email/GetEmailAddressEndpoint.ts +2 -2
- package/src/endpoints/global/email/GetEmailEndpoint.ts +1 -1
- package/src/endpoints/global/email/GetUserEmailsEndpoint.test.ts +1 -1
- package/src/endpoints/global/email/ManageEmailAddressEndpoint.ts +3 -3
- package/src/endpoints/global/email/PatchEmailEndpoint.test.ts +1 -1
- package/src/endpoints/global/email/PatchEmailEndpoint.ts +8 -8
- package/src/endpoints/global/email-recipients/GetEmailRecipientsEndpoint.ts +1 -1
- package/src/endpoints/global/email-recipients/RetryEmailRecipientEndpoint.ts +3 -3
- package/src/endpoints/global/email-recipients/helpers/validateEmailRecipientFilter.ts +2 -2
- package/src/endpoints/global/events/GetEventNotificationsEndpoint.ts +1 -1
- package/src/endpoints/global/events/PatchEventNotificationsEndpoint.ts +13 -13
- package/src/endpoints/global/events/PatchEventsEndpoint.ts +24 -24
- package/src/endpoints/global/files/ExportToExcelEndpoint.ts +1 -1
- package/src/endpoints/global/files/UploadFile.ts +1 -1
- package/src/endpoints/global/groups/GetGroupsEndpoint.ts +1 -1
- package/src/endpoints/global/members/GetMemberFamilyEndpoint.ts +2 -2
- package/src/endpoints/global/members/GetMembersEndpoint.ts +2 -2
- package/src/endpoints/global/members/PatchOrganizationMembersEndpoint.ts +52 -52
- package/src/endpoints/global/members/helpers/validateGroupFilter.ts +2 -2
- package/src/endpoints/global/organizations/CheckRegisterCodeEndpoint.ts +1 -1
- package/src/endpoints/global/organizations/CreateOrganizationEndpoint.ts +5 -5
- package/src/endpoints/global/platform/PatchPlatformEnpoint.ts +1 -1
- package/src/endpoints/global/registration/GetRegistrationsEndpoint.ts +2 -2
- package/src/endpoints/global/registration/PatchUserMembersEndpoint.ts +4 -4
- package/src/endpoints/global/registration/RegisterMembersEndpoint.ts +18 -18
- package/src/endpoints/global/registration-periods/GetRegistrationPeriodsEndpoint.ts +1 -1
- package/src/endpoints/global/registration-periods/PatchRegistrationPeriodsEndpoint.ts +5 -5
- package/src/endpoints/organization/dashboard/balance-items/GetBalanceItemEndpoint.ts +1 -1
- package/src/endpoints/organization/dashboard/balance-items/GetBalanceItemsEndpoint.ts +1 -1
- package/src/endpoints/organization/dashboard/balance-items/PatchBalanceItemsEndpoint.ts +11 -11
- package/src/endpoints/organization/dashboard/documents/GetDocumentTemplateXML.ts +1 -1
- package/src/endpoints/organization/dashboard/documents/PatchDocumentEndpoint.ts +5 -5
- package/src/endpoints/organization/dashboard/documents/PatchDocumentTemplatesEndpoint.ts +3 -3
- package/src/endpoints/organization/dashboard/email/CheckEmailBouncesEndpoint.ts +1 -1
- package/src/endpoints/organization/dashboard/email-templates/PatchEmailTemplatesEndpoint.ts +3 -3
- package/src/endpoints/organization/dashboard/invoices/GetInvoicesEndpoint.ts +1 -1
- package/src/endpoints/organization/dashboard/organization/PatchOrganizationEndpoint.ts +16 -16
- package/src/endpoints/organization/dashboard/organization/SetOrganizationDomainEndpoint.ts +3 -3
- package/src/endpoints/organization/dashboard/organization/SetUitpasClientCredentialsEndpoint.ts +5 -5
- package/src/endpoints/organization/dashboard/payments/GetPaymentsEndpoint.ts +1 -1
- package/src/endpoints/organization/dashboard/payments/PatchPaymentsEndpoint.ts +13 -13
- package/src/endpoints/organization/dashboard/registration-periods/GetOrganizationRegistrationPeriodsEndpoint.ts +1 -1
- package/src/endpoints/organization/dashboard/registration-periods/PatchOrganizationRegistrationPeriodsEndpoint.ts +26 -26
- package/src/endpoints/organization/dashboard/stripe/DeleteStripeAccountEndpoint.ts +1 -1
- package/src/endpoints/organization/dashboard/stripe/GetStripeAccountLinkEndpoint.ts +1 -1
- package/src/endpoints/organization/dashboard/stripe/GetStripeLoginLinkEndpoint.ts +1 -1
- package/src/endpoints/organization/dashboard/stripe/UpdateStripeAccountEndpoint.ts +1 -1
- package/src/endpoints/organization/dashboard/users/CreateApiUserEndpoint.ts +1 -1
- package/src/endpoints/organization/dashboard/users/DeleteUserEndpoint.ts +2 -2
- package/src/endpoints/organization/dashboard/users/PatchApiUserEndpoint.ts +2 -2
- package/src/endpoints/organization/dashboard/webshops/CreateWebshopEndpoint.ts +4 -4
- package/src/endpoints/organization/dashboard/webshops/DeleteWebshopEndpoint.ts +1 -1
- package/src/endpoints/organization/dashboard/webshops/PatchDiscountCodesEndpoint.ts +2 -2
- package/src/endpoints/organization/dashboard/webshops/PatchWebshopEndpoint.ts +9 -9
- package/src/endpoints/organization/dashboard/webshops/PatchWebshopTicketsEndpoint.ts +1 -1
- package/src/endpoints/organization/dashboard/webshops/SearchUitpasEventsEndpoint.ts +1 -1
- package/src/endpoints/organization/shared/ExchangePaymentEndpoint.ts +1 -1
- package/src/endpoints/organization/shared/GetDocumentHtml.ts +2 -2
- package/src/endpoints/organization/shared/GetPaymentEndpoint.ts +1 -1
- package/src/endpoints/organization/webshops/CheckWebshopDiscountCodesEndpoint.ts +1 -1
- package/src/endpoints/organization/webshops/GetOrderByPaymentEndpoint.ts +2 -2
- package/src/endpoints/organization/webshops/GetOrderEndpoint.ts +1 -1
- package/src/endpoints/organization/webshops/GetTicketsEndpoint.ts +3 -3
- package/src/endpoints/organization/webshops/GetWebshopEndpoint.ts +1 -1
- package/src/endpoints/organization/webshops/PlaceOrderEndpoint.ts +8 -8
- package/src/endpoints/organization/webshops/RetrieveUitpasSocialTariffPriceEndpoint.ts +2 -2
- package/src/excel-loaders/balance-items.ts +15 -15
- package/src/excel-loaders/event-notifications.ts +11 -11
- package/src/excel-loaders/members.ts +41 -41
- package/src/excel-loaders/organizations.ts +23 -23
- package/src/excel-loaders/payments.ts +40 -40
- package/src/excel-loaders/receivable-balances.ts +21 -21
- package/src/excel-loaders/registrations.ts +26 -26
- package/src/helpers/AddressValidator.ts +6 -6
- package/src/helpers/AdminPermissionChecker.ts +4 -4
- package/src/helpers/AuthenticatedStructures.ts +9 -9
- package/src/helpers/BuckarooHelper.ts +1 -1
- package/src/helpers/Context.ts +4 -4
- package/src/helpers/FileCache.ts +7 -7
- package/src/helpers/ForwardHandler.ts +1 -1
- package/src/helpers/MembershipCharger.ts +2 -2
- package/src/helpers/SetupStepUpdater.ts +1 -1
- package/src/helpers/StripeHelper.ts +6 -6
- package/src/helpers/UitpasTokenRepository.ts +7 -7
- package/src/helpers/ViesHelper.ts +1 -1
- package/src/helpers/XlsxTransformerColumnHelper.ts +17 -17
- package/src/helpers/email-html-helpers.ts +10 -10
- package/src/helpers/updateMemberDetailsUitpasNumber.ts +1 -1
- package/src/seeds/1752848561-groups-registration-periods.ts +1 -1
- package/src/seeds/1755790070-fill-email-recipient-errors.ts +6 -6
- package/src/services/EventNotificationService.ts +3 -3
- package/src/services/FileSignService.ts +1 -1
- package/src/services/InvoiceService.ts +3 -3
- package/src/services/MemberNumberService.ts +3 -3
- package/src/services/PaymentService.ts +23 -23
- package/src/services/SSOService.ts +5 -5
- package/src/services/STPackageService.ts +2 -2
- package/src/services/uitpas/PassholderEndpoints.ts +2 -2
- package/src/services/uitpas/UitpasService.ts +5 -5
- package/src/services/uitpas/cancelTicketSales.ts +1 -1
- package/src/services/uitpas/checkPermissionsFor.ts +9 -9
- package/src/services/uitpas/getSocialTariffForEvent.ts +4 -4
- package/src/services/uitpas/getSocialTariffForUitpasNumbers.ts +5 -5
- package/src/services/uitpas/handleUitpasResponse.ts +1 -1
- package/src/services/uitpas/registerTicketSales.ts +4 -4
- package/src/services/uitpas/searchUitpasEvents.ts +3 -3
- package/src/services/uitpas/searchUitpasOrganizers.ts +3 -3
- package/src/sql-filters/base-registration-filter-compilers.ts +2 -2
- package/src/sql-filters/members.ts +6 -6
- package/src/sql-filters/orders.ts +1 -1
|
@@ -41,7 +41,7 @@ ExportToExcelEndpoint.loaders.set(ExcelExportType.Payments, {
|
|
|
41
41
|
sheets: [
|
|
42
42
|
{
|
|
43
43
|
id: 'payments',
|
|
44
|
-
name: $t(`
|
|
44
|
+
name: $t(`%1JH`),
|
|
45
45
|
columns: [
|
|
46
46
|
...getGeneralColumns(),
|
|
47
47
|
...getInvoiceColumns(),
|
|
@@ -53,7 +53,7 @@ ExportToExcelEndpoint.loaders.set(ExcelExportType.Payments, {
|
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
id: 'balanceItemPayments',
|
|
56
|
-
name: $t(`
|
|
56
|
+
name: $t(`%Ly`),
|
|
57
57
|
transform: (data: PaymentGeneral): PaymentWithItem[] => data.balanceItemPayments.map(p => ({
|
|
58
58
|
payment: data,
|
|
59
59
|
balanceItemPayment: p,
|
|
@@ -102,7 +102,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<PaymentWithItem>[] {
|
|
|
102
102
|
return [
|
|
103
103
|
{
|
|
104
104
|
id: 'id',
|
|
105
|
-
name: $t(`
|
|
105
|
+
name: $t(`%d`),
|
|
106
106
|
width: 40,
|
|
107
107
|
getValue: (object: PaymentWithItem) => ({
|
|
108
108
|
value: object.balanceItemPayment.id,
|
|
@@ -115,7 +115,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<PaymentWithItem>[] {
|
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
117
|
id: 'balanceItem.id',
|
|
118
|
-
name: $t(`
|
|
118
|
+
name: $t(`%1LE`),
|
|
119
119
|
width: 40,
|
|
120
120
|
getValue: (object: PaymentWithItem) => ({
|
|
121
121
|
value: object.balanceItemPayment.balanceItem.id,
|
|
@@ -123,7 +123,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<PaymentWithItem>[] {
|
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
id: 'paymentId',
|
|
126
|
-
name: $t(`
|
|
126
|
+
name: $t(`%wU`),
|
|
127
127
|
width: 40,
|
|
128
128
|
getValue: (object: PaymentWithItem) => ({
|
|
129
129
|
value: object.payment.id,
|
|
@@ -131,7 +131,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<PaymentWithItem>[] {
|
|
|
131
131
|
},
|
|
132
132
|
{
|
|
133
133
|
id: 'balanceItem.type',
|
|
134
|
-
name: $t(`
|
|
134
|
+
name: $t(`%1B`),
|
|
135
135
|
width: 30,
|
|
136
136
|
getValue: (object: PaymentWithItem) => ({
|
|
137
137
|
value: getBalanceItemTypeName(object.balanceItemPayment.balanceItem.type),
|
|
@@ -139,7 +139,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<PaymentWithItem>[] {
|
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
id: 'balanceItem.category',
|
|
142
|
-
name: $t(`
|
|
142
|
+
name: $t(`%M2`),
|
|
143
143
|
width: 30,
|
|
144
144
|
getValue: (object: PaymentWithItem) => {
|
|
145
145
|
return {
|
|
@@ -149,7 +149,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<PaymentWithItem>[] {
|
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
id: 'balanceItem.description',
|
|
152
|
-
name: $t(`
|
|
152
|
+
name: $t(`%6o`),
|
|
153
153
|
width: 40,
|
|
154
154
|
getValue: (object: PaymentWithItem) => ({
|
|
155
155
|
value: object.balanceItemPayment.balanceItem.description,
|
|
@@ -157,7 +157,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<PaymentWithItem>[] {
|
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
id: 'balanceItem.createdAt',
|
|
160
|
-
name: $t(`
|
|
160
|
+
name: $t(`%wV`),
|
|
161
161
|
width: 16,
|
|
162
162
|
getValue: (object: PaymentWithItem) => ({
|
|
163
163
|
value: object.balanceItemPayment.balanceItem.createdAt,
|
|
@@ -170,7 +170,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<PaymentWithItem>[] {
|
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
172
|
id: 'balanceItem.dueAt',
|
|
173
|
-
name: $t(`
|
|
173
|
+
name: $t(`%wW`),
|
|
174
174
|
width: 16,
|
|
175
175
|
getValue: (object: PaymentWithItem) => ({
|
|
176
176
|
value: object.balanceItemPayment.balanceItem.dueAt,
|
|
@@ -202,7 +202,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<PaymentWithItem>[] {
|
|
|
202
202
|
},
|
|
203
203
|
{
|
|
204
204
|
id: 'amount',
|
|
205
|
-
name: $t(`
|
|
205
|
+
name: $t(`%M4`),
|
|
206
206
|
width: 20,
|
|
207
207
|
getValue: (object: PaymentWithItem) => ({
|
|
208
208
|
value: object.balanceItemPayment.amount,
|
|
@@ -215,7 +215,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<PaymentWithItem>[] {
|
|
|
215
215
|
},
|
|
216
216
|
{
|
|
217
217
|
id: 'unitPrice',
|
|
218
|
-
name: $t(`
|
|
218
|
+
name: $t(`%6q`),
|
|
219
219
|
width: 20,
|
|
220
220
|
getValue: (object: PaymentWithItem) => ({
|
|
221
221
|
value: object.balanceItemPayment.unitPrice / 1_0000,
|
|
@@ -228,7 +228,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<PaymentWithItem>[] {
|
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
id: 'price',
|
|
231
|
-
name: $t(`
|
|
231
|
+
name: $t(`%1IP`),
|
|
232
232
|
width: 20,
|
|
233
233
|
getValue: (object: PaymentWithItem) => ({
|
|
234
234
|
value: object.balanceItemPayment.price / 1_0000,
|
|
@@ -246,7 +246,7 @@ function getGeneralColumns(): XlsxTransformerConcreteColumn<PaymentGeneral>[] {
|
|
|
246
246
|
return [
|
|
247
247
|
{
|
|
248
248
|
id: 'id',
|
|
249
|
-
name: $t(`
|
|
249
|
+
name: $t(`%d`),
|
|
250
250
|
width: 40,
|
|
251
251
|
getValue: (object: PaymentGeneralWithStripeAccount) => ({
|
|
252
252
|
value: object.id,
|
|
@@ -259,7 +259,7 @@ function getGeneralColumns(): XlsxTransformerConcreteColumn<PaymentGeneral>[] {
|
|
|
259
259
|
},
|
|
260
260
|
{
|
|
261
261
|
id: 'price',
|
|
262
|
-
name: $t(`
|
|
262
|
+
name: $t(`%1JL`),
|
|
263
263
|
width: 10,
|
|
264
264
|
getValue: (object: PaymentGeneralWithStripeAccount) => ({
|
|
265
265
|
value: object.price / 1_0000,
|
|
@@ -272,7 +272,7 @@ function getGeneralColumns(): XlsxTransformerConcreteColumn<PaymentGeneral>[] {
|
|
|
272
272
|
},
|
|
273
273
|
{
|
|
274
274
|
id: 'status',
|
|
275
|
-
name: $t(`
|
|
275
|
+
name: $t(`%1A`),
|
|
276
276
|
width: 18,
|
|
277
277
|
getValue: (object: PaymentGeneralWithStripeAccount) => ({
|
|
278
278
|
value: PaymentStatusHelper.getNameCapitalized(object.status),
|
|
@@ -280,7 +280,7 @@ function getGeneralColumns(): XlsxTransformerConcreteColumn<PaymentGeneral>[] {
|
|
|
280
280
|
},
|
|
281
281
|
{
|
|
282
282
|
id: 'method',
|
|
283
|
-
name: $t(`
|
|
283
|
+
name: $t(`%M7`),
|
|
284
284
|
width: 18,
|
|
285
285
|
getValue: (object: PaymentGeneralWithStripeAccount) => ({
|
|
286
286
|
value: PaymentMethodHelper.getNameCapitalized(object.method),
|
|
@@ -288,7 +288,7 @@ function getGeneralColumns(): XlsxTransformerConcreteColumn<PaymentGeneral>[] {
|
|
|
288
288
|
},
|
|
289
289
|
{
|
|
290
290
|
id: 'provider',
|
|
291
|
-
name: $t(`
|
|
291
|
+
name: $t(`%wX`),
|
|
292
292
|
width: 16,
|
|
293
293
|
getValue: (object: PaymentGeneralWithStripeAccount) => ({
|
|
294
294
|
value: object.provider ?? PaymentMethodHelper.getNameCapitalized(object.method),
|
|
@@ -296,7 +296,7 @@ function getGeneralColumns(): XlsxTransformerConcreteColumn<PaymentGeneral>[] {
|
|
|
296
296
|
},
|
|
297
297
|
{
|
|
298
298
|
id: 'createdAt',
|
|
299
|
-
name: $t(`
|
|
299
|
+
name: $t(`%1JJ`),
|
|
300
300
|
width: 16,
|
|
301
301
|
getValue: (object: PaymentGeneralWithStripeAccount) => ({
|
|
302
302
|
value: object.createdAt,
|
|
@@ -309,7 +309,7 @@ function getGeneralColumns(): XlsxTransformerConcreteColumn<PaymentGeneral>[] {
|
|
|
309
309
|
},
|
|
310
310
|
{
|
|
311
311
|
id: 'paidAt',
|
|
312
|
-
name: $t(`
|
|
312
|
+
name: $t(`%wY`),
|
|
313
313
|
width: 16,
|
|
314
314
|
getValue: (object: PaymentGeneralWithStripeAccount) => ({
|
|
315
315
|
value: object.paidAt,
|
|
@@ -322,7 +322,7 @@ function getGeneralColumns(): XlsxTransformerConcreteColumn<PaymentGeneral>[] {
|
|
|
322
322
|
},
|
|
323
323
|
{
|
|
324
324
|
id: 'description',
|
|
325
|
-
name: $t(`
|
|
325
|
+
name: $t(`%X`),
|
|
326
326
|
width: 60,
|
|
327
327
|
getValue: (object: PaymentGeneralWithStripeAccount) => ({
|
|
328
328
|
value: object.balanceItemPayments.map(p => p.toString()).join('\n'),
|
|
@@ -340,7 +340,7 @@ function getSettlementColumns(): XlsxTransformerColumn<PaymentGeneral>[] {
|
|
|
340
340
|
return [
|
|
341
341
|
{
|
|
342
342
|
id: 'settlement.reference',
|
|
343
|
-
name: $t(`
|
|
343
|
+
name: $t(`%M8`),
|
|
344
344
|
width: 21,
|
|
345
345
|
getValue: (object: PaymentGeneralWithStripeAccount) => {
|
|
346
346
|
return {
|
|
@@ -350,7 +350,7 @@ function getSettlementColumns(): XlsxTransformerColumn<PaymentGeneral>[] {
|
|
|
350
350
|
},
|
|
351
351
|
{
|
|
352
352
|
id: 'settlement.settledAt',
|
|
353
|
-
name: $t(`
|
|
353
|
+
name: $t(`%MB`),
|
|
354
354
|
width: 16,
|
|
355
355
|
getValue: (object: PaymentGeneralWithStripeAccount) => {
|
|
356
356
|
return {
|
|
@@ -365,7 +365,7 @@ function getSettlementColumns(): XlsxTransformerColumn<PaymentGeneral>[] {
|
|
|
365
365
|
},
|
|
366
366
|
{
|
|
367
367
|
id: 'settlement.amount',
|
|
368
|
-
name: $t(`
|
|
368
|
+
name: $t(`%MD`),
|
|
369
369
|
width: 18,
|
|
370
370
|
getValue: (object: PaymentGeneralWithStripeAccount) => {
|
|
371
371
|
return {
|
|
@@ -385,7 +385,7 @@ function getStripeColumns(): XlsxTransformerColumn<PaymentGeneral>[] {
|
|
|
385
385
|
return [
|
|
386
386
|
{
|
|
387
387
|
id: 'transferFee',
|
|
388
|
-
name: $t(`
|
|
388
|
+
name: $t(`%wZ`),
|
|
389
389
|
width: 16,
|
|
390
390
|
getValue: (object: PaymentGeneralWithStripeAccount) => {
|
|
391
391
|
return {
|
|
@@ -400,7 +400,7 @@ function getStripeColumns(): XlsxTransformerColumn<PaymentGeneral>[] {
|
|
|
400
400
|
},
|
|
401
401
|
{
|
|
402
402
|
id: 'stripeAccountId',
|
|
403
|
-
name: $t(`
|
|
403
|
+
name: $t(`%1m`),
|
|
404
404
|
width: 20,
|
|
405
405
|
getValue: (object: PaymentGeneralWithStripeAccount) => {
|
|
406
406
|
return {
|
|
@@ -410,7 +410,7 @@ function getStripeColumns(): XlsxTransformerColumn<PaymentGeneral>[] {
|
|
|
410
410
|
},
|
|
411
411
|
{
|
|
412
412
|
id: 'iban',
|
|
413
|
-
name: $t(`
|
|
413
|
+
name: $t(`%MH`),
|
|
414
414
|
width: 20,
|
|
415
415
|
getValue: (object: PaymentGeneralWithStripeAccount) => {
|
|
416
416
|
return {
|
|
@@ -420,7 +420,7 @@ function getStripeColumns(): XlsxTransformerColumn<PaymentGeneral>[] {
|
|
|
420
420
|
},
|
|
421
421
|
{
|
|
422
422
|
id: 'ibanName',
|
|
423
|
-
name: $t(`
|
|
423
|
+
name: $t(`%MJ`),
|
|
424
424
|
width: 20,
|
|
425
425
|
getValue: (object: PaymentGeneralWithStripeAccount) => {
|
|
426
426
|
return {
|
|
@@ -435,7 +435,7 @@ function getTransferColumns(): XlsxTransformerColumn<PaymentGeneral>[] {
|
|
|
435
435
|
return [
|
|
436
436
|
{
|
|
437
437
|
id: 'transferDescription',
|
|
438
|
-
name: $t(`
|
|
438
|
+
name: $t(`%J8`),
|
|
439
439
|
width: 25,
|
|
440
440
|
getValue: (object: PaymentGeneralWithStripeAccount) => {
|
|
441
441
|
return {
|
|
@@ -445,7 +445,7 @@ function getTransferColumns(): XlsxTransformerColumn<PaymentGeneral>[] {
|
|
|
445
445
|
},
|
|
446
446
|
{
|
|
447
447
|
id: 'transferSettings.creditor',
|
|
448
|
-
name: $t(`
|
|
448
|
+
name: $t(`%J5`),
|
|
449
449
|
width: 25,
|
|
450
450
|
getValue: (object: PaymentGeneralWithStripeAccount) => {
|
|
451
451
|
if (!object.transferSettings && object.stripeAccount && object.stripeAccount?.meta.bank_account_bank_name) {
|
|
@@ -461,7 +461,7 @@ function getTransferColumns(): XlsxTransformerColumn<PaymentGeneral>[] {
|
|
|
461
461
|
},
|
|
462
462
|
{
|
|
463
463
|
id: 'transferSettings.iban',
|
|
464
|
-
name: $t(`
|
|
464
|
+
name: $t(`%MO`),
|
|
465
465
|
width: 30,
|
|
466
466
|
getValue: (object: PaymentGeneralWithStripeAccount) => {
|
|
467
467
|
if (!object.transferSettings && object.stripeAccount && object.stripeAccount?.meta.bank_account_last4) {
|
|
@@ -482,7 +482,7 @@ function getPayingOrganizationColumns(): XlsxTransformerColumn<PaymentGeneral>[]
|
|
|
482
482
|
return [
|
|
483
483
|
{
|
|
484
484
|
id: 'payingOrganization.id',
|
|
485
|
-
name: $t(`
|
|
485
|
+
name: $t(`%MQ`),
|
|
486
486
|
width: 40,
|
|
487
487
|
getValue: (object: PaymentGeneralWithStripeAccount) => {
|
|
488
488
|
return {
|
|
@@ -492,7 +492,7 @@ function getPayingOrganizationColumns(): XlsxTransformerColumn<PaymentGeneral>[]
|
|
|
492
492
|
},
|
|
493
493
|
{
|
|
494
494
|
id: 'payingOrganization.name',
|
|
495
|
-
name: $t(`
|
|
495
|
+
name: $t(`%MT`),
|
|
496
496
|
width: 30,
|
|
497
497
|
getValue: (object: PaymentGeneralWithStripeAccount) => {
|
|
498
498
|
return {
|
|
@@ -502,7 +502,7 @@ function getPayingOrganizationColumns(): XlsxTransformerColumn<PaymentGeneral>[]
|
|
|
502
502
|
},
|
|
503
503
|
{
|
|
504
504
|
id: 'payingOrganization.uri',
|
|
505
|
-
name: $t(`
|
|
505
|
+
name: $t(`%MS`),
|
|
506
506
|
width: 30,
|
|
507
507
|
getValue: (object: PaymentGeneralWithStripeAccount) => {
|
|
508
508
|
return {
|
|
@@ -521,7 +521,7 @@ function getInvoiceColumns(): XlsxTransformerColumn<PaymentGeneral>[] {
|
|
|
521
521
|
return [
|
|
522
522
|
{
|
|
523
523
|
id: 'customer.name',
|
|
524
|
-
name: $t(`
|
|
524
|
+
name: $t(`%Gq`),
|
|
525
525
|
width: 30,
|
|
526
526
|
getValue: (object: PaymentGeneralWithStripeAccount) => {
|
|
527
527
|
return {
|
|
@@ -531,7 +531,7 @@ function getInvoiceColumns(): XlsxTransformerColumn<PaymentGeneral>[] {
|
|
|
531
531
|
},
|
|
532
532
|
{
|
|
533
533
|
id: 'customer.email',
|
|
534
|
-
name: $t(`
|
|
534
|
+
name: $t(`%1FK`),
|
|
535
535
|
width: 40,
|
|
536
536
|
getValue: (object: PaymentGeneralWithStripeAccount) => {
|
|
537
537
|
return {
|
|
@@ -541,7 +541,7 @@ function getInvoiceColumns(): XlsxTransformerColumn<PaymentGeneral>[] {
|
|
|
541
541
|
},
|
|
542
542
|
{
|
|
543
543
|
id: 'customer.company.name',
|
|
544
|
-
name: $t(`
|
|
544
|
+
name: $t(`%1JI`),
|
|
545
545
|
width: 30,
|
|
546
546
|
getValue: (object: PaymentGeneralWithStripeAccount) => {
|
|
547
547
|
return {
|
|
@@ -551,7 +551,7 @@ function getInvoiceColumns(): XlsxTransformerColumn<PaymentGeneral>[] {
|
|
|
551
551
|
},
|
|
552
552
|
{
|
|
553
553
|
id: 'customer.company.VATNumber',
|
|
554
|
-
name: $t(`
|
|
554
|
+
name: $t(`%1CK`),
|
|
555
555
|
width: 20,
|
|
556
556
|
getValue: (object: PaymentGeneralWithStripeAccount) => {
|
|
557
557
|
return {
|
|
@@ -561,7 +561,7 @@ function getInvoiceColumns(): XlsxTransformerColumn<PaymentGeneral>[] {
|
|
|
561
561
|
},
|
|
562
562
|
{
|
|
563
563
|
id: 'customer.company.companyNumber',
|
|
564
|
-
name: $t(`
|
|
564
|
+
name: $t(`%wa`),
|
|
565
565
|
width: 20,
|
|
566
566
|
getValue: (object: PaymentGeneralWithStripeAccount) => {
|
|
567
567
|
return {
|
|
@@ -575,7 +575,7 @@ function getInvoiceColumns(): XlsxTransformerColumn<PaymentGeneral>[] {
|
|
|
575
575
|
}),
|
|
576
576
|
{
|
|
577
577
|
id: 'customer.company.administrationEmail',
|
|
578
|
-
name: $t(`
|
|
578
|
+
name: $t(`%wb`),
|
|
579
579
|
width: 30,
|
|
580
580
|
getValue: (object: PaymentGeneralWithStripeAccount) => {
|
|
581
581
|
return {
|
|
@@ -20,12 +20,12 @@ ExportToExcelEndpoint.loaders.set(ExcelExportType.ReceivableBalances, {
|
|
|
20
20
|
sheets: [
|
|
21
21
|
{
|
|
22
22
|
id: 'receivableBalances',
|
|
23
|
-
name: $t(`
|
|
23
|
+
name: $t(`%99`),
|
|
24
24
|
columns: getGeneralColumns(),
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
id: 'balanceItems',
|
|
28
|
-
name: $t(`
|
|
28
|
+
name: $t(`%Mg`),
|
|
29
29
|
transform: (data: DetailedReceivableBalance): ReceivableBalanceWithItem[] => data.balanceItems.map(balanceItem => ({
|
|
30
30
|
receivableBalance: data,
|
|
31
31
|
balanceItem,
|
|
@@ -53,7 +53,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<ReceivableBalanceWithIte
|
|
|
53
53
|
return [
|
|
54
54
|
{
|
|
55
55
|
id: 'id',
|
|
56
|
-
name: $t(`
|
|
56
|
+
name: $t(`%d`),
|
|
57
57
|
width: 40,
|
|
58
58
|
getValue: (object: ReceivableBalanceWithItem) => ({
|
|
59
59
|
value: object.balanceItem.id,
|
|
@@ -66,7 +66,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<ReceivableBalanceWithIte
|
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
id: 'type',
|
|
69
|
-
name: $t(`
|
|
69
|
+
name: $t(`%1B`),
|
|
70
70
|
width: 30,
|
|
71
71
|
getValue: (object: ReceivableBalanceWithItem) => ({
|
|
72
72
|
value: getBalanceItemTypeName(object.balanceItem.type),
|
|
@@ -74,7 +74,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<ReceivableBalanceWithIte
|
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
id: 'category',
|
|
77
|
-
name: $t(`
|
|
77
|
+
name: $t(`%M2`),
|
|
78
78
|
width: 30,
|
|
79
79
|
getValue: (object: ReceivableBalanceWithItem) => {
|
|
80
80
|
return {
|
|
@@ -84,7 +84,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<ReceivableBalanceWithIte
|
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
id: 'description',
|
|
87
|
-
name: $t(`
|
|
87
|
+
name: $t(`%6o`),
|
|
88
88
|
width: 40,
|
|
89
89
|
getValue: (object: ReceivableBalanceWithItem) => ({
|
|
90
90
|
value: object.balanceItem.description,
|
|
@@ -92,7 +92,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<ReceivableBalanceWithIte
|
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
id: 'amount',
|
|
95
|
-
name: $t(`
|
|
95
|
+
name: $t(`%M4`),
|
|
96
96
|
width: 20,
|
|
97
97
|
getValue: (object: ReceivableBalanceWithItem) => ({
|
|
98
98
|
value: object.balanceItem.amount,
|
|
@@ -105,7 +105,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<ReceivableBalanceWithIte
|
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
id: 'unitPrice',
|
|
108
|
-
name: $t(`
|
|
108
|
+
name: $t(`%6q`),
|
|
109
109
|
width: 20,
|
|
110
110
|
getValue: (object: ReceivableBalanceWithItem) => ({
|
|
111
111
|
value: object.balanceItem.unitPrice / 1_0000,
|
|
@@ -118,7 +118,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<ReceivableBalanceWithIte
|
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
id: 'price',
|
|
121
|
-
name: $t(`
|
|
121
|
+
name: $t(`%1IP`),
|
|
122
122
|
width: 20,
|
|
123
123
|
getValue: (object: ReceivableBalanceWithItem) => ({
|
|
124
124
|
value: object.balanceItem.priceWithVAT / 1_0000,
|
|
@@ -131,7 +131,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<ReceivableBalanceWithIte
|
|
|
131
131
|
},
|
|
132
132
|
{
|
|
133
133
|
id: 'pricePaid',
|
|
134
|
-
name: $t(`
|
|
134
|
+
name: $t(`%Ml`),
|
|
135
135
|
width: 20,
|
|
136
136
|
getValue: (object: ReceivableBalanceWithItem) => ({
|
|
137
137
|
value: object.balanceItem.pricePaid / 1_0000,
|
|
@@ -144,7 +144,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<ReceivableBalanceWithIte
|
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
id: 'pricePending',
|
|
147
|
-
name: $t(`
|
|
147
|
+
name: $t(`%wc`),
|
|
148
148
|
width: 20,
|
|
149
149
|
getValue: (object: ReceivableBalanceWithItem) => ({
|
|
150
150
|
value: object.balanceItem.pricePending / 1_0000,
|
|
@@ -157,7 +157,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<ReceivableBalanceWithIte
|
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
id: 'priceOpen',
|
|
160
|
-
name: $t(`
|
|
160
|
+
name: $t(`%76`),
|
|
161
161
|
width: 20,
|
|
162
162
|
getValue: (object: ReceivableBalanceWithItem) => ({
|
|
163
163
|
value: object.balanceItem.priceOpen / 1_0000,
|
|
@@ -170,7 +170,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<ReceivableBalanceWithIte
|
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
172
|
id: 'createdAt',
|
|
173
|
-
name: $t(`
|
|
173
|
+
name: $t(`%1JJ`),
|
|
174
174
|
width: 20,
|
|
175
175
|
getValue: (object: ReceivableBalanceWithItem) => ({
|
|
176
176
|
value: object.balanceItem.createdAt,
|
|
@@ -183,7 +183,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<ReceivableBalanceWithIte
|
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
185
|
id: 'dueAt',
|
|
186
|
-
name: $t(`
|
|
186
|
+
name: $t(`%wW`),
|
|
187
187
|
width: 20,
|
|
188
188
|
getValue: (object: ReceivableBalanceWithItem) => ({
|
|
189
189
|
value: object.balanceItem.dueAt,
|
|
@@ -196,7 +196,7 @@ function getBalanceItemColumns(): XlsxTransformerColumn<ReceivableBalanceWithIte
|
|
|
196
196
|
},
|
|
197
197
|
{
|
|
198
198
|
id: 'status',
|
|
199
|
-
name: $t(`
|
|
199
|
+
name: $t(`%1A`),
|
|
200
200
|
width: 20,
|
|
201
201
|
getValue: (object: ReceivableBalanceWithItem) => ({
|
|
202
202
|
value: getBalanceItemStatusName(object.balanceItem.status),
|
|
@@ -229,7 +229,7 @@ function getGeneralColumns(): XlsxTransformerConcreteColumn<ReceivableBalance>[]
|
|
|
229
229
|
return [
|
|
230
230
|
{
|
|
231
231
|
id: 'id',
|
|
232
|
-
name: $t(`
|
|
232
|
+
name: $t(`%wd`),
|
|
233
233
|
width: 40,
|
|
234
234
|
getValue: (object: ReceivableBalance) => ({
|
|
235
235
|
value: object.id,
|
|
@@ -242,7 +242,7 @@ function getGeneralColumns(): XlsxTransformerConcreteColumn<ReceivableBalance>[]
|
|
|
242
242
|
},
|
|
243
243
|
{
|
|
244
244
|
id: 'name',
|
|
245
|
-
name: $t(`
|
|
245
|
+
name: $t(`%Mn`),
|
|
246
246
|
width: 40,
|
|
247
247
|
getValue: (object: ReceivableBalance) => ({
|
|
248
248
|
value: object.object.name,
|
|
@@ -250,7 +250,7 @@ function getGeneralColumns(): XlsxTransformerConcreteColumn<ReceivableBalance>[]
|
|
|
250
250
|
},
|
|
251
251
|
{
|
|
252
252
|
id: 'uri',
|
|
253
|
-
name: $t(`
|
|
253
|
+
name: $t(`%7C`),
|
|
254
254
|
width: 16,
|
|
255
255
|
getValue: (object: ReceivableBalance) => ({
|
|
256
256
|
value: object.object.uri,
|
|
@@ -258,7 +258,7 @@ function getGeneralColumns(): XlsxTransformerConcreteColumn<ReceivableBalance>[]
|
|
|
258
258
|
},
|
|
259
259
|
{
|
|
260
260
|
id: 'amountOpen',
|
|
261
|
-
name: $t(`
|
|
261
|
+
name: $t(`%76`),
|
|
262
262
|
width: 10,
|
|
263
263
|
getValue: (object: ReceivableBalance) => ({
|
|
264
264
|
value: object.amountOpen / 1_0000,
|
|
@@ -271,7 +271,7 @@ function getGeneralColumns(): XlsxTransformerConcreteColumn<ReceivableBalance>[]
|
|
|
271
271
|
},
|
|
272
272
|
{
|
|
273
273
|
id: 'amountPending',
|
|
274
|
-
name: $t(`
|
|
274
|
+
name: $t(`%wc`),
|
|
275
275
|
width: 18,
|
|
276
276
|
getValue: (object: ReceivableBalance) => ({
|
|
277
277
|
value: object.amountPending / 1_0000,
|
|
@@ -284,7 +284,7 @@ function getGeneralColumns(): XlsxTransformerConcreteColumn<ReceivableBalance>[]
|
|
|
284
284
|
},
|
|
285
285
|
{
|
|
286
286
|
id: 'objectType',
|
|
287
|
-
name: $t(`
|
|
287
|
+
name: $t(`%1f`),
|
|
288
288
|
width: 10,
|
|
289
289
|
getValue: (object: ReceivableBalance) => ({
|
|
290
290
|
value: getReceivableBalanceTypeName(object.objectType),
|