@hed-hog/finance 0.0.304 → 0.0.305
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/hedhog/frontend/app/_components/finance-entity-field-with-create.tsx.ejs +130 -465
- package/hedhog/frontend/app/_components/finance-layout.tsx.ejs +135 -131
- package/hedhog/frontend/app/accounts-payable/installments/page.tsx.ejs +270 -14
- package/hedhog/frontend/app/accounts-receivable/collections-default/page.tsx.ejs +175 -4
- package/hedhog/frontend/app/accounts-receivable/installments/page.tsx.ejs +271 -19
- package/hedhog/frontend/app/administration/categories/page.tsx.ejs +97 -11
- package/hedhog/frontend/app/administration/cost-centers/page.tsx.ejs +88 -8
- package/hedhog/frontend/app/administration/period-close/page.tsx.ejs +94 -8
- package/hedhog/frontend/app/cash-and-banks/bank-accounts/page.tsx.ejs +163 -42
- package/hedhog/frontend/app/cash-and-banks/bank-reconciliation/page.tsx.ejs +135 -57
- package/hedhog/frontend/app/cash-and-banks/statements/page.tsx.ejs +202 -49
- package/hedhog/frontend/app/cash-and-banks/transfers/page.tsx.ejs +107 -22
- package/hedhog/frontend/messages/en.json +174 -221
- package/hedhog/frontend/messages/pt.json +174 -221
- package/package.json +7 -7
- package/hedhog/frontend/app/_components/person-field-with-create.tsx.ejs +0 -734
|
@@ -130,57 +130,10 @@
|
|
|
130
130
|
"actions": "Actions"
|
|
131
131
|
}
|
|
132
132
|
},
|
|
133
|
-
"empty": {
|
|
134
|
-
"title": "All good!",
|
|
135
|
-
"description": "There are no pending approvals.",
|
|
136
|
-
"refresh": "Refresh"
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
"PersonFieldWithCreate": {
|
|
140
|
-
"sheet": {
|
|
141
|
-
"title": "New {entityLabel}",
|
|
142
|
-
"description": "Only name and type are required. You can complete the remaining fields now or later.",
|
|
143
|
-
"descriptionIndividualOnly": "Only name is required. You can complete the remaining fields now or later."
|
|
144
|
-
},
|
|
145
|
-
"common": {
|
|
146
|
-
"select": "Select"
|
|
147
|
-
},
|
|
148
|
-
"types": {
|
|
149
|
-
"individual": "Individual",
|
|
150
|
-
"company": "Company"
|
|
151
|
-
},
|
|
152
|
-
"fields": {
|
|
153
|
-
"name": "Name",
|
|
154
|
-
"type": "Type",
|
|
155
|
-
"documentIndividualOptional": "CPF (optional)",
|
|
156
|
-
"documentCompanyOptional": "CNPJ (optional)",
|
|
157
|
-
"emailOptional": "Email (optional)",
|
|
158
|
-
"phoneOptional": "Phone (optional)",
|
|
159
|
-
"addressOptional": "Address (optional)"
|
|
160
|
-
},
|
|
161
|
-
"placeholders": {
|
|
162
|
-
"name": "{entityLabel} name",
|
|
163
|
-
"email": "{entityLabel}@company.com",
|
|
164
|
-
"phone": "(11) 99999-9999",
|
|
165
|
-
"addressLine1": "Street, number, complement",
|
|
166
|
-
"city": "City",
|
|
167
|
-
"state": "State"
|
|
168
|
-
},
|
|
169
|
-
"search": {
|
|
170
|
-
"placeholder": "Type to search person...",
|
|
171
|
-
"loading": "Searching people...",
|
|
172
|
-
"noResults": "No person found"
|
|
173
|
-
},
|
|
174
|
-
"actions": {
|
|
175
|
-
"cancel": "Cancel",
|
|
176
|
-
"saveEntity": "Save {entityLabel}",
|
|
177
|
-
"createNew": "Create new record",
|
|
178
|
-
"clearSelection": "Clear selection",
|
|
179
|
-
"createEntityAria": "Create new {entityLabel}"
|
|
180
|
-
},
|
|
181
|
-
"messages": {
|
|
182
|
-
"createdSuccess": "{entityLabel} created successfully",
|
|
183
|
-
"createdError": "Could not create {entityLabel}"
|
|
133
|
+
"empty": {
|
|
134
|
+
"title": "All good!",
|
|
135
|
+
"description": "There are no pending approvals.",
|
|
136
|
+
"refresh": "Refresh"
|
|
184
137
|
}
|
|
185
138
|
},
|
|
186
139
|
"FinanceEntityFieldWithCreate": {
|
|
@@ -270,71 +223,71 @@
|
|
|
270
223
|
"cash": "Cash",
|
|
271
224
|
"check": "Check"
|
|
272
225
|
},
|
|
273
|
-
"header": {
|
|
274
|
-
"title": "Payable Titles",
|
|
275
|
-
"description": "Manage your accounts payable"
|
|
276
|
-
},
|
|
277
|
-
"summary": {
|
|
278
|
-
"cards": {
|
|
279
|
-
"visible": {
|
|
280
|
-
"title": "Visible titles",
|
|
281
|
-
"description": "{total} records in total"
|
|
282
|
-
},
|
|
283
|
-
"value": {
|
|
284
|
-
"title": "Visible value",
|
|
285
|
-
"description": "Sum of the current page"
|
|
286
|
-
},
|
|
287
|
-
"attention": {
|
|
288
|
-
"title": "Pending",
|
|
289
|
-
"description": "{overdue} overdue"
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
},
|
|
293
|
-
"breadcrumbs": {
|
|
294
|
-
"home": "Home",
|
|
295
|
-
"finance": "Finance",
|
|
296
|
-
"current": "Payable Titles"
|
|
297
|
-
},
|
|
226
|
+
"header": {
|
|
227
|
+
"title": "Payable Titles",
|
|
228
|
+
"description": "Manage your accounts payable"
|
|
229
|
+
},
|
|
230
|
+
"summary": {
|
|
231
|
+
"cards": {
|
|
232
|
+
"visible": {
|
|
233
|
+
"title": "Visible titles",
|
|
234
|
+
"description": "{total} records in total"
|
|
235
|
+
},
|
|
236
|
+
"value": {
|
|
237
|
+
"title": "Visible value",
|
|
238
|
+
"description": "Sum of the current page"
|
|
239
|
+
},
|
|
240
|
+
"attention": {
|
|
241
|
+
"title": "Pending",
|
|
242
|
+
"description": "{overdue} overdue"
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"breadcrumbs": {
|
|
247
|
+
"home": "Home",
|
|
248
|
+
"finance": "Finance",
|
|
249
|
+
"current": "Payable Titles"
|
|
250
|
+
},
|
|
298
251
|
"filters": {
|
|
299
252
|
"searchPlaceholder": "Search by document or supplier...",
|
|
300
253
|
"status": "Status"
|
|
301
254
|
},
|
|
302
|
-
"statuses": {
|
|
303
|
-
"all": "All",
|
|
304
|
-
"rascunho": "Draft",
|
|
305
|
-
"aprovado": "Approved",
|
|
306
|
-
"aberto": "Open",
|
|
255
|
+
"statuses": {
|
|
256
|
+
"all": "All",
|
|
257
|
+
"rascunho": "Draft",
|
|
258
|
+
"aprovado": "Approved",
|
|
259
|
+
"aberto": "Open",
|
|
307
260
|
"parcial": "Partial",
|
|
308
261
|
"liquidado": "Settled",
|
|
309
|
-
"vencido": "Overdue",
|
|
310
|
-
"cancelado": "Canceled"
|
|
311
|
-
},
|
|
312
|
-
"list": {
|
|
313
|
-
"title": "Title portfolio",
|
|
314
|
-
"description": "Track documents, due dates, and operational actions for the current page."
|
|
315
|
-
},
|
|
316
|
-
"sections": {
|
|
317
|
-
"main": {
|
|
318
|
-
"title": "Main data",
|
|
319
|
-
"description": "Provide document, supplier, dates, and the total title amount."
|
|
320
|
-
},
|
|
321
|
-
"installments": {
|
|
322
|
-
"title": "Installments",
|
|
323
|
-
"description": "Review the due schedule and adjust installment amounts before saving."
|
|
324
|
-
},
|
|
325
|
-
"classification": {
|
|
326
|
-
"title": "Financial classification",
|
|
327
|
-
"description": "Assign category, cost center, and payment method to organize the operation."
|
|
328
|
-
},
|
|
329
|
-
"notes": {
|
|
330
|
-
"title": "Notes",
|
|
331
|
-
"description": "Use this field to add extra context to the title when needed."
|
|
332
|
-
}
|
|
333
|
-
},
|
|
334
|
-
"table": {
|
|
335
|
-
"headers": {
|
|
336
|
-
"document": "Document",
|
|
337
|
-
"supplier": "Supplier",
|
|
262
|
+
"vencido": "Overdue",
|
|
263
|
+
"cancelado": "Canceled"
|
|
264
|
+
},
|
|
265
|
+
"list": {
|
|
266
|
+
"title": "Title portfolio",
|
|
267
|
+
"description": "Track documents, due dates, and operational actions for the current page."
|
|
268
|
+
},
|
|
269
|
+
"sections": {
|
|
270
|
+
"main": {
|
|
271
|
+
"title": "Main data",
|
|
272
|
+
"description": "Provide document, supplier, dates, and the total title amount."
|
|
273
|
+
},
|
|
274
|
+
"installments": {
|
|
275
|
+
"title": "Installments",
|
|
276
|
+
"description": "Review the due schedule and adjust installment amounts before saving."
|
|
277
|
+
},
|
|
278
|
+
"classification": {
|
|
279
|
+
"title": "Financial classification",
|
|
280
|
+
"description": "Assign category, cost center, and payment method to organize the operation."
|
|
281
|
+
},
|
|
282
|
+
"notes": {
|
|
283
|
+
"title": "Notes",
|
|
284
|
+
"description": "Use this field to add extra context to the title when needed."
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
"table": {
|
|
288
|
+
"headers": {
|
|
289
|
+
"document": "Document",
|
|
290
|
+
"supplier": "Supplier",
|
|
338
291
|
"competency": "Competency",
|
|
339
292
|
"dueDate": "Due Date",
|
|
340
293
|
"value": "Value",
|
|
@@ -372,18 +325,18 @@
|
|
|
372
325
|
"confirm": "Confirm reversal"
|
|
373
326
|
}
|
|
374
327
|
},
|
|
375
|
-
"settleSheet": {
|
|
376
|
-
"title": "Register settlement",
|
|
377
|
-
"description": "Provide installment and settlement amount for title {document}.",
|
|
378
|
-
"sections": {
|
|
379
|
-
"payment": {
|
|
380
|
-
"title": "Settlement data",
|
|
381
|
-
"description": "Choose the available installment and confirm the amount to settle."
|
|
382
|
-
}
|
|
383
|
-
},
|
|
384
|
-
"installmentLabel": "Installment",
|
|
385
|
-
"installmentPlaceholder": "Select",
|
|
386
|
-
"installmentOption": "Installment {number} - open amount: {amount}",
|
|
328
|
+
"settleSheet": {
|
|
329
|
+
"title": "Register settlement",
|
|
330
|
+
"description": "Provide installment and settlement amount for title {document}.",
|
|
331
|
+
"sections": {
|
|
332
|
+
"payment": {
|
|
333
|
+
"title": "Settlement data",
|
|
334
|
+
"description": "Choose the available installment and confirm the amount to settle."
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
"installmentLabel": "Installment",
|
|
338
|
+
"installmentPlaceholder": "Select",
|
|
339
|
+
"installmentOption": "Installment {number} - open amount: {amount}",
|
|
387
340
|
"amountLabel": "Amount",
|
|
388
341
|
"descriptionLabel": "Description (optional)",
|
|
389
342
|
"confirm": "Confirm settlement"
|
|
@@ -716,69 +669,69 @@
|
|
|
716
669
|
"card": "Card",
|
|
717
670
|
"transfer": "Transfer"
|
|
718
671
|
},
|
|
719
|
-
"header": {
|
|
720
|
-
"title": "Receivable Titles",
|
|
721
|
-
"description": "Manage your accounts receivable"
|
|
722
|
-
},
|
|
723
|
-
"summary": {
|
|
724
|
-
"cards": {
|
|
725
|
-
"visible": {
|
|
726
|
-
"title": "Visible titles",
|
|
727
|
-
"description": "{total} records in total"
|
|
728
|
-
},
|
|
729
|
-
"value": {
|
|
730
|
-
"title": "Visible value",
|
|
731
|
-
"description": "Sum of the current page"
|
|
732
|
-
},
|
|
733
|
-
"attention": {
|
|
734
|
-
"title": "Pending",
|
|
735
|
-
"description": "{overdue} overdue"
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
},
|
|
739
|
-
"breadcrumbs": {
|
|
740
|
-
"home": "Home",
|
|
741
|
-
"finance": "Finance",
|
|
742
|
-
"current": "Receivable Titles"
|
|
672
|
+
"header": {
|
|
673
|
+
"title": "Receivable Titles",
|
|
674
|
+
"description": "Manage your accounts receivable"
|
|
675
|
+
},
|
|
676
|
+
"summary": {
|
|
677
|
+
"cards": {
|
|
678
|
+
"visible": {
|
|
679
|
+
"title": "Visible titles",
|
|
680
|
+
"description": "{total} records in total"
|
|
681
|
+
},
|
|
682
|
+
"value": {
|
|
683
|
+
"title": "Visible value",
|
|
684
|
+
"description": "Sum of the current page"
|
|
685
|
+
},
|
|
686
|
+
"attention": {
|
|
687
|
+
"title": "Pending",
|
|
688
|
+
"description": "{overdue} overdue"
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
"breadcrumbs": {
|
|
693
|
+
"home": "Home",
|
|
694
|
+
"finance": "Finance",
|
|
695
|
+
"current": "Receivable Titles"
|
|
743
696
|
},
|
|
744
697
|
"filters": {
|
|
745
698
|
"searchPlaceholder": "Search by document or client...",
|
|
746
699
|
"status": "Status"
|
|
747
700
|
},
|
|
748
|
-
"statuses": {
|
|
749
|
-
"all": "All",
|
|
750
|
-
"aberto": "Open",
|
|
751
|
-
"parcial": "Partial",
|
|
752
|
-
"liquidado": "Settled",
|
|
753
|
-
"vencido": "Overdue",
|
|
754
|
-
"cancelado": "Canceled"
|
|
755
|
-
},
|
|
756
|
-
"list": {
|
|
757
|
-
"title": "Receivables portfolio",
|
|
758
|
-
"description": "Track clients, due dates, and operational actions for the current page."
|
|
759
|
-
},
|
|
760
|
-
"sections": {
|
|
761
|
-
"main": {
|
|
762
|
-
"title": "Main data",
|
|
763
|
-
"description": "Provide document, client, dates, and the total title amount."
|
|
764
|
-
},
|
|
765
|
-
"installments": {
|
|
766
|
-
"title": "Installments",
|
|
767
|
-
"description": "Review the due schedule and adjust installment amounts before saving."
|
|
768
|
-
},
|
|
769
|
-
"classification": {
|
|
770
|
-
"title": "Financial classification",
|
|
771
|
-
"description": "Assign category, cost center, and receiving channel to organize the operation."
|
|
772
|
-
},
|
|
773
|
-
"notes": {
|
|
774
|
-
"title": "Notes",
|
|
775
|
-
"description": "Use this field to add extra context to the title when needed."
|
|
776
|
-
}
|
|
777
|
-
},
|
|
778
|
-
"table": {
|
|
779
|
-
"headers": {
|
|
780
|
-
"document": "Document",
|
|
781
|
-
"client": "Client",
|
|
701
|
+
"statuses": {
|
|
702
|
+
"all": "All",
|
|
703
|
+
"aberto": "Open",
|
|
704
|
+
"parcial": "Partial",
|
|
705
|
+
"liquidado": "Settled",
|
|
706
|
+
"vencido": "Overdue",
|
|
707
|
+
"cancelado": "Canceled"
|
|
708
|
+
},
|
|
709
|
+
"list": {
|
|
710
|
+
"title": "Receivables portfolio",
|
|
711
|
+
"description": "Track clients, due dates, and operational actions for the current page."
|
|
712
|
+
},
|
|
713
|
+
"sections": {
|
|
714
|
+
"main": {
|
|
715
|
+
"title": "Main data",
|
|
716
|
+
"description": "Provide document, client, dates, and the total title amount."
|
|
717
|
+
},
|
|
718
|
+
"installments": {
|
|
719
|
+
"title": "Installments",
|
|
720
|
+
"description": "Review the due schedule and adjust installment amounts before saving."
|
|
721
|
+
},
|
|
722
|
+
"classification": {
|
|
723
|
+
"title": "Financial classification",
|
|
724
|
+
"description": "Assign category, cost center, and receiving channel to organize the operation."
|
|
725
|
+
},
|
|
726
|
+
"notes": {
|
|
727
|
+
"title": "Notes",
|
|
728
|
+
"description": "Use this field to add extra context to the title when needed."
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
"table": {
|
|
732
|
+
"headers": {
|
|
733
|
+
"document": "Document",
|
|
734
|
+
"client": "Client",
|
|
782
735
|
"competency": "Competency",
|
|
783
736
|
"dueDate": "Due Date",
|
|
784
737
|
"value": "Value",
|
|
@@ -793,20 +746,20 @@
|
|
|
793
746
|
"sendCollection": "Send Collection",
|
|
794
747
|
"openAttachment": "Open attachment"
|
|
795
748
|
}
|
|
796
|
-
},
|
|
797
|
-
"empty": {
|
|
798
|
-
"title": "No titles found",
|
|
799
|
-
"description": "Create the first title to start managing accounts receivable."
|
|
800
|
-
},
|
|
801
|
-
"installmentsEditor": {
|
|
802
|
-
"title": "Installments",
|
|
803
|
-
"countLabel": "Installments Count",
|
|
804
|
-
"recalculate": "Recalculate automatically",
|
|
805
|
-
"autoRedistributeLabel": "Automatically redistribute remaining amount when editing installment",
|
|
806
|
-
"autoRedistributeHint": "Redistribution occurs after typing stops and on field blur.",
|
|
807
|
-
"dueDateLabel": "Due date",
|
|
808
|
-
"amountLabel": "Amount",
|
|
809
|
-
"totalPrefix": "Installments total: {total}",
|
|
749
|
+
},
|
|
750
|
+
"empty": {
|
|
751
|
+
"title": "No titles found",
|
|
752
|
+
"description": "Create the first title to start managing accounts receivable."
|
|
753
|
+
},
|
|
754
|
+
"installmentsEditor": {
|
|
755
|
+
"title": "Installments",
|
|
756
|
+
"countLabel": "Installments Count",
|
|
757
|
+
"recalculate": "Recalculate automatically",
|
|
758
|
+
"autoRedistributeLabel": "Automatically redistribute remaining amount when editing installment",
|
|
759
|
+
"autoRedistributeHint": "Redistribution occurs after typing stops and on field blur.",
|
|
760
|
+
"dueDateLabel": "Due date",
|
|
761
|
+
"amountLabel": "Amount",
|
|
762
|
+
"totalPrefix": "Installments total: {total}",
|
|
810
763
|
"adjustmentNeeded": "(adjustment needed)"
|
|
811
764
|
},
|
|
812
765
|
"editTitle": {
|
|
@@ -1008,33 +961,33 @@
|
|
|
1008
961
|
"finance": "Finance",
|
|
1009
962
|
"current": "Bank Accounts"
|
|
1010
963
|
},
|
|
1011
|
-
"cards": {
|
|
1012
|
-
"totalBalance": "Total Balance",
|
|
1013
|
-
"activeAccounts": "{count} active accounts",
|
|
1014
|
-
"reconciledBalance": "Reconciled Balance",
|
|
1015
|
-
"difference": "Difference",
|
|
1016
|
-
"accountsOverview": "Active accounts",
|
|
1017
|
-
"inactiveAccounts": "{count} inactive accounts"
|
|
1018
|
-
},
|
|
1019
|
-
"sections": {
|
|
1020
|
-
"accountData": {
|
|
1021
|
-
"title": "Account details",
|
|
1022
|
-
"description": "Fill in the main information used to identify and classify the bank account."
|
|
1023
|
-
},
|
|
1024
|
-
"logo": {
|
|
1025
|
-
"title": "Logo and visual identity",
|
|
1026
|
-
"description": "Add an optional image to make the account easier to recognize across lists."
|
|
1027
|
-
}
|
|
1028
|
-
},
|
|
1029
|
-
"list": {
|
|
1030
|
-
"title": "Registered accounts",
|
|
1031
|
-
"description": "Track balances, reconciliation, and quick actions for each bank account."
|
|
1032
|
-
},
|
|
1033
|
-
"empty": {
|
|
1034
|
-
"title": "No bank accounts registered",
|
|
1035
|
-
"description": "Create your first account to start tracking balances, statements, and reconciliations."
|
|
1036
|
-
},
|
|
1037
|
-
"status": { "inactive": "Inactive" },
|
|
964
|
+
"cards": {
|
|
965
|
+
"totalBalance": "Total Balance",
|
|
966
|
+
"activeAccounts": "{count} active accounts",
|
|
967
|
+
"reconciledBalance": "Reconciled Balance",
|
|
968
|
+
"difference": "Difference",
|
|
969
|
+
"accountsOverview": "Active accounts",
|
|
970
|
+
"inactiveAccounts": "{count} inactive accounts"
|
|
971
|
+
},
|
|
972
|
+
"sections": {
|
|
973
|
+
"accountData": {
|
|
974
|
+
"title": "Account details",
|
|
975
|
+
"description": "Fill in the main information used to identify and classify the bank account."
|
|
976
|
+
},
|
|
977
|
+
"logo": {
|
|
978
|
+
"title": "Logo and visual identity",
|
|
979
|
+
"description": "Add an optional image to make the account easier to recognize across lists."
|
|
980
|
+
}
|
|
981
|
+
},
|
|
982
|
+
"list": {
|
|
983
|
+
"title": "Registered accounts",
|
|
984
|
+
"description": "Track balances, reconciliation, and quick actions for each bank account."
|
|
985
|
+
},
|
|
986
|
+
"empty": {
|
|
987
|
+
"title": "No bank accounts registered",
|
|
988
|
+
"description": "Create your first account to start tracking balances, statements, and reconciliations."
|
|
989
|
+
},
|
|
990
|
+
"status": { "inactive": "Inactive" },
|
|
1038
991
|
"accountCard": {
|
|
1039
992
|
"bankAccount": "Br: {agency} | Ac: {account}",
|
|
1040
993
|
"currentBalance": "Current Balance",
|