@finema/finework-layer 1.0.4 → 1.0.5
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 +6 -0
- package/app/components/PortalApp.vue +5 -5
- package/app/constants/routes.ts +7 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.5](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.4...1.0.5) (2026-03-06)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* update permissions for finance and eFactoring apps; add eFactoring route ([577f11f](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/577f11f4f2eea91c6e38a52958d60d3819fc5175))
|
|
8
|
+
|
|
3
9
|
## [1.0.4](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.3...1.0.4) (2026-02-27)
|
|
4
10
|
|
|
5
11
|
### Bug Fixes
|
|
@@ -374,7 +374,7 @@ const financeApps = computed(() => [
|
|
|
374
374
|
},
|
|
375
375
|
]
|
|
376
376
|
: []),
|
|
377
|
-
...(auth.hasPermission(UserModule.
|
|
377
|
+
...(auth.hasPermission(UserModule.COSTSHEET, Permission.USER, Permission.ADMIN, Permission.SUPER)
|
|
378
378
|
? [
|
|
379
379
|
{
|
|
380
380
|
name: 'Cost Sheet',
|
|
@@ -382,19 +382,19 @@ const financeApps = computed(() => [
|
|
|
382
382
|
label: 'Cost Sheet',
|
|
383
383
|
description: 'รายรับรายจ่ายงบประมาณโครงการ',
|
|
384
384
|
to: routes.costSheet.overview.to,
|
|
385
|
-
status: StatusPortal.
|
|
385
|
+
status: StatusPortal.ACTIVE,
|
|
386
386
|
},
|
|
387
387
|
]
|
|
388
388
|
: []),
|
|
389
|
-
...(auth.hasPermission(UserModule.
|
|
389
|
+
...(auth.hasPermission(UserModule.EFACTORING, Permission.USER, Permission.ADMIN, Permission.SUPER)
|
|
390
390
|
? [
|
|
391
391
|
{
|
|
392
392
|
name: 'eFactoring',
|
|
393
393
|
logo: '/admin/efactoring.png',
|
|
394
394
|
label: 'eFactoring',
|
|
395
395
|
description: 'การเบิกเงินหมุนเวียนกับธนาคาร',
|
|
396
|
-
to:
|
|
397
|
-
status: StatusPortal.
|
|
396
|
+
to: routes.efactoring.dashboard.to,
|
|
397
|
+
status: StatusPortal.ACTIVE,
|
|
398
398
|
},
|
|
399
399
|
]
|
|
400
400
|
: []),
|
package/app/constants/routes.ts
CHANGED