- transaction type for metered billing in transaction tables

This commit is contained in:
Čarodej
2021-12-23 17:12:51 +01:00
parent f88ed999c5
commit 0194e546fd
9 changed files with 99 additions and 42 deletions

View File

@@ -33,9 +33,12 @@
</span>
</td>
<td>
<ColorLabel :color="$getTransactionStatusColor(row.data.attributes.status)">
<ColorLabel v-if="config.subscriptionType === 'fixed'" :color="$getTransactionStatusColor(row.data.attributes.status)">
{{ row.data.attributes.status }}
</ColorLabel>
<ColorLabel v-if="config.subscriptionType === 'metered'" :color="$getTransactionTypeColor(row.data.attributes.type)">
{{ row.data.attributes.type }}
</ColorLabel>
</td>
<td>
<span class="text-sm font-bold" :class="$getTransactionTypeTextColor(row.data.attributes.type)">