Skip to content

Commit

Permalink
Improvements: Refactored the code and remove unneeded duplicated code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmoud-Emad committed Mar 4, 2024
1 parent 5285f03 commit 02a2c0b
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions client/src/components/SetUserVacations.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,48 +59,6 @@
</p>
</div>
</template>
<!-- <div class="reason mb-2">
<div class="d-flex">
<div class="dot" />
<h4 class="mb-2">Emergency Leaves</h4>
</div>
<p class="ml-5">
<v-chip class="mr-3" color="green">
All: {{ userBalance.emergency_leaves.all }}
</v-chip>
<v-chip class="mr-3" color="yellow">
Reserved: {{ userBalance.emergency_leaves.reserved }}
</v-chip>
</p>
</div>
<div class="reason mb-2">
<div class="d-flex">
<div class="dot" />
<h4 class="mb-2">Excuses Leaves</h4>
</div>
<p class="ml-5">
<v-chip class="mr-3" color="green">
All: {{ userBalance.leave_excuses.all }}
</v-chip>
<v-chip class="mr-3" color="yellow">
Reserved: {{ userBalance.leave_excuses.reserved }}
</v-chip>
</p>
</div>
<div class="reason mb-2">
<div class="d-flex">
<div class="dot" />
<h4 class="mb-2">Compensations</h4>
</div>
<p class="ml-5">
<v-chip class="mr-3" color="green">
All: {{ userBalance.compensation.all }}
</v-chip>
<v-chip class="mr-3" color="yellow">
Reserved: {{ userBalance.compensation.reserved }}
</v-chip>
</p>
</div> -->
</v-card>
</v-card>
</template>
Expand Down

0 comments on commit 02a2c0b

Please sign in to comment.