Updated Events form
This commit is contained in:
parent
86c03fa5d9
commit
3d54de7976
1 changed files with 80 additions and 51 deletions
|
|
@ -176,22 +176,29 @@
|
||||||
<q-dialog v-model="formDialog.show" position="top">
|
<q-dialog v-model="formDialog.show" position="top">
|
||||||
<q-card class="q-pa-lg q-pt-xl lnbits__dialog-card">
|
<q-card class="q-pa-lg q-pt-xl lnbits__dialog-card">
|
||||||
<q-form @submit="sendEventData" class="q-gutter-md">
|
<q-form @submit="sendEventData" class="q-gutter-md">
|
||||||
<q-select
|
<div class="row">
|
||||||
filled
|
<div class="col">
|
||||||
dense
|
<q-input
|
||||||
emit-value
|
filled
|
||||||
v-model="formDialog.data.wallet"
|
dense
|
||||||
:options="g.user.walletOptions"
|
v-model.trim="formDialog.data.name"
|
||||||
label="Wallet *"
|
type="name"
|
||||||
>
|
label="Title of event "
|
||||||
</q-select>
|
></q-input>
|
||||||
<q-input
|
</div>
|
||||||
filled
|
<div class="col q-pl-sm">
|
||||||
dense
|
<q-select
|
||||||
v-model.trim="formDialog.data.name"
|
filled
|
||||||
type="name"
|
dense
|
||||||
label="Name of event "
|
emit-value
|
||||||
></q-input>
|
v-model="formDialog.data.wallet"
|
||||||
|
:options="g.user.walletOptions"
|
||||||
|
label="Wallet *"
|
||||||
|
>
|
||||||
|
</q-select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<q-input
|
<q-input
|
||||||
filled
|
filled
|
||||||
dense
|
dense
|
||||||
|
|
@ -199,41 +206,63 @@
|
||||||
type="textarea"
|
type="textarea"
|
||||||
label="Info about the event "
|
label="Info about the event "
|
||||||
></q-input>
|
></q-input>
|
||||||
<q-input
|
<div class="row">
|
||||||
filled
|
<div class="col-4">Ticket closing date</div>
|
||||||
dense
|
<div class="col-8">
|
||||||
v-model.trim="formDialog.data.closing_date"
|
<q-input
|
||||||
type="date"
|
filled
|
||||||
label="Closing for tickets "
|
dense
|
||||||
></q-input>
|
v-model.trim="formDialog.data.closing_date"
|
||||||
<q-input
|
type="date"
|
||||||
filled
|
></q-input>
|
||||||
dense
|
</div>
|
||||||
v-model.trim="formDialog.data.event_start_date"
|
</div>
|
||||||
type="date"
|
|
||||||
label="Event begins "
|
<div class="row">
|
||||||
></q-input>
|
<div class="col-4">Event begins</div>
|
||||||
<q-input
|
<div class="col-8">
|
||||||
filled
|
<q-input
|
||||||
dense
|
filled
|
||||||
v-model.trim="formDialog.data.event_end_date"
|
dense
|
||||||
type="date"
|
v-model.trim="formDialog.data.event_start_date"
|
||||||
label="Event ends "
|
type="date"
|
||||||
></q-input>
|
></q-input>
|
||||||
<q-input
|
</div>
|
||||||
filled
|
</div>
|
||||||
dense
|
|
||||||
v-model.number="formDialog.data.amount_tickets"
|
<div class="row">
|
||||||
type="number"
|
<div class="col-4">Event ends</div>
|
||||||
label="Amount of tickets "
|
<div class="col-8">
|
||||||
></q-input>
|
<q-input
|
||||||
<q-input
|
filled
|
||||||
filled
|
dense
|
||||||
dense
|
v-model.trim="formDialog.data.event_end_date"
|
||||||
v-model.number="formDialog.data.price_per_ticket"
|
type="date"
|
||||||
type="number"
|
></q-input>
|
||||||
label="Price per ticket "
|
</div>
|
||||||
></q-input>
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col">
|
||||||
|
<q-input
|
||||||
|
filled
|
||||||
|
dense
|
||||||
|
v-model.number="formDialog.data.amount_tickets"
|
||||||
|
type="number"
|
||||||
|
label="Amount of tickets "
|
||||||
|
></q-input>
|
||||||
|
</div>
|
||||||
|
<div class="col q-pl-sm">
|
||||||
|
<q-input
|
||||||
|
filled
|
||||||
|
dense
|
||||||
|
v-model.number="formDialog.data.price_per_ticket"
|
||||||
|
type="number"
|
||||||
|
label="Price per ticket "
|
||||||
|
></q-input>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="row q-mt-lg">
|
<div class="row q-mt-lg">
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="formDialog.data.id"
|
v-if="formDialog.data.id"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue