|
|
@@ -119,6 +119,18 @@
|
|
|
/>
|
|
|
</q-td>
|
|
|
</template>
|
|
|
+
|
|
|
+ <template #body-cell-first_access_at="{ row }">
|
|
|
+ <q-td class="text-center">
|
|
|
+ <q-badge
|
|
|
+ outline
|
|
|
+ :color="row.first_access_at ? 'positive' : 'grey-6'"
|
|
|
+ :label="row.first_access_at ? $t('common.status.yes') : $t('common.status.no')"
|
|
|
+ >
|
|
|
+ <q-tooltip v-if="row.first_access_at">{{ row.first_access_at }}</q-tooltip>
|
|
|
+ </q-badge>
|
|
|
+ </q-td>
|
|
|
+ </template>
|
|
|
</DefaultTableServerSide>
|
|
|
|
|
|
<q-separator class="q-my-xl" />
|
|
|
@@ -203,6 +215,13 @@ const columns = computed(() => [
|
|
|
sortable: true,
|
|
|
width: "10%",
|
|
|
},
|
|
|
+ {
|
|
|
+ name: "first_access_at",
|
|
|
+ label: t("associado.primeiro_acesso"),
|
|
|
+ field: "first_access_at",
|
|
|
+ align: "center",
|
|
|
+ width: "10%",
|
|
|
+ },
|
|
|
{
|
|
|
name: "actions",
|
|
|
label: t("common.terms.actions"),
|