@accounter/client 0.0.7-alpha-20251021062721-ab43b5f013b9852ff5216bc141852da9dcfe0df7 → 0.0.8-alpha-20251021150028-9eb73ba6576d67c75a60786d0e4ab0876fd7a95c

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.
Files changed (48) hide show
  1. package/CHANGELOG.md +102 -105
  2. package/dist/assets/index-0eCf1BcD.css +1 -0
  3. package/dist/assets/index-DHTbHvtz.js +1188 -0
  4. package/dist/assets/{index.es-NOVMdy_X.js → index.es-DHwHzag1.js} +1 -1
  5. package/dist/index.html +2 -2
  6. package/package.json +1 -2
  7. package/src/app.tsx +4 -8
  8. package/src/components/business-transactions/business-extended-info.tsx +13 -9
  9. package/src/components/charges/charge-extended-info-menu.tsx +21 -27
  10. package/src/components/charges/charges-row.tsx +10 -12
  11. package/src/components/charges/charges-table.tsx +9 -15
  12. package/src/components/common/documents/issue-document/index.tsx +3 -3
  13. package/src/components/common/documents/issue-document/{recent-business-docs.tsx → recent-client-docs.tsx} +13 -19
  14. package/src/components/common/forms/business-card.tsx +0 -1
  15. package/src/components/common/forms/modify-business-fields.tsx +19 -2
  16. package/src/components/common/inputs/combo-box.tsx +1 -1
  17. package/src/components/reports/trial-balance-report/trial-balance-report-group.tsx +6 -4
  18. package/src/components/reports/trial-balance-report/trial-balance-report-sort-code.tsx +11 -8
  19. package/src/components/screens/documents/issue-documents/edit-issue-document-modal.tsx +4 -4
  20. package/src/gql/gql.ts +9 -93
  21. package/src/gql/graphql.ts +20 -285
  22. package/src/helpers/currency.ts +0 -5
  23. package/src/helpers/index.ts +0 -2
  24. package/src/hooks/use-get-all-contracts.ts +1 -0
  25. package/dist/assets/index-CJB5mMpd.js +0 -1224
  26. package/dist/assets/index-CzRRUK04.css +0 -1
  27. package/src/components/business/business-header.tsx +0 -65
  28. package/src/components/business/charges-section.tsx +0 -82
  29. package/src/components/business/charts-section.tsx +0 -115
  30. package/src/components/business/configurations-section.tsx +0 -835
  31. package/src/components/business/contact-info-section.tsx +0 -544
  32. package/src/components/business/contracts-section.tsx +0 -195
  33. package/src/components/business/documents-section.tsx +0 -26
  34. package/src/components/business/index.tsx +0 -171
  35. package/src/components/business/integrations-section.tsx +0 -479
  36. package/src/components/business/transactions-section.tsx +0 -26
  37. package/src/components/clients/contracts/modify-contract-dialog.tsx +0 -466
  38. package/src/components/clients/modify-client-dialog.tsx +0 -276
  39. package/src/components/screens/businesses/business.tsx +0 -50
  40. package/src/components/ui/progress.tsx +0 -25
  41. package/src/components/ui/skeleton.tsx +0 -12
  42. package/src/helpers/contracts.ts +0 -22
  43. package/src/helpers/pcn874.ts +0 -17
  44. package/src/hooks/use-create-contract.ts +0 -62
  45. package/src/hooks/use-delete-contract.ts +0 -64
  46. package/src/hooks/use-insert-client.ts +0 -80
  47. package/src/hooks/use-update-client.ts +0 -75
  48. package/src/hooks/use-update-contract.ts +0 -69
@@ -1,5 +1,4 @@
1
1
  import { Currency } from '../gql/graphql.js';
2
- import { formatStringifyAmount } from './index.js';
3
2
 
4
3
  export function getCurrencyFormatter(
5
4
  currency: Currency,
@@ -69,7 +68,3 @@ export const FIAT_CURRENCIES: Currency[] = [
69
68
  Currency.Aud,
70
69
  Currency.Sek,
71
70
  ] as const;
72
-
73
- export function formatAmountWithCurrency(amount: number, currency: Currency, digits = 2): string {
74
- return `${currencyCodeToSymbol(currency)} ${formatStringifyAmount(amount, digits)}`;
75
- }
@@ -1,7 +1,6 @@
1
1
  export * from './charges.js';
2
2
  export * from './clipboard.js';
3
3
  export * from './consts.js';
4
- export * from './contracts.js';
5
4
  export * from './currency.js';
6
5
  export * from './dates.js';
7
6
  export * from './document-matches.js';
@@ -10,7 +9,6 @@ export * from './files.js';
10
9
  export * from './form.js';
11
10
  export * from './graphql-document-dedupe-fragments.js';
12
11
  export * from './numbers.js';
13
- export * from './pcn874.js';
14
12
  export * from './strings-manipulations.js';
15
13
  export * from './vat.js';
16
14
  export * from './tags.js';
@@ -31,6 +31,7 @@ import { AllOpenContractsDocument, type AllOpenContractsQuery } from '../gql/gra
31
31
  isActive
32
32
  product
33
33
  plan
34
+ signedAgreement
34
35
  msCloud
35
36
  }
36
37
  }