feat: add resend email button to ticket list (#51)
- resending only possible when ticket is paid.
This commit is contained in:
parent
6768b78c6f
commit
4bf867eef0
5 changed files with 111 additions and 13 deletions
|
|
@ -171,10 +171,12 @@
|
|||
>
|
||||
<template v-slot:header="props">
|
||||
<q-tr :props="props">
|
||||
<q-th auto-width></q-th>
|
||||
<q-th auto-width></q-th>
|
||||
<q-th v-for="col in props.cols" :key="col.name" :props="props">
|
||||
<span v-text="col.label"></span>
|
||||
</q-th>
|
||||
<q-th auto-width></q-th>
|
||||
</q-tr>
|
||||
</template>
|
||||
<template v-slot:body="props">
|
||||
|
|
@ -191,6 +193,20 @@
|
|||
target="_blank"
|
||||
></q-btn>
|
||||
</q-td>
|
||||
<q-td auto-width>
|
||||
<q-btn
|
||||
flat
|
||||
dense
|
||||
size="xs"
|
||||
@click="resendTicketEmail(props.row)"
|
||||
icon="email"
|
||||
color="primary"
|
||||
:disable="!props.row.paid || !props.row.email"
|
||||
:loading="resendingTicketEmails.includes(props.row.id)"
|
||||
>
|
||||
<q-tooltip>Resend ticket email</q-tooltip>
|
||||
</q-btn>
|
||||
</q-td>
|
||||
|
||||
<q-td v-for="col in props.cols" :key="col.name" :props="props">
|
||||
<span v-text="col.value"></span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue