feat: add request cancel badge

This commit is contained in:
Methapon2001 2025-03-05 15:41:59 +07:00 committed by Methapon Metanipat
parent fadbe34ccf
commit 9e7d67fb6c
4 changed files with 16 additions and 0 deletions

View file

@ -183,6 +183,15 @@ function getEmployeeName(
$t(`requestList.status.${props.row.requestDataStatus}`) || '-'
"
/>
<BadgeComponent
v-if="
props.row.customerRequestCancel &&
props.row.requestDataStatus !== RequestDataStatus.Canceled
"
:hsla-color="'--red-5-hsl'"
class="q-ml-sm"
:title="$t(`requestList.status.CancelRequested`) || '-'"
/>
</q-td>
<q-td class="text-right">
<q-btn