feat: refs #8304 added remove option to operator #1195

Merged
jtubau merged 27 commits from 8304-workerChangesAndFixes into dev 2025-02-05 12:25:27 +00:00
1 changed files with 13 additions and 29 deletions
Showing only changes of commit 5ec1d7d311 - Show all commits

View File

@ -194,35 +194,19 @@ watch([year, businessFk], () => refreshData());
</template>
</RightMenu>
<Teleport to="#st-data" v-if="stateStore.isSubToolbarShown()">
<div>
<VnNotes
:just-input="true"
:url="`Workers/${route.params.id}/business`"
:filter="{ fields: ['id', 'notes', 'workerFk'] }"
:save-url="saveUrl"
@on-fetch="
(data) => {
saveUrl = `Businesses/${data[0].id}`;
}
"
:body="body"
:required="false"
/>
<VnNotes
v-if="canSeeNotes"
:just-input="true"
:url="`Workers/${route.params.id}/business`"
:filter="{ fields: ['id', 'notes', 'workerFk'] }"
:save-url="saveUrl"
@on-fetch="
(data) => {
saveUrl = `Businesses/${data[0].id}`;
}
"
:body="body"
:required="false"
/>
</div>
<VnNotes
:just-input="true"
:url="`Workers/${route.params.id}/business`"
:filter="{ fields: ['id', 'notes', 'workerFk'] }"
:save-url="saveUrl"
@on-fetch="
(data) => {
saveUrl = `Businesses/${data[0].id}`;
}
"
:body="body"
:required="false"
/>
</Teleport>
<QPage class="column items-center">
<QCard v-if="workerIsFreelance">