From ba44231e4fe22cef6a1f9e1c961263c91ec83c28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Gr=C3=B6ger?= Date: Thu, 4 Jun 2020 13:19:48 +0200 Subject: [PATCH] =?UTF-8?q?diensteinladung=20und=20=C3=BCbertragung=20fert?= =?UTF-8?q?ig.=20User=20k=C3=B6nnen=20leute=20einladen,=20sich=20austragen?= =?UTF-8?q?,=20jobs=20abgeben=20usw.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit user können sehen, wenn es neue nachrichten gibt und sehen ob die einladung bzw. anfrage gesehen wurde. --- .../user/JobRequests/JobInvites.vue | 85 +++++++++++++++++-- .../user/JobRequests/JobTransfer.vue | 49 +++++++---- src/components/user/Jobs.vue | 18 +++- src/components/user/Jobs/Day.vue | 81 ++++++++++++------ 4 files changed, 181 insertions(+), 52 deletions(-) diff --git a/src/components/user/JobRequests/JobInvites.vue b/src/components/user/JobRequests/JobInvites.vue index 47c5459..d0a5f0a 100644 --- a/src/components/user/JobRequests/JobInvites.vue +++ b/src/components/user/JobRequests/JobInvites.vue @@ -14,10 +14,12 @@
{{ jobInvite.on_date.getDate() }}.{{ - jobInvite.on_date.getMonth() + 1 + jobInvite.on_date.getMonth() + 1 }}.{{ jobInvite.on_date.getFullYear() }} von - {{ jobInvite.from_user.firstname }} - {{ jobInvite.from_user.lastname }} + + {{ jobInvite.from_user.firstname }} + {{ jobInvite.from_user.lastname }} +
@@ -49,6 +51,72 @@ :loading="jobInvite.day.loading" @addingJob="addingJob(jobInvite, $event)" @deletingJob="deletingJob(jobInvite, $event)" + @sendInvites="setJobInvites" + @sendRequests="setJobRequests" + @deleteJobInvite="deleteInvite" + @deleteJobRequest="deleteRequest" + /> + + + + + + + + Versendete Einladungen + + + + + + +
+ {{ jobInvite.on_date.getDate() }}.{{ + jobInvite.on_date.getMonth() + 1 + }}.{{ jobInvite.on_date.getFullYear() }} an + + {{ jobInvite.to_user.firstname }} + {{ jobInvite.to_user.lastname }} + +
+ + + + + + + {{ check }} + + + +
+ + + + + + {{trashCan}} + + + + +
@@ -60,7 +128,7 @@