Compare commits

..

20 commits

Author SHA1 Message Date
487aa7d61f add dev docker 2024-11-03 20:58:10 +01:00
4dbe364e6d assigned ticket button is pre selected and deisabled if selected person == asigned person 2024-11-03 20:57:55 +01:00
24bd2bdd0a state button has the state pre selected 2024-11-03 20:57:55 +01:00
cf48428a4c disable Assigned Ticket butten in ticket view until they would actually do something 2024-11-03 20:57:55 +01:00
c0388e2b54 stash 2024-11-03 19:31:12 +01:00
a7af4f9cdd add dev docker 2024-11-03 19:24:14 +01:00
98dfc33385 stash events admin frontend 2024-11-03 19:24:10 +01:00
37da5b38b1 stash 2024-11-03 19:23:53 +01:00
fe2f8b3b05 stash 2024-11-03 19:23:53 +01:00
e81bf94dc1 stash 2024-11-03 19:23:53 +01:00
165bec6496 stash 2024-11-03 19:23:53 +01:00
03f21feb2f stash 2024-11-03 19:23:53 +01:00
e58779b98f stash 2024-11-03 19:23:53 +01:00
40184f12ee stash 2024-11-03 19:23:53 +01:00
4d8406bd7c stash 2024-11-03 19:23:53 +01:00
1cfeb34a4c stash 2024-11-03 19:23:53 +01:00
bbbc6869c1 stash 2024-11-03 19:23:53 +01:00
dbeb9f4116 stash 2024-11-03 19:23:53 +01:00
bcc056e451 stash 2024-11-03 19:23:49 +01:00
dffd3531fa add form to create new event 2024-11-02 22:12:00 +01:00
4 changed files with 27 additions and 4 deletions

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "web/extras"]
path = web/extras
url = https://git.neulandlabor.de/j3d1/vue-extras.git

View file

@ -0,0 +1,20 @@
# Generated by Django 4.2.7 on 2024-11-03 18:30
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('inventory', '0004_alter_event_created_at_alter_item_created_at'),
('mail', '0004_alter_emailattachment_file'),
]
operations = [
migrations.AlterField(
model_name='eventaddress',
name='event',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='addresses', to='inventory.event'),
),
]

View file

@ -4,11 +4,11 @@ services:
context: ../../core
dockerfile: ../deploy/dev/Dockerfile.backend
command: bash -c 'python manage.py migrate && python manage.py runserver 0.0.0.0:8000'
#environment:
environment:
- HTTP_HOST=core
#- DATABASE_URL
volumes:
- ../../core:/code
- ./.backend.env:/code/.env
ports:
- "8000:8000"

View file

@ -66,7 +66,7 @@ export default {
methods: {
...mapActions(['createEvent']),
validate_data() {
return this.pre_start <= this.start && this.start <= this.end && this.end <= this.post_end && !!this.event_slug && !!this.event_name;
return this.pre_start <= this.start && this.start <= this.end && this.end <= this.post_end && !!this.slug && !!this.name;
},
prepare_date_field(e) {
if (!e.target.value) {