This commit is contained in:
Viet An
2026-07-02 16:20:37 +07:00
parent 6d9dce38cb
commit 5e6cb7a551
10 changed files with 463 additions and 419 deletions

View File

@@ -45,12 +45,23 @@ const activeTab = ref(tabs[0]);
<template>
<div v-if="invoice">
<div class="block">
<div class="is-flex is-gap-1.5 is-align-items-center">
<div class="is-flex is-align-items-center">
<span class="fs-17 font-bold">{{ invoice.code }}</span>
<button
class="button size-7 ml-1.5 is-primary is-light is-small p-0 rounded-full"
@click="$copyToClipboard(invoice.code)"
>
<span class="icon">
<Icon
name="material-symbols:content-copy-outline-rounded"
:size="16"
/>
</span>
</button>
<span
:class="[
'tag rounded-full',
`has-background-${invoice.invoice_status__color}-80 has-text-${invoice.invoice_status__color}-25`,
'tag rounded-full ml-3',
`has-background-${invoice.invoice_status__color}-90 has-text-${invoice.invoice_status__color}-25`,
]"
>
{{ invoice.invoice_status__name }}