@accounter/client 0.0.7-alpha-20251020200426-d69dcf4ba560a29b61cb27dbb3f425e7e68c9103 → 0.0.7-alpha-20251020200446-96c478a53fb842e6ec19dc4940f7708c376237ba
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/CHANGELOG.md +1 -17
- package/dist/assets/{index-katOP9ut.js → index-CkorFdQb.js} +226 -226
- package/dist/assets/{index.es-BzLEQ_e8.js → index.es-C1dS5uFC.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/src/components/common/forms/modify-business-fields.tsx +14 -13
- package/src/components/common/modals/insert-business.tsx +2 -4
- package/src/gql/gql.ts +3 -3
- package/src/gql/graphql.ts +2 -5
- package/src/providers/user-provider.tsx +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @accounter/client
|
|
2
2
|
|
|
3
|
-
## 0.0.7-alpha-
|
|
3
|
+
## 0.0.7-alpha-20251020200446-96c478a53fb842e6ec19dc4940f7708c376237ba
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
@@ -357,22 +357,6 @@
|
|
|
357
357
|
[`react-hook-form@7.65.0` ↗︎](https://www.npmjs.com/package/react-hook-form/v/7.65.0) (from
|
|
358
358
|
`7.64.0`, in `dependencies`)
|
|
359
359
|
|
|
360
|
-
- [#2582](https://github.com/Urigo/accounter-fullstack/pull/2582)
|
|
361
|
-
[`2e8386d`](https://github.com/Urigo/accounter-fullstack/commit/2e8386d8deff6aa0c863f0c6995af6093dfda23e)
|
|
362
|
-
Thanks [@gilgardosh](https://github.com/gilgardosh)! - - **Database Schema Update**: Introduced a
|
|
363
|
-
'locality' column to the 'user_context' table and established foreign key relationships for
|
|
364
|
-
country codes in both 'user_context' and 'businesses' tables, linking them to a 'countries' table.
|
|
365
|
-
- **Dynamic Country Selection**: The 'Locality' field in the 'ModifyBusinessFields' component now
|
|
366
|
-
dynamically fetches and displays a list of all countries, replacing previous hardcoded options.
|
|
367
|
-
- **User-Contextual Default Country**: New businesses created via the 'InsertBusiness' modal will
|
|
368
|
-
now default their country based on the user's 'locality' from their 'userContext'.
|
|
369
|
-
- **Centralized Locality Management**: The 'admin-context' and 'user-context' modules on the
|
|
370
|
-
server-side have been updated to store and retrieve the user's 'locality', ensuring consistent
|
|
371
|
-
access across the application.
|
|
372
|
-
- **VAT Logic Enhancement**: VAT validation and deduction logic now utilize the dynamically
|
|
373
|
-
retrieved 'adminContext.locality' instead of a hardcoded country name, improving flexibility and
|
|
374
|
-
accuracy.
|
|
375
|
-
|
|
376
360
|
- [#2520](https://github.com/Urigo/accounter-fullstack/pull/2520)
|
|
377
361
|
[`b7b2776`](https://github.com/Urigo/accounter-fullstack/commit/b7b2776d29905ba6966f5f37635e03b8c58289d9)
|
|
378
362
|
Thanks [@gilgardosh](https://github.com/gilgardosh)! - - **New Feature**: An 'Issue Document'
|