fix: store failed orders also

This commit is contained in:
Vlad Stan 2023-07-04 12:11:42 +03:00
parent bb376b43f2
commit acc6ed45c5
3 changed files with 90 additions and 51 deletions

View file

@ -47,17 +47,17 @@
<strong>New order:</strong>
</div>
<div v-else-if="dm.message.type === 1">
<strong>Invoice sent for order: </strong>
<strong>Reply sent for order: </strong>
</div>
<div v-else-if="dm.message.type === 2">
<q-badge v-if="dm.message.paid" color="green">Paid </q-badge>
<q-badge v-if="dm.message.shipped" color="green">Shipped </q-badge>
<span v-text="dm.message.message"></span><br>
</div>
<div>
<span v-text="dm.message.id" @click="showOrderDetails(dm.message.id)"
class="cursor-pointer"></span>
<span v-text="dm.message.message"></span>
<q-badge color="orange">
<span v-text="dm.message.id" @click="showOrderDetails(dm.message.id)" class="cursor-pointer"></span>
</q-badge>
</div>
<q-badge @click="showMessageRawData(index)" class="cursor-pointer">...</q-badge>