@finema/finework-layer 0.2.98 → 0.2.99

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
+ ## [0.2.99](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.98...0.2.99) (2025-12-26)
4
+
5
+ ### Bug Fixes
6
+
7
+ * hide todo and costsheet ([fe1c31f](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/fe1c31f65df952ac819f1bf117082a4a18d26ed4))
8
+
3
9
  ## [0.2.98](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.97...0.2.98) (2025-12-25)
4
10
 
5
11
  ### Bug Fixes
@@ -238,7 +238,8 @@ const managementApps = computed(() => [
238
238
  },
239
239
  ]
240
240
  : []),
241
- ...(auth.hasPermission(UserModule.TODO, Permission.USER, Permission.ADMIN)
241
+
242
+ ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
242
243
  ? [
243
244
  {
244
245
  name: 'todo',
@@ -246,11 +247,10 @@ const managementApps = computed(() => [
246
247
  label: 'TODO',
247
248
  description: 'ระบบจัดการงานที่ต้องทำ',
248
249
  to: routes.todo.dashboard.to,
249
- status: StatusPortal.ACTIVE,
250
+ status: StatusPortal.DEVELOPING,
250
251
  },
251
252
  ]
252
253
  : []),
253
-
254
254
  ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
255
255
  ? [
256
256
  {
@@ -263,36 +263,35 @@ const managementApps = computed(() => [
263
263
  },
264
264
  ]
265
265
  : []),
266
+
266
267
  ])
267
268
 
268
269
  const financeApps = computed(() => [
269
270
 
270
- ...(auth.hasPermission(UserModule.COSTSHEET, Permission.USER, Permission.ADMIN)
271
+ ...(auth.hasPermission(UserModule.QUOTATION, Permission.USER, Permission.ADMIN)
271
272
  ? [
272
273
  {
273
- name: 'Cost Sheet',
274
- logo: '/admin/cost-sheet.png',
275
- label: 'Cost Sheet',
274
+ name: 'Quotation',
275
+ logo: '/admin/quotation.png',
276
+ label: 'Quotation',
276
277
  description: 'รายรับรายจ่ายงบประมาณโครงการ',
277
- to: routes.costSheet.overview.to,
278
+ to: routes.quotation.quotations.home.to,
278
279
  status: StatusPortal.ACTIVE,
279
280
  },
280
281
  ]
281
282
  : []),
282
-
283
- ...(auth.hasPermission(UserModule.QUOTATION, Permission.USER, Permission.ADMIN)
283
+ ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
284
284
  ? [
285
285
  {
286
- name: 'Quotation',
287
- logo: '/admin/quotation.png',
288
- label: 'Quotation',
286
+ name: 'Cost Sheet',
287
+ logo: '/admin/cost-sheet.png',
288
+ label: 'Cost Sheet',
289
289
  description: 'รายรับรายจ่ายงบประมาณโครงการ',
290
- to: routes.quotation.quotations.home.to,
291
- status: StatusPortal.ACTIVE,
290
+ to: routes.costSheet.overview.to,
291
+ status: StatusPortal.DEVELOPING,
292
292
  },
293
293
  ]
294
294
  : []),
295
-
296
295
  ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
297
296
  ? [
298
297
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "0.2.98",
4
+ "version": "0.2.99",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",