added logo to the transaction service

This commit is contained in:
Čarodej
2021-11-25 07:03:01 +01:00
parent 9503ecbd79
commit 4e069b98f6
28 changed files with 79 additions and 140 deletions

View File

@@ -15,21 +15,6 @@
{{ row.data.attributes.plan_name }}
</span>
</td>
<td>
<ColorLabel color="purple">
{{ row.data.attributes.status }}
</ColorLabel>
</td>
<td>
<span class="text-sm font-bold">
{{ row.data.attributes.price }}
</span>
</td>
<td>
<span class="text-sm font-bold">
{{ row.data.attributes.created_at }}
</span>
</td>
<td>
<div class="flex items-center">
<MemberAvatar
@@ -47,11 +32,24 @@
</div>
</div>
</td>
<td class="text-right">
<span class="text-sm font-bold w-full">
{{ row.data.attributes.driver }}
<td>
<ColorLabel color="purple">
{{ row.data.attributes.status }}
</ColorLabel>
</td>
<td>
<span class="text-sm font-bold">
{{ row.data.attributes.price }}
</span>
</td>
<td>
<span class="text-sm font-bold">
{{ row.data.attributes.created_at }}
</span>
</td>
<td class="text-right">
<img class="inline-block max-h-5" :src="$getPaymentLogo(row.data.attributes.driver)" :alt="row.data.attributes.driver">
</td>
</tr>
</template>
</DatatableWrapper>
@@ -136,6 +134,11 @@
field: 'plan_name',
sortable: true
},
{
label: this.$t('User'),
field: 'user',
sortable: true
},
{
label: this.$t('Status'),
field: 'status',
@@ -151,11 +154,6 @@
field: 'created_at',
sortable: true
},
{
label: this.$t('User'),
field: 'user',
sortable: true
},
{
label: this.$t('Service'),
sortable: true

View File

@@ -30,9 +30,7 @@
</span>
</td>
<td class="text-right">
<span class="text-sm font-bold w-full">
{{ row.data.attributes.driver }}
</span>
<img class="inline-block max-h-5" :src="$getPaymentLogo(row.data.attributes.driver)" :alt="row.data.attributes.driver">
</td>
</tr>
</template>