@finema/finework-layer 1.0.22 → 1.0.23

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.23](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.22...1.0.23) (2026-03-26)
4
+
5
+ ### Features
6
+
7
+ * update financeApps and peopleApps with new Loan and Requests Admin entries ([1f69eb2](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/1f69eb2d9f715b7d55bbf4a17fdc3834738e167e))
8
+
3
9
  ## [1.0.22](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.21...1.0.22) (2026-03-26)
4
10
 
5
11
  ### Bug Fixes
@@ -425,7 +425,7 @@ const financeApps = computed(() => [
425
425
  ? [
426
426
  {
427
427
  name: 'Guarantee',
428
- logo: '/admin/cost-sheet.png',
428
+ logo: '/admin/guarantee.png',
429
429
  label: 'งบค้ำประกัน',
430
430
  description: 'การเบิกเงินค้ำซองและค้ำสัญญา',
431
431
  to: '/',
@@ -433,6 +433,18 @@ const financeApps = computed(() => [
433
433
  },
434
434
  ]
435
435
  : []),
436
+ ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
437
+ ? [
438
+ {
439
+ name: 'Loan',
440
+ logo: '/admin/loan.png',
441
+ label: 'Loan',
442
+ description: 'รายการกู้เงินจากธนาคาร',
443
+ to: '/',
444
+ status: StatusPortal.DEVELOPING,
445
+ },
446
+ ]
447
+ : []),
436
448
  ])
437
449
 
438
450
  const peopleApps = computed(() => [
@@ -509,6 +521,19 @@ const peopleApps = computed(() => [
509
521
  },
510
522
  ]
511
523
  : []),
524
+ ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
525
+ ? [
526
+ {
527
+ name: 'Requests Admin',
528
+ logo: '/admin/request-admin.png',
529
+ label: 'Requests Admin',
530
+ description: 'ระบบจัดการคำขออนุมัติต่างๆ',
531
+ to: '/',
532
+ status: StatusPortal.DEVELOPING,
533
+ },
534
+ ]
535
+ : []),
536
+
512
537
  ])
513
538
 
514
539
  const legalApps = computed(() => [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "1.0.22",
4
+ "version": "1.0.23",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",