feat: count product type, service, product

This commit is contained in:
puriphatt 2024-07-01 04:49:11 +00:00
parent 51e8d2897e
commit 962b69baf6
3 changed files with 14 additions and 4 deletions

View file

@ -12,6 +12,9 @@ withDefaults(
isType?: boolean;
id?: string;
isDisabled?: boolean;
countType?: number;
countProduct?: number;
countService?: number;
}>(),
{
color: 'var(--brand-1)',
@ -159,21 +162,21 @@ withDefaults(
style="border-radius: 5px"
>
<div><q-icon name="mdi-folder-table" /></div>
<div>10</div>
<div>{{ countType }}</div>
</div>
<div
class="col-3 bordered row justify-between q-px-sm rounded no-wrap"
style="border-radius: 5px"
>
<div><q-icon name="mdi-server-network" /></div>
<div>10</div>
<div>{{ countService }}</div>
</div>
<div
class="col-3 bordered row justify-between q-px-sm rounded no-wrap"
style="border-radius: 5px"
>
<div><q-icon name="mdi-shopping" /></div>
<div>10</div>
<div>{{ countProduct }}</div>
</div>
</div>
</div>