mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-14 19:22:14 +01:00
remove billable_rate_update_time_entries flag and always update all time entries
This commit is contained in:
committed by
Constantin Graf
parent
1dc35f1f55
commit
7aab3d98fc
@@ -11,13 +11,13 @@ defineProps<{
|
||||
}>();
|
||||
|
||||
defineEmits<{
|
||||
submit: [billable_rate_update_time_entries: boolean];
|
||||
submit: [];
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<BillableRateModal
|
||||
@submit="(...args) => $emit('submit', ...args)"
|
||||
@submit="$emit('submit')"
|
||||
v-model:show="show"
|
||||
v-model:saving="saving"
|
||||
title="Update Project Billable Rate">
|
||||
|
||||
@@ -56,9 +56,7 @@ const currentClientName = computed(() => {
|
||||
return 'No Client';
|
||||
});
|
||||
|
||||
async function submitBillableRate(billableRateUpdateTimeEntries: boolean) {
|
||||
project.value.billable_rate_update_time_entries =
|
||||
billableRateUpdateTimeEntries;
|
||||
async function submitBillableRate() {
|
||||
await updateProject(props.originalProject.id, project.value);
|
||||
show.value = false;
|
||||
showBillableRateModal.value = false;
|
||||
|
||||
Reference in New Issue
Block a user