From 8b4fcbd888bd5b5fcc25c05a93cb0fe152976d38 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Thu, 29 Aug 2024 15:30:09 +0200 Subject: [PATCH] feat: CustomerGreuges --- src/pages/Customer/Card/CustomerGreuges.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/Customer/Card/CustomerGreuges.vue b/src/pages/Customer/Card/CustomerGreuges.vue index 12173727f..2909bcaaf 100644 --- a/src/pages/Customer/Card/CustomerGreuges.vue +++ b/src/pages/Customer/Card/CustomerGreuges.vue @@ -52,9 +52,8 @@ const columns = computed(() => [ component: 'userLink', attrs: ({ row }) => { return { - defaultName: true, workerId: row.user?.id, - name: row.user?.name, + tag: row.user?.name, }; }, }, @@ -73,6 +72,7 @@ const columns = computed(() => [ columnCreate: { component: 'select', url: 'greugeTypes', + sortBy: 'name ASC ', limit: 0, }, }, @@ -107,7 +107,7 @@ const setRows = (data) => { @on-fetch="(data) => setRows(data)" :create="{ urlCreate: `Greuges`, - title: t('New credit'), + title: t('New greuge'), onDataSaved: () => tableRef.reload(), formInitialData: { shipped: new Date(), clientFk: route.params.id }, }"