@hed-hog/finance 0.0.300 → 0.0.301
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/finance.contract-activated.subscriber.d.ts +24 -0
- package/dist/finance.contract-activated.subscriber.d.ts.map +1 -0
- package/dist/finance.contract-activated.subscriber.js +519 -0
- package/dist/finance.contract-activated.subscriber.js.map +1 -0
- package/dist/finance.contract-activated.subscriber.spec.d.ts +2 -0
- package/dist/finance.contract-activated.subscriber.spec.d.ts.map +1 -0
- package/dist/finance.contract-activated.subscriber.spec.js +302 -0
- package/dist/finance.contract-activated.subscriber.spec.js.map +1 -0
- package/dist/finance.module.d.ts.map +1 -1
- package/dist/finance.module.js +6 -1
- package/dist/finance.module.js.map +1 -1
- package/hedhog/frontend/app/_components/finance-layout.tsx.ejs +108 -0
- package/hedhog/frontend/app/accounts-payable/approvals/page.tsx.ejs +91 -106
- package/hedhog/frontend/app/accounts-payable/installments/page.tsx.ejs +1306 -1145
- package/hedhog/frontend/app/accounts-receivable/collections-default/page.tsx.ejs +288 -268
- package/hedhog/frontend/app/accounts-receivable/installments/page.tsx.ejs +491 -351
- package/hedhog/frontend/app/administration/audit-logs/page.tsx.ejs +157 -173
- package/hedhog/frontend/app/administration/categories/page.tsx.ejs +44 -62
- package/hedhog/frontend/app/administration/cost-centers/page.tsx.ejs +62 -80
- package/hedhog/frontend/app/administration/period-close/page.tsx.ejs +151 -170
- package/hedhog/frontend/app/cash-and-banks/bank-accounts/page.tsx.ejs +332 -286
- package/hedhog/frontend/app/cash-and-banks/bank-reconciliation/page.tsx.ejs +204 -226
- package/hedhog/frontend/app/cash-and-banks/statements/page.tsx.ejs +122 -140
- package/hedhog/frontend/app/cash-and-banks/transfers/page.tsx.ejs +32 -49
- package/hedhog/frontend/app/planning/cash-flow-forecast/page.tsx.ejs +84 -108
- package/hedhog/frontend/app/planning/receivables-calendar/page.tsx.ejs +53 -70
- package/hedhog/frontend/app/planning/scenarios/page.tsx.ejs +98 -95
- package/hedhog/frontend/app/reports/actual-vs-forecast/page.tsx.ejs +100 -125
- package/hedhog/frontend/app/reports/aging-default/page.tsx.ejs +77 -105
- package/hedhog/frontend/app/reports/cash-position/page.tsx.ejs +99 -134
- package/hedhog/frontend/app/reports/overview-results/page.tsx.ejs +147 -182
- package/hedhog/frontend/app/reports/top-customers/page.tsx.ejs +49 -61
- package/hedhog/frontend/app/reports/top-operational-expenses/page.tsx.ejs +49 -67
- package/hedhog/frontend/messages/en.json +176 -68
- package/hedhog/frontend/messages/pt.json +176 -68
- package/package.json +7 -6
- package/src/finance.contract-activated.subscriber.spec.ts +392 -0
- package/src/finance.contract-activated.subscriber.ts +780 -0
- package/src/finance.module.ts +6 -1
|
@@ -130,11 +130,12 @@
|
|
|
130
130
|
"actions": "Ações"
|
|
131
131
|
}
|
|
132
132
|
},
|
|
133
|
-
"empty": {
|
|
134
|
-
"title": "Tudo em dia!",
|
|
135
|
-
"description": "Não há aprovações pendentes."
|
|
136
|
-
|
|
137
|
-
|
|
133
|
+
"empty": {
|
|
134
|
+
"title": "Tudo em dia!",
|
|
135
|
+
"description": "Não há aprovações pendentes.",
|
|
136
|
+
"refresh": "Atualizar"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
138
139
|
"PersonFieldWithCreate": {
|
|
139
140
|
"sheet": {
|
|
140
141
|
"title": "Novo {entityLabel}",
|
|
@@ -269,33 +270,71 @@
|
|
|
269
270
|
"cash": "Dinheiro",
|
|
270
271
|
"check": "Cheque"
|
|
271
272
|
},
|
|
272
|
-
"header": {
|
|
273
|
-
"title": "Títulos a Pagar",
|
|
274
|
-
"description": "Gerencie suas contas a pagar"
|
|
275
|
-
},
|
|
276
|
-
"
|
|
277
|
-
"
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
273
|
+
"header": {
|
|
274
|
+
"title": "Títulos a Pagar",
|
|
275
|
+
"description": "Gerencie suas contas a pagar"
|
|
276
|
+
},
|
|
277
|
+
"summary": {
|
|
278
|
+
"cards": {
|
|
279
|
+
"visible": {
|
|
280
|
+
"title": "Títulos exibidos",
|
|
281
|
+
"description": "{total} registros no total"
|
|
282
|
+
},
|
|
283
|
+
"value": {
|
|
284
|
+
"title": "Valor visível",
|
|
285
|
+
"description": "Somatório da página atual"
|
|
286
|
+
},
|
|
287
|
+
"attention": {
|
|
288
|
+
"title": "Pendentes",
|
|
289
|
+
"description": "{overdue} com atraso"
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"breadcrumbs": {
|
|
294
|
+
"home": "Início",
|
|
295
|
+
"finance": "Financeiro",
|
|
296
|
+
"current": "Títulos a Pagar"
|
|
297
|
+
},
|
|
281
298
|
"filters": {
|
|
282
299
|
"searchPlaceholder": "Buscar por documento ou fornecedor...",
|
|
283
300
|
"status": "Status"
|
|
284
301
|
},
|
|
285
|
-
"statuses": {
|
|
286
|
-
"all": "Todos",
|
|
287
|
-
"rascunho": "Rascunho",
|
|
288
|
-
"aprovado": "Aprovado",
|
|
289
|
-
"aberto": "Aberto",
|
|
302
|
+
"statuses": {
|
|
303
|
+
"all": "Todos",
|
|
304
|
+
"rascunho": "Rascunho",
|
|
305
|
+
"aprovado": "Aprovado",
|
|
306
|
+
"aberto": "Aberto",
|
|
290
307
|
"parcial": "Parcial",
|
|
291
308
|
"liquidado": "Liquidado",
|
|
292
|
-
"vencido": "Vencido",
|
|
293
|
-
"cancelado": "Cancelado"
|
|
294
|
-
},
|
|
295
|
-
"
|
|
296
|
-
"
|
|
297
|
-
|
|
298
|
-
|
|
309
|
+
"vencido": "Vencido",
|
|
310
|
+
"cancelado": "Cancelado"
|
|
311
|
+
},
|
|
312
|
+
"list": {
|
|
313
|
+
"title": "Carteira de títulos",
|
|
314
|
+
"description": "Acompanhe documentos, vencimentos e ações operacionais da página atual."
|
|
315
|
+
},
|
|
316
|
+
"sections": {
|
|
317
|
+
"main": {
|
|
318
|
+
"title": "Dados principais",
|
|
319
|
+
"description": "Informe documento, fornecedor, datas e valor total do título."
|
|
320
|
+
},
|
|
321
|
+
"installments": {
|
|
322
|
+
"title": "Parcelas",
|
|
323
|
+
"description": "Revise o cronograma de vencimentos e ajuste os valores antes de salvar."
|
|
324
|
+
},
|
|
325
|
+
"classification": {
|
|
326
|
+
"title": "Classificação financeira",
|
|
327
|
+
"description": "Associe categoria, centro de custo e forma de pagamento para organizar a operação."
|
|
328
|
+
},
|
|
329
|
+
"notes": {
|
|
330
|
+
"title": "Observações",
|
|
331
|
+
"description": "Use este campo para complementar o contexto do título quando necessário."
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
"table": {
|
|
335
|
+
"headers": {
|
|
336
|
+
"document": "Documento",
|
|
337
|
+
"supplier": "Fornecedor",
|
|
299
338
|
"competency": "Competência",
|
|
300
339
|
"dueDate": "Vencimento",
|
|
301
340
|
"value": "Valor",
|
|
@@ -333,12 +372,18 @@
|
|
|
333
372
|
"confirm": "Confirmar estorno"
|
|
334
373
|
}
|
|
335
374
|
},
|
|
336
|
-
"settleSheet": {
|
|
337
|
-
"title": "Registrar baixa",
|
|
338
|
-
"description": "Informe a parcela e o valor da baixa para o título {document}.",
|
|
339
|
-
"
|
|
340
|
-
|
|
341
|
-
|
|
375
|
+
"settleSheet": {
|
|
376
|
+
"title": "Registrar baixa",
|
|
377
|
+
"description": "Informe a parcela e o valor da baixa para o título {document}.",
|
|
378
|
+
"sections": {
|
|
379
|
+
"payment": {
|
|
380
|
+
"title": "Dados da baixa",
|
|
381
|
+
"description": "Selecione a parcela disponível e confirme o valor a ser liquidado."
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
"installmentLabel": "Parcela",
|
|
385
|
+
"installmentPlaceholder": "Selecione",
|
|
386
|
+
"installmentOption": "Parcela {number} - em aberto: {amount}",
|
|
342
387
|
"amountLabel": "Valor",
|
|
343
388
|
"descriptionLabel": "Descrição (opcional)",
|
|
344
389
|
"confirm": "Confirmar baixa"
|
|
@@ -671,31 +716,69 @@
|
|
|
671
716
|
"card": "Cartão",
|
|
672
717
|
"transfer": "Transferência"
|
|
673
718
|
},
|
|
674
|
-
"header": {
|
|
675
|
-
"title": "Títulos a Receber",
|
|
676
|
-
"description": "Gerencie suas contas a receber"
|
|
677
|
-
},
|
|
678
|
-
"
|
|
679
|
-
"
|
|
680
|
-
|
|
681
|
-
|
|
719
|
+
"header": {
|
|
720
|
+
"title": "Títulos a Receber",
|
|
721
|
+
"description": "Gerencie suas contas a receber"
|
|
722
|
+
},
|
|
723
|
+
"summary": {
|
|
724
|
+
"cards": {
|
|
725
|
+
"visible": {
|
|
726
|
+
"title": "Títulos exibidos",
|
|
727
|
+
"description": "{total} registros no total"
|
|
728
|
+
},
|
|
729
|
+
"value": {
|
|
730
|
+
"title": "Valor visível",
|
|
731
|
+
"description": "Somatório da página atual"
|
|
732
|
+
},
|
|
733
|
+
"attention": {
|
|
734
|
+
"title": "Pendentes",
|
|
735
|
+
"description": "{overdue} com atraso"
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
},
|
|
739
|
+
"breadcrumbs": {
|
|
740
|
+
"home": "Início",
|
|
741
|
+
"finance": "Financeiro",
|
|
742
|
+
"current": "Títulos a Receber"
|
|
682
743
|
},
|
|
683
744
|
"filters": {
|
|
684
745
|
"searchPlaceholder": "Buscar por documento ou cliente...",
|
|
685
746
|
"status": "Status"
|
|
686
747
|
},
|
|
687
|
-
"statuses": {
|
|
688
|
-
"all": "Todos",
|
|
689
|
-
"aberto": "Aberto",
|
|
690
|
-
"parcial": "Parcial",
|
|
691
|
-
"liquidado": "Liquidado",
|
|
692
|
-
"vencido": "Vencido",
|
|
693
|
-
"cancelado": "Cancelado"
|
|
694
|
-
},
|
|
695
|
-
"
|
|
696
|
-
"
|
|
697
|
-
|
|
698
|
-
|
|
748
|
+
"statuses": {
|
|
749
|
+
"all": "Todos",
|
|
750
|
+
"aberto": "Aberto",
|
|
751
|
+
"parcial": "Parcial",
|
|
752
|
+
"liquidado": "Liquidado",
|
|
753
|
+
"vencido": "Vencido",
|
|
754
|
+
"cancelado": "Cancelado"
|
|
755
|
+
},
|
|
756
|
+
"list": {
|
|
757
|
+
"title": "Carteira de recebíveis",
|
|
758
|
+
"description": "Acompanhe clientes, vencimentos e ações operacionais da página atual."
|
|
759
|
+
},
|
|
760
|
+
"sections": {
|
|
761
|
+
"main": {
|
|
762
|
+
"title": "Dados principais",
|
|
763
|
+
"description": "Informe documento, cliente, datas e valor total do título."
|
|
764
|
+
},
|
|
765
|
+
"installments": {
|
|
766
|
+
"title": "Parcelas",
|
|
767
|
+
"description": "Revise o cronograma de vencimentos e ajuste os valores antes de salvar."
|
|
768
|
+
},
|
|
769
|
+
"classification": {
|
|
770
|
+
"title": "Classificação financeira",
|
|
771
|
+
"description": "Associe categoria, centro de custo e canal de recebimento para organizar a operação."
|
|
772
|
+
},
|
|
773
|
+
"notes": {
|
|
774
|
+
"title": "Observações",
|
|
775
|
+
"description": "Use este campo para complementar o contexto do título quando necessário."
|
|
776
|
+
}
|
|
777
|
+
},
|
|
778
|
+
"table": {
|
|
779
|
+
"headers": {
|
|
780
|
+
"document": "Documento",
|
|
781
|
+
"client": "Cliente",
|
|
699
782
|
"competency": "Competência",
|
|
700
783
|
"dueDate": "Vencimento",
|
|
701
784
|
"value": "Valor",
|
|
@@ -710,15 +793,20 @@
|
|
|
710
793
|
"sendCollection": "Enviar Cobrança",
|
|
711
794
|
"openAttachment": "Abrir anexo"
|
|
712
795
|
}
|
|
713
|
-
},
|
|
714
|
-
"
|
|
715
|
-
"title": "
|
|
716
|
-
"
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
"
|
|
720
|
-
"
|
|
721
|
-
"
|
|
796
|
+
},
|
|
797
|
+
"empty": {
|
|
798
|
+
"title": "Nenhum título encontrado",
|
|
799
|
+
"description": "Cadastre o primeiro título para começar a gerenciar contas a receber."
|
|
800
|
+
},
|
|
801
|
+
"installmentsEditor": {
|
|
802
|
+
"title": "Parcelas",
|
|
803
|
+
"countLabel": "Quantidade de Parcelas",
|
|
804
|
+
"recalculate": "Recalcular automaticamente",
|
|
805
|
+
"autoRedistributeLabel": "Redistribuir automaticamente o restante ao editar parcela",
|
|
806
|
+
"autoRedistributeHint": "A redistribuição ocorre ao parar de digitar e ao sair do campo.",
|
|
807
|
+
"dueDateLabel": "Vencimento",
|
|
808
|
+
"amountLabel": "Valor",
|
|
809
|
+
"totalPrefix": "Soma das parcelas: {total}",
|
|
722
810
|
"adjustmentNeeded": "(ajuste necessário)"
|
|
723
811
|
},
|
|
724
812
|
"editTitle": {
|
|
@@ -920,13 +1008,33 @@
|
|
|
920
1008
|
"finance": "Financeiro",
|
|
921
1009
|
"current": "Contas Bancárias"
|
|
922
1010
|
},
|
|
923
|
-
"cards": {
|
|
924
|
-
"totalBalance": "Saldo Total",
|
|
925
|
-
"activeAccounts": "{count} contas ativas",
|
|
926
|
-
"reconciledBalance": "Saldo Conciliado",
|
|
927
|
-
"difference": "Diferença"
|
|
928
|
-
|
|
929
|
-
|
|
1011
|
+
"cards": {
|
|
1012
|
+
"totalBalance": "Saldo Total",
|
|
1013
|
+
"activeAccounts": "{count} contas ativas",
|
|
1014
|
+
"reconciledBalance": "Saldo Conciliado",
|
|
1015
|
+
"difference": "Diferença",
|
|
1016
|
+
"accountsOverview": "Contas ativas",
|
|
1017
|
+
"inactiveAccounts": "{count} contas inativas"
|
|
1018
|
+
},
|
|
1019
|
+
"sections": {
|
|
1020
|
+
"accountData": {
|
|
1021
|
+
"title": "Dados da conta",
|
|
1022
|
+
"description": "Preencha os dados principais para identificar e classificar a conta bancária."
|
|
1023
|
+
},
|
|
1024
|
+
"logo": {
|
|
1025
|
+
"title": "Logo e identificação visual",
|
|
1026
|
+
"description": "Adicione uma imagem opcional para facilitar a identificação da conta nas listagens."
|
|
1027
|
+
}
|
|
1028
|
+
},
|
|
1029
|
+
"list": {
|
|
1030
|
+
"title": "Contas cadastradas",
|
|
1031
|
+
"description": "Acompanhe saldos, conciliação e acessos rápidos para cada conta bancária."
|
|
1032
|
+
},
|
|
1033
|
+
"empty": {
|
|
1034
|
+
"title": "Nenhuma conta bancária cadastrada",
|
|
1035
|
+
"description": "Crie a primeira conta para começar a registrar saldos, extratos e conciliações."
|
|
1036
|
+
},
|
|
1037
|
+
"status": { "inactive": "Inativa" },
|
|
930
1038
|
"accountCard": {
|
|
931
1039
|
"bankAccount": "Ag: {agency} | Cc: {account}",
|
|
932
1040
|
"currentBalance": "Saldo Atual",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hed-hog/finance",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.301",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
"@nestjs/jwt": "^11",
|
|
11
11
|
"@nestjs/mapped-types": "*",
|
|
12
12
|
"@hed-hog/api": "0.0.6",
|
|
13
|
+
"@hed-hog/api-pagination": "0.0.7",
|
|
13
14
|
"@hed-hog/api-locale": "0.0.14",
|
|
14
|
-
"@hed-hog/
|
|
15
|
-
"@hed-hog/contact": "0.0.300",
|
|
15
|
+
"@hed-hog/core": "0.0.301",
|
|
16
16
|
"@hed-hog/api-prisma": "0.0.6",
|
|
17
|
-
"@hed-hog/
|
|
18
|
-
"@hed-hog/
|
|
19
|
-
"@hed-hog/
|
|
17
|
+
"@hed-hog/tag": "0.0.301",
|
|
18
|
+
"@hed-hog/api-types": "0.0.1",
|
|
19
|
+
"@hed-hog/contact": "0.0.301"
|
|
20
20
|
},
|
|
21
21
|
"exports": {
|
|
22
22
|
".": {
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
],
|
|
33
33
|
"scripts": {
|
|
34
34
|
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\"",
|
|
35
|
+
"test": "jest --config jest.config.ts --runInBand",
|
|
35
36
|
"prebuild": "pnpm --dir ../.. exec ts-node ./scripts/build-dependencies.ts libraries/finance",
|
|
36
37
|
"build": "tsc --project tsconfig.production.json",
|
|
37
38
|
"patch": "pnpm exec ts-node ../../scripts/patch.ts libraries/finance",
|