mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -04:00
fix: some minor changes
This commit is contained in:
@ -23,9 +23,11 @@
|
|||||||
@click.stop
|
@click.stop
|
||||||
>
|
>
|
||||||
<div class="flex relative justify-between mb-2">
|
<div class="flex relative justify-between mb-2">
|
||||||
<label class="flex-1 text-base font-medium text-left text-gray-900">
|
<BaseText
|
||||||
{{ selectedCustomer.name }}
|
:text="selectedCustomer.name"
|
||||||
</label>
|
:length="30"
|
||||||
|
class="flex-1 text-base font-medium text-left text-gray-900"
|
||||||
|
/>
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<a
|
<a
|
||||||
class="
|
class="
|
||||||
|
|||||||
@ -149,17 +149,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #cell-name="{ row }">
|
<template #cell-name="{ row }">
|
||||||
<router-link
|
<router-link :to="{ path: `customers/${row.data.id}/view` }">
|
||||||
:to="{ path: `customers/${row.data.id}/view` }"
|
|
||||||
>
|
|
||||||
<BaseText
|
<BaseText
|
||||||
:text="row.data.name"
|
:text="row.data.name"
|
||||||
:length="30"
|
:length="30"
|
||||||
tag="span"
|
tag="span"
|
||||||
class="font-medium text-primary-500 flex flex-col"
|
class="font-medium text-primary-500 flex flex-col"
|
||||||
>
|
/>
|
||||||
{{ row.data.name }}
|
|
||||||
</BaseText>
|
|
||||||
<BaseText
|
<BaseText
|
||||||
:text="row.data.contact_name ? row.data.contact_name : ''"
|
:text="row.data.contact_name ? row.data.contact_name : ''"
|
||||||
:length="30"
|
:length="30"
|
||||||
|
|||||||
@ -197,10 +197,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #cell-name="{ row }">
|
<template #cell-name="{ row }">
|
||||||
<BaseText
|
<BaseText :text="row.data.customer.name" :length="30" />
|
||||||
:text="row.data.customer.name"
|
|
||||||
:length="30"
|
|
||||||
/>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #cell-status="{ row }">
|
<template #cell-status="{ row }">
|
||||||
|
|||||||
@ -187,7 +187,7 @@
|
|||||||
|
|
||||||
<template #cell-user_name="{ row }">
|
<template #cell-user_name="{ row }">
|
||||||
<BaseText
|
<BaseText
|
||||||
:text="row.data.customer ? row.data.customer.name : '-' "
|
:text="row.data.customer ? row.data.customer.name : '-'"
|
||||||
:length="30"
|
:length="30"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -194,20 +194,20 @@
|
|||||||
|
|
||||||
<!-- Customer -->
|
<!-- Customer -->
|
||||||
<template #cell-customer="{ row }">
|
<template #cell-customer="{ row }">
|
||||||
<router-link
|
<router-link :to="{ path: `recurring-invoices/${row.data.id}/view` }">
|
||||||
:to="{ path: `recurring-invoices/${row.data.id}/view` }"
|
|
||||||
>
|
|
||||||
<BaseText
|
<BaseText
|
||||||
:text="row.data.customer.name"
|
:text="row.data.customer.name"
|
||||||
:length="30"
|
:length="30"
|
||||||
tag="span"
|
tag="span"
|
||||||
class="font-medium text-primary-500 flex flex-col"
|
class="font-medium text-primary-500 flex flex-col"
|
||||||
>
|
/>
|
||||||
{{ row.data.customer.name }}
|
|
||||||
</BaseText>
|
|
||||||
|
|
||||||
<BaseText
|
<BaseText
|
||||||
:text="row.data.customer.contact_name ? row.data.customer.contact_name: ''"
|
:text="
|
||||||
|
row.data.customer.contact_name
|
||||||
|
? row.data.customer.contact_name
|
||||||
|
: ''
|
||||||
|
"
|
||||||
:length="30"
|
:length="30"
|
||||||
tag="span"
|
tag="span"
|
||||||
class="text-xs text-gray-400"
|
class="text-xs text-gray-400"
|
||||||
|
|||||||
Reference in New Issue
Block a user