fix: some minor changes

This commit is contained in:
yogesh_gohil
2021-12-01 17:53:26 +05:30
parent e16e4c6d52
commit cfc7e2231c
5 changed files with 40 additions and 45 deletions

View File

@ -189,29 +189,29 @@
<!-- Starts at -->
<template #cell-starts_at="{ row }">
{{ row.data.formatted_starts_at }}
{{ row.data.formatted_starts_at }}
</template>
<!-- Customer -->
<template #cell-customer="{ row }">
<router-link
:to="{ path: `recurring-invoices/${row.data.id}/view` }"
>
<BaseText
:text="row.data.customer.name"
:length="30"
tag="span"
class="font-medium text-primary-500 flex flex-col"
>
{{ row.data.customer.name }}
</BaseText>
<BaseText
:text="row.data.customer.contact_name ? row.data.customer.contact_name: ''"
:length="30"
tag="span"
class="text-xs text-gray-400"
/>
<router-link :to="{ path: `recurring-invoices/${row.data.id}/view` }">
<BaseText
:text="row.data.customer.name"
:length="30"
tag="span"
class="font-medium text-primary-500 flex flex-col"
/>
<BaseText
:text="
row.data.customer.contact_name
? row.data.customer.contact_name
: ''
"
:length="30"
tag="span"
class="text-xs text-gray-400"
/>
</router-link>
</template>