diff --git a/src/modules/timesheet-approval/components/graphs/timesheet-approval-employee-expenses-chart.vue b/src/modules/timesheet-approval/components/graphs/timesheet-approval-employee-expenses-chart.vue index 9382ccd..7d78a9c 100644 --- a/src/modules/timesheet-approval/components/graphs/timesheet-approval-employee-expenses-chart.vue +++ b/src/modules/timesheet-approval/components/graphs/timesheet-approval-employee-expenses-chart.vue @@ -32,12 +32,12 @@ expenses_dataset.value = [ { - label: t('timeSheet.refund'), + label: t('timesheet.refund'), data: all_costs, backgroundColor: getComputedStyle(document.body).getPropertyValue('--q-primary').trim(), }, { - label: t('timeSheet.mileage'), + label: t('timesheet.mileage'), data: all_mileage, backgroundColor: getComputedStyle(document.body).getPropertyValue('--q-info').trim(), } diff --git a/src/modules/timesheet-approval/pages/timesheet-approval-employee-details.vue b/src/modules/timesheet-approval/pages/timesheet-approval-employee-details.vue index 048b5a7..94c8f5c 100644 --- a/src/modules/timesheet-approval/pages/timesheet-approval-employee-details.vue +++ b/src/modules/timesheet-approval/pages/timesheet-approval-employee-details.vue @@ -40,16 +40,16 @@ import { colors } from 'quasar'; const shift_type_legend: shiftColor[] = [ { - type: t('timeSheet.shiftRegular'), + type: t('timesheet.shift_types.REGULAR'), color: 'secondary', text_color: 'grey-8', }, { - type: t('timeSheet.shiftEvening'), + type: t('timesheet.shift_types.EVENING'), color: 'warning', }, { - type: t('timeSheet.shiftEmergency'), + type: t('timesheet.shift_types.EMERGENCY'), color: 'amber-10', }, { @@ -57,15 +57,15 @@ import { colors } from 'quasar'; color: 'negative', }, { - type: t('timeSheet.shiftVacation'), + type: t('timesheet.shift_types.VACATION'), color: 'purple-10', }, { - type: t('timeSheet.shiftHoliday'), + type: t('timesheet.shift_types.HOLIDAY'), color: 'purple-8', }, { - type: t('timeSheet.shiftSick'), + type: t('timesheet.shift_types.SICK'), color: 'grey-8', }, ] diff --git a/src/modules/timesheet-approval/pages/timesheet-approval.vue b/src/modules/timesheet-approval/pages/timesheet-approval.vue index c924c24..a9fa76a 100644 --- a/src/modules/timesheet-approval/pages/timesheet-approval.vue +++ b/src/modules/timesheet-approval/pages/timesheet-approval.vue @@ -48,7 +48,7 @@ class="text-grey-8 text-uppercase q-mx-md" :class="$q.screen.lt.md ? 'text-weight-medium text-caption' : 'text-weight-bold'" > - {{ $t('timeSheet.dateRangesTo') }} + {{ $t('timesheet.dateRangesTo') }}