From 97383b2764e81ae9bf00bcdefdfe5b4ef33054fc Mon Sep 17 00:00:00 2001 From: mayar osama Date: Tue, 30 Jan 2024 17:12:09 +0200 Subject: [PATCH 1/5] vacation card enhancments --- client/src/components/cards/holidayCard.vue | 1 - client/src/components/cards/vacationCard.vue | 50 +++++++------------- 2 files changed, 18 insertions(+), 33 deletions(-) diff --git a/client/src/components/cards/holidayCard.vue b/client/src/components/cards/holidayCard.vue index baad11c7..97f7fa73 100644 --- a/client/src/components/cards/holidayCard.vue +++ b/client/src/components/cards/holidayCard.vue @@ -3,7 +3,6 @@
mdi-close
-
expired

{{ holiday.location.country }}

diff --git a/client/src/components/cards/vacationCard.vue b/client/src/components/cards/vacationCard.vue index ebb576e1..9cf65407 100644 --- a/client/src/components/cards/vacationCard.vue +++ b/client/src/components/cards/vacationCard.vue @@ -9,12 +9,11 @@ vacation.end_date }} vacation
- - Update - Delete - - + + Update + Delete + @@ -28,18 +27,7 @@ - - mdi-account - Approval User - - - - {{ vacation.approval_user ? vacation.approval_user : "Under approving" }} - - - {{ vacation.approval_user.email ? vacation.approval_user.email : "Under approving" }} - @@ -51,7 +39,7 @@ + label="From" v-model="startDate" :readonly="!couldUpdate" type="date"> @@ -63,7 +51,7 @@ + label="To" v-model="endDate" :readonly="!couldUpdate" type="date" :rules="[validateEndDate]"> @@ -78,7 +66,7 @@ + :readonly="!couldUpdate"> @@ -91,13 +79,6 @@ - - Cancel - - Submit - - - @@ -111,7 +92,7 @@