hide billable rate in projects table for employees when employees_can_see_billable_rates is disabled

This commit is contained in:
Gregor Vostrak
2024-10-01 22:23:45 +02:00
committed by Constantin Graf
parent 6c7b1b3f21
commit 8d950c6d45
4 changed files with 40 additions and 19 deletions

View File

@@ -1,5 +1,8 @@
<script setup lang="ts">
import TableHeading from '@/Components/Common/TableHeading.vue';
defineProps<{
showBillableRate: boolean;
}>();
</script>
<template>
@@ -15,7 +18,9 @@ import TableHeading from '@/Components/Common/TableHeading.vue';
<div class="px-3 py-1.5 text-left font-semibold text-white">
Progress
</div>
<div class="px-3 py-1.5 text-left font-semibold text-white">
<div
class="px-3 py-1.5 text-left font-semibold text-white"
v-if="showBillableRate">
Billable Rate
</div>
<div class="px-3 py-1.5 text-left font-semibold text-white">Status</div>