various small changes and fixes

This commit is contained in:
2023-08-19 13:35:46 +02:00
parent 6051b18796
commit 71a2927372
11 changed files with 35 additions and 15 deletions

View File

@@ -230,7 +230,6 @@ export default {
}
},
methods: {
// TODO: Load categories from server
loadInternal () {
for ( let value in this.draggables ) {
this.internal[ value ] = {};

View File

@@ -162,7 +162,7 @@
}
this.seatChecks();
// TODO: Trim scroll box to about 200px more than seatplan size
// TODO: FUTURE Trim scroll box to about 200px more than seatplan size
sessionStorage.setItem( 'seatplan', JSON.stringify( this.scaleDown( this.draggables ) ) );
window.addEventListener( 'visibilitychange', ( e ) => {
this.seatPlanInit();

View File

@@ -10,8 +10,8 @@
<template>
<div>
<!-- <h2>Setup check</h2> -->
<!-- TODO: Maybe add -->
<!-- TODO: call config check of payment + check if events are deployed -->
<!-- TODO: FUTURE add -->
<!-- call config check of payment + check if events are deployed -->
<h2>Settings</h2>
<p>Changing any of these settings requires a restart of libreevent.</p>
<p>Currency codes used must be valid ISO 4217 codes. Read more on <a href="https://libreevent.janishutz.com/docs/admin-panel/settings#currency" target="_blank">this page</a> of the documentation <!-- https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes"--></p>
@@ -269,7 +269,6 @@
}
};
// TODO: Load gateways and settings in general from server.
</script>

View File

@@ -12,7 +12,7 @@
<h2>Event analytics</h2>
<p>Get insights into tickets sold, people checked in, available tickets, revenue, etc, in real time!</p>
<p>Coming soon! (in the next major update)</p>
<!-- TODO: Add toggle for real-time update (gets live updates from sse) -->
<!-- TODO: FUTURE Add toggle for real-time update (gets live updates from sse) -->
<!-- Use chart.js for visualisations -->
</div>
</template>

View File

@@ -192,7 +192,6 @@
import notifications from '@/components/notifications/notifications.vue';
import popups from '@/components/notifications/popups.vue';
import PictureInput from 'vue-picture-input';
// TODO: Save info if draft or live
export default {
name: 'TicketsDetailsView',

View File

@@ -236,7 +236,7 @@ export default {
},
methods: {
loadData () {
// TODO: Also load the customer data from server!
// TODO: FUTURE Also load the customer data from server!
this.cartNotEmpty = false;
let cart = JSON.parse( localStorage.getItem( 'cart' ) );