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

@@ -9,7 +9,10 @@ const props = defineProps({
<template>
<div class="is-flex is-flex-direction-column is-gap-2">
<div
class="p-4 rounded-md has-background-primary-95 is-flex is-justify-content-space-between is-align-items-center"
v-if="invoice.delivery"
class="p-4 rounded-md is-flex is-justify-content-space-between is-align-items-center"
:class="`has-background-${invoice.delivery__delivery_status__color}-95`"
:style="{ border: `1px solid var(--bulma-${invoice.delivery__delivery_status__color}-80)` }"
>
<div>
<p class="fs-14 has-text-grey-40"> giao hàng</p>
@@ -28,7 +31,10 @@ const props = defineProps({
</button>
</p>
</div>
<p class="font-medium has-text-primary-50">
<p
class="font-medium"
:class="`has-text-${invoice.delivery__delivery_status__color}-40`"
>
{{ capitalize(invoice.delivery__delivery_status__name) }}
</p>
</div>